Installation Issue with R 3.6.3
MelvinYYY opened this issue · 3 comments
Hi Yihui,
I re-installed R and R studio this morning and tried to re-install all the packages as well. But when I try to install the xfun package, Rstuio return this error message below. I'm wondering if you can guide me to fix this issue?
Error message:
install.packages("xfun")
Installing package into ‘\jetparts/homefolders/myuan/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
xfun 0.12 0.13 FALSE
installing the source package ‘xfun’
trying URL 'https://cran.rstudio.com/src/contrib/xfun_0.13.tar.gz'
Content type 'application/x-gzip' length 63586 bytes (62 KB)
downloaded 62 KB
'\server_name\homefolders\myuan\Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
- installing source package 'xfun' ...
** package 'xfun' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in findpack(package, lib.loc) : there is no package called 'xfun'
Calls: -> findpack
Execution halted
ERROR: lazy loading failed for package 'xfun' - removing '\jetparts/homefolders/myuan/Documents/R/win-library/3.6/xfun'
Warning in install.packages :
installation of package ‘xfun’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\myuan\AppData\Local\Temp\2\RtmpKmHwN9\downloaded_packages’
Thanks,
Melvin
You can either wait for one day or two until the latest Windows binary package of xfun becomes available on CRAN, or continue to use the older version of xfun (install.packages('xfun', type = 'binary')
). Unless you really need the new functions in the latest version, you don't have to install the latest version right now.
You are welcome!