最近,当我尝试从github安装R软件包时,出现以下错误:
> remotes::install_github('r-lib/vroom')
Downloading GitHub repo r-lib/vroom@master
tar (child): gzip: Cannot exec: Permission denied
tar (child): Error is not recoverable: exiting now
/RTools/bin/tar: Child returned status 2
/RTools/bin/tar: Error is not recoverable: exiting now
External tar failed with `--force-local`, trying without
tar (child): gzip: Cannot exec: Permission denied
tar (child): Error is not recoverable: exiting now
/RTools/bin/tar: Child returned status 2
/RTools/bin/tar: Error is not recoverable: exiting now
我已经安装了RTools并且可以访问:
> devtools::find_rtools(T)
Scanning R CMD config CC...
cc_path: P:/RTools/mingw_64/bin/gcc
Architecture doesn't match
Scanning path...
ls: P:\RTools\bin\ls.exe
gcc_path: P:\RTools\mingw_64\bin\gcc.exe
VERSION.txt
Rtools version 3.5.0.4
Version: 3.5
Found compatible gcc on path
[1] TRUE
我在Windows 7计算机上运行R 3.6.0,没有管理员权限。这个问题是最近才出现的,我不知道为什么。
谢谢您的帮助