我在本地计算机上安装sparklyr软件包时遇到此错误:
我也尝试安装开发版但得到同样的错误。
install.packages("sparklyr")
trying URL
'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/sparklyr_0.5.3.tgz'
Content type 'application/x-gzip' length 1025493 bytes (1001 KB)
downloaded 1001 KB
The downloaded binary packages are in
/var/folders/m8/y4hvcvrx4233n10636g64mlh0000gn/T//Rtmp12G7T0/downloaded_packages
library(sparklyr)
Error : object 'sql_build' not found whilst loading namespace 'sparklyr'
Error: package or namespace load failed for ‘sparklyr’
当我尝试安装开发版时,我得到了一个不同的错误:
devtools::install_github("rstudio/sparklyr")
Downloading GitHub repo rstudio/sparklyr@master
from URL https://api.github.com/repos/rstudio/sparklyr/zipball/master
Installing sparklyr
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ
--no-save --no-restore --quiet CMD \
INSTALL \
'/private/var/folders/m8/y4hvcvrx4233n10636g64mlh0000gn/T
/Rtmp12G7T0/devtools258834121166/rstudio-sparklyr-5817985' \
--library='/Library/Frameworks/R.framework/Versions/3.3/Resources/library' --
install-tests
* installing *source* package ‘sparklyr’ ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (sparklyr)
> library(sparklyr)
Error in get(Info[i, 1], envir = env) :
lazy-load database
'/Library/Frameworks/R.framework/Versions/3.3/Resources/library/
sparklyr/R/sparklyr.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘sparklyr’
任何帮助将不胜感激。
最佳,
阿尔比特