Hello,
I tried to install the package "rnaseqGene" into Rstudio. The error showed as below. I uninstalled R and Rstudio, and reinstalled them, but it didn't help. The same error showed.
R version 4.0.2 (2020-06-22) -- "Taking Off Again" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
[Workspace loaded from ~/.RData]
library(BiocManager) Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help BiocManager::install("rnaseqGene") Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.2 (2020-06-22) Installing package(s) 'rnaseqGene' installing the source package ‘rnaseqGene’
trying URL 'https://bioconductor.org/packages/3.12/workflows/src/contrib/rnaseqGene_1.13.1.tar.gz' Content type 'application/x-gzip' length 1286532 bytes (1.2 MB) downloaded 1.2 MB
ERROR: failed to lock directory 'C:/Users/yguo.MYID/Documents/R/win-library/4.0' for modifying Try removing 'C:/Users/yguo.MYID/Documents/R/win-library/4.0/00LOCK-rnaseqGene'
The downloaded source packages are in ‘C:\Users\yguo.MYID\AppData\Local\Temp\RtmpwVwtHS\downloaded_packages’ Installation path not writeable, unable to update packages: MASS, mgcv, nlme, survival Warning message: In install.packages(...) : installation of package ‘rnaseqGene’ had non-zero exit status
It worked after removing the directory. Thanks!