我正在运行Rscript
using crontab
。在该Rscript
命令中,我尝试googlesheets
使用library(googlesheets)
. 注意,我已经安装googlesheets
包已经安装了。
我收到此错误:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/sparavas/R/x86_64-pc-linux-gnu-library/3.2/purrr/libs/purrr.so':
/home/sparavas/R/x86_64-pc-linux-gnu-library/3.2/purrr/libs/purrr.so: ELF file OS ABI invalid
In addition: Warning message:
package 'googlesheets' was built under R version 3.2.3
Error: package or namespace load failed for 'googlesheets'
Execution halted
当我从终端运行相同的脚本时,我没有收到此错误。此错误仅在运行时出现crontab
。
我还尝试低于 sessionInfo (如果这可能有助于检测问题):
R version 3.2.0 (2015-04-16)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] methods stats graphics grDevices utils datasets base
other attached packages:
[1] devtools_1.11.1 reshape2_1.4.1 DIVER_0.1.1 hash_2.2.6
[5] dplyr_0.4.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.1 digest_0.6.8 withr_1.0.1 assertthat_0.1 R6_2.1.0
[6] plyr_1.8.2 DBI_0.3.1 magrittr_1.5 stringi_0.4-1 tools_3.2.0
[11] stringr_1.0.0 parallel_3.2.0 memoise_1.0.0
我也尝试重新安装包purrr
,,,dplyr
。googlesheets
请提出我所缺少的。
还有什么:
ELF 文件操作系统 ABI 无效
意思是?