我试图通过R Studio在R中安装软件包,但出现以下错误:
installing the source package ‘bizdays’
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 153k 100 153k 0 0 82372 0 0:00:01 0:00:01 --:--:-- 82393
/Library/Frameworks/R.framework/Resources/bin/R: line 261: /Library/Frameworks/R.framework/Resources/bin/exec/R: No such file or directory
/Library/Frameworks/R.framework/Resources/bin/R: line 261: exec: /Library/Frameworks/R.framework/Resources/bin/exec/R: cannot execute: No such file or directory
Warning in install.packages :
installation of package ‘bizdays’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/z9/vfdjnsxx5zv15kdvfdy65trh0000gn/T/RtmpvkSXSt/downloaded_packages’
我正在使用Mac OS。有人知道如何解决这个问题吗?