RBioFormats库需要互联网连接才能加载

时间:2019-06-19 10:32:30

标签: r image image-processing

我将RBioFormats用于R的图像处理。当我的计算机没有Internet连接时,我无法加载RBioFormats库。 R的控制台出现错误消息:

Error: package or namespace load failed for 'RbioFormats':
 .onLoad failed in loadNamespace() for 'RBioFormats', details:
 call: NULL
 error: failed to download Bio-Formats Java library
 Check your internet connection

我正在使用GNU / Linux操作系统。首先,我认为这是由于安装了Java环境的版本11。我注意到v11是开发者版本。安装Java环境v8后,将导致相同的错误输出。结果是当我没有互联网连接时,我无法使用RBioFormats库。

> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Anarchy Linux

Matrix products: default
BLAS:   /usr/lib/libblas.so.3.8.0
LAPACK: /usr/lib/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=es_ES.UTF-8          LC_NUMERIC=C                  LC_TIME=es_ES.UTF-8           LC_COLLATE=es_ES.UTF-8        LC_MONETARY=es_ES.UTF-8      
 [6] LC_MESSAGES=es_ES.UTF-8       LC_PAPER=es_ES.UTF-8          LC_NAME=es_ES.UTF-8           LC_ADDRESS=es_ES.UTF-8        LC_TELEPHONE=es_ES.UTF-8     
[11] LC_MEASUREMENT=es_ES.UTF-8    LC_IDENTIFICATION=es_ES.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RBioFormats_0.0.54 rJava_0.9-11      

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.1          locfit_1.5-9.1      lattice_0.20-38     png_0.1-7           fftwtools_0.9-8     digest_0.6.19       bitops_1.0-6        tiff_0.1-5         
 [9] grid_3.6.0          EBImage_4.26.0      tools_3.6.0         htmlwidgets_1.3     RCurl_1.95-4.12     jpeg_0.1-8          abind_1.4-5         parallel_3.6.0     
[17] compiler_3.6.0      BiocGenerics_0.30.0 htmltools_0.3.6 

1 个答案:

答案 0 :(得分:1)

由于RBioFormats版本为0.057,因此启动时不再需要Internet连接。 Link to commit