首页 > 解决方案 > Problem opening RDB file, path not recognized

问题描述

I am trying to access an RDB file from earthmicrobiome (data source https://zenodo.org/record/890000)

I downloaded the file and tried with the lazyload function but it keeps telling me that it does not find the path, although the file is definitely in that folder.

The returned error is the following:

Error in gzfile(file, "rb") : cannot open the connection In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file 'C:/Users/Nico/Desktop/Biology/5. AJ project/emp_redbiom.rdx', probable reason 'No such file or directory'

My script is this one:

setwd("C:/Users/Nico/Desktop/Biology/5. AJ project")

Microbiom_data<-new.env(parent = emptyenv())
lazyLoad(filebase = "C:/Users/Nico/Desktop/Biology/5. AJ project/emp_redbiom",envir = parent.frame(Microbiom_data))

I tried all the possible combinations for the pathway using setwd and even the "file.choose()" command in the lazyload function nothing works. Someone knows why??

标签: lazy-loading

解决方案


推荐阅读