Entering edit mode
Enrico
•
0
@Enrico-24472
Last seen 4.0 years ago
Hello, I am trying to install the package GO.db. When installing, I get the following error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'renv/activate.R': No such file or directory
Execution halted
I am using renv in some other projects, but I had the same error when creating a new project from scratch (without renv), so I am not sure why this error keeps popping up. This is the sessioninfo:
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.5
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.10 compiler_3.6.3 tools_3.6.3
Thank you in advance.
When you say renv, I presume that you are referring to this? - https://rstudio.github.io/renv/articles/renv.html
yes, sorry for not clearing that up, it is a package to handle virtual environments (formerly known as "packrat")
This question may therefore be more suited to the RStudio forum - not sure. The error message doesn't indicate anything specific to GO.db, and instead implicates renv
Is there an earlier message about 'Timeout reached' while trying to download GO.db? Try
options(timeout = 300L)
.