lazy-loading - 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??
解决方案
推荐阅读
- python - 合并子图错误 - 'AxesSubplot' 对象没有属性 'get_gridspec'
- android - 安卓摇篮。如何将 Flavors 与 buildTypes 结合起来
- spring-boot - Spring Cloud Config 客户端发送错误的 Basic Auth 标头
- reactjs - Mobx-react : 默认不再是一部分
- java - 使用 Spring Boot Test 运行测试
- php - Laravel 自定义表单请求获取 id
- python - 如何在给定列表的方法内创建步骤?
- mongodb - 按年和月分组的数据。如何获得该特定月份的价值?
- entity-framework - Ef Core 2.2 和强类型 ID 属性上的外键
- windows - 为什么 certutil 返回自签名错误?