使用crontab运行Rscript时出错:ELF文件OS ABI无效

使用crontab运行Rscript时出错:ELF文件OS ABI无效,r,linux,crontab,rscript,r-googlesheets,R,Linux,Crontab,Rscript,R Googlesheets,我正在使用crontab运行一个Rscript。在该Rscript命令中,我试图使用library(googlesheets)加载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/li

我正在使用
crontab
运行一个
Rscript
。在该
Rscript
命令中,我试图使用
library(googlesheets)
加载
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(如果这有助于检测问题):

我还尝试重新安装了包
purr
dplyr
googlesheets
。请说明我遗漏了什么

还有什么是:

ELF文件操作系统ABI无效


意思是?

当我从终端运行sessionInfo()时,我看到正在使用R版本3.2.3,当cron选项卡运行sessionInfo()时,R版本是3.2.0,这与R版本有关吗?当我从终端运行sessionInfo()时,是否与R版本有关,我看到正在使用R版本3.2.3,当cron选项卡运行sessionInfo()时,R版本是3.2.0
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