安装 sparklyr 版本 0.8.4 时出错
Error installing sparklyr version 0.8.4
我正在尝试从以下 link https://github.com/rstudio/sparklyr/releases/tag/v0.8.4.
安装最新版本的 sparklyr“0.8.4”
install.packages("C:/Users/USER/Downloads/sparklyr-0.8.4.tar.gz", repos = NULL, type="source")
然后下面的信息就出来了
Installing package into ‘C:/Users/USER/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
* installing *source* package 'sparklyr' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (sparklyr)
In R CMD INSTALL
packageVersion("sparklyr")
[1] ‘0.8.4’
我收到以下错误
> library(sparklyr)
Error: package or namespace load failed for ‘sparklyr’ in get(method, envir = home):
lazy-load database 'C:/Users/USER/Documents/R/win-library/3.4/sparklyr/R/sparklyr.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
知道如何解决这个错误。
注:我的R.version
是3.4.4,我的Spark 2.3.1版本。
首先删除旧版本的sparklyr 0.7,然后重启Rstudio 最后使用下面的代码,从CRAN 安装最新版本。
install.packages("https://cran.r-project.org/src/contrib/sparklyr_0.8.4.tar.gz", repos = NULL, type="source")
我正在尝试从以下 link https://github.com/rstudio/sparklyr/releases/tag/v0.8.4.
安装最新版本的 sparklyr“0.8.4”install.packages("C:/Users/USER/Downloads/sparklyr-0.8.4.tar.gz", repos = NULL, type="source")
然后下面的信息就出来了
Installing package into ‘C:/Users/USER/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
* installing *source* package 'sparklyr' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (sparklyr)
In R CMD INSTALL
packageVersion("sparklyr")
[1] ‘0.8.4’
我收到以下错误
> library(sparklyr)
Error: package or namespace load failed for ‘sparklyr’ in get(method, envir = home):
lazy-load database 'C:/Users/USER/Documents/R/win-library/3.4/sparklyr/R/sparklyr.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
知道如何解决这个错误。
注:我的R.version
是3.4.4,我的Spark 2.3.1版本。
首先删除旧版本的sparklyr 0.7,然后重启Rstudio 最后使用下面的代码,从CRAN 安装最新版本。
install.packages("https://cran.r-project.org/src/contrib/sparklyr_0.8.4.tar.gz", repos = NULL, type="source")