在R 3.6.3中安装data.table的问题(2020年10月)

时间:2020-10-06 08:26:40

标签: r data.table install.packages

我使用的Mac OS是Sierra 10.12.5。我在安装R软件包“ data.table”时遇到了麻烦,包括尝试通过install.packages(“ Hmisc”)或install.packages(“ data.table”)进行安装时。两者都导致:

end

然后,我尝试直接从以下位置的.zip进行安装:https://github.com/Rdatatable/data.table,但收到以下消息“不适用于R 3.6.3”:

installing to /Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-data.table/00new/data.table/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘data.table’ in library.dynam(lib, package, package.lib):
 shared object ‘datatable.so’ not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/data.table’

The downloaded source packages are in
    ‘/private/var/folders/bl/lgd7_j2j087f24tcly84xg580000gn/T/RtmpbM5EaD/downloaded_packages’
Warning message:
In install.packages("data.table") :
  installation of package ‘data.table’ had non-zero exit status

我尝试了该线程中的方法,但没有一个有效的方法:\:Problems installing data.table for R

对于我接下来可以尝试什么,或者在哪里可以访问专门针对R 3.6.3的data.table版本的任何建议?

0 个答案:

没有答案