在这方面非常新,所以如果我做了一些愚蠢的事情或错过了一步,我很抱歉!
在我公司允许我使用的 Windows 10 企业版 R 上运行的是:
R 版本 3.5.1 (2018-07-02) -- "Feather Spray" 版权所有 (C) 2018 The R Foundation for Statistical Computing
平台:x86_64-w64-mingw32/x64(64位)
运行中的文本是
install.packages('tinytex')
also installing the dependency 'xfun'
There are binary versions available but the source versions are later:
binary source needs_compilation
xfun 0.13 0.20 TRUE
tinytex 0.22 0.28 FALSE
Binaries will be installed
trying URL 'https://cran.ms.unimelb.edu.au/bin/windows/contrib/3.5/xfun_0.13.zip'
Content type 'application/zip' length 184719 bytes (180 KB)
downloaded 180 KB
package 'xfun' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\p1311516\AppData\Local\Temp\Rtmpu0Onn4\downloaded_packages
installing the source package 'tinytex'
trying URL 'https://cran.ms.unimelb.edu.au/src/contrib/tinytex_0.28.tar.gz'
Content type 'application/octet-stream' length 27595 bytes (26 KB)
downloaded 26 KB
In R CMD INSTALL
* installing *source* package 'tinytex' ...
** package 'tinytex' successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in `loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :`
namespace 'xfun' 0.13 is being loaded, but >= 0.19 is required
ERROR: lazy loading failed for package 'tinytex'
* removing 'C:/Program Files/R/R-3.5.1/library/tinytex'
The downloaded source packages are in
'C:\Users\p1311516\AppData\Local\Temp\Rtmpu0Onn4\downloaded_packages'
Warning message:
In install.packages("tinytex") :
installation of package 'tinytex' had non-zero exit status