Hello, I'm having trouble in installing Limma package and this is what Im getting
0
0
Entering edit mode
Deepti • 0
@deepti-25062
Last seen 3.7 years ago

BioC_mirror: https://bioconductor.org Error: unexpected '/' in "BioC_mirror: https:/"

Using Bioconductor 3.5 (BiocInstaller 1.25.3), R 3.4.0 (2017-04-21). Error: unexpected symbol in "Using Bioconductor" Installing package(s) 'limma' Error: unexpected symbol in "Installing package"

limma • 3.5k views
ADD COMMENT
0
Entering edit mode

I tried this too

BiocManager::install("limma")
Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.4 (2021-02-15)
Installing package(s) 'limma'
trying URL 'https://bioconductor.org/packages/3.12/bioc/bin/windows/contrib/4.0/limma_3.46.0.zip'
Content type 'application/zip' length 3182293 bytes (3.0 MB)
downloaded 3.0 MB

Error in unzip(zipname, exdir = dest) : 
  cannot open file 'C:/Users/name/Documents/R/win-library/4.0/file277046bd78f6/limma/doc/changelog.txt': Permission denied
ADD REPLY
0
Entering edit mode

Hi Deepti, can you restart your R session (and, also, preferably, your computer), and then re-try using:

BiocManager::install('limma')

Then, please show the error message and also the output of sessionInfo(). Also, please let us know whether or not you are using a personal, shared, or corporate computer?

ADD REPLY
0
Entering edit mode

library(BiocManager) Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help

BiocManager::install('limma') Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.4 (2021-02-15) Installing package(s) 'limma' trying URL 'https://bioconductor.org/packages/3.12/bioc/bin/windows/contrib/4.0/limma_3.46.0.zip' Content type 'application/zip' length 3182293 bytes (3.0 MB) downloaded 3.0 MB

Error in unzip(zipname, exdir = dest) : cannot open file 'C:/Users/name/Documents/R/win-library/4.0/file23349e246ab/limma/doc/changelog.txt': Permission denied

This is what I recieved after restarting and using

session info: sessionInfo() R version 4.0.4 (2021-02-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale: [1] LC_COLLATE=English_India.1252 LC_CTYPE=English_India.1252
[3] LC_MONETARY=English_India.1252 LC_NUMERIC=C
[5] LC_TIME=English_India.1252

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

other attached packages: [1] BiocManager_1.30.10

loaded via a namespace (and not attached): [1] compiler_4.0.4 tools_4.0.4

I have personal computer

ADD REPLY
0
Entering edit mode

Hi, it is possible that your anti-malware software denies the permission. Check your anti-malware software if R/Rstudio is not blacklisted or running RStudio as administrator.

ADD REPLY
0
Entering edit mode

Okay I will check and try again

ADD REPLY
0
Entering edit mode

Hi I checked, not blocked by my anti-malware software and I added R in allowed apps. Still recieved same

BiocManager::install('limma') Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.4 (2021-02-15) Installing package(s) 'limma' trying URL 'https://bioconductor.org/packages/3.12/bioc/bin/windows/contrib/4.0/limma_3.46.0.zip' Content type 'application/zip' length 3182293 bytes (3.0 MB) downloaded 3.0 MB

Error in unzip(zipname, exdir = dest) : cannot open file 'C:/Users/name/Documents/R/win-library/4.0/file2680227a6ff7/limma/doc/changelog.txt': Permission denied

ADD REPLY
0
Entering edit mode

Are you using regular R or R Studio? Please try regular R, and by running this (R) with Admin privileges.

Could also try to download the ZIP to a local drive (https://www.bioconductor.org/packages/release/bioc/bin/windows/contrib/4.0/limma_3.46.0.zip), and then install via install.packages('limma_3.46.0.zip')

ADD REPLY
0
Entering edit mode

Thank u zip file worked

ADD REPLY
0
Entering edit mode

It successfully installed the package?

ADD REPLY
0
Entering edit mode

Hi,

Try installing R stuff in a folder at the root of the disk C:. On my personal computer, I created a folder called opt in C:\ and install R there.

When installing, quit all RStudio sessions and check that only core packages are loaded. Typically, I use a fresh RStudio project to install packages when I get some errors (due to already loaded packages).

Never been bored by errors since.

Best.

ADD REPLY
0
Entering edit mode

Thank you

ADD REPLY

Login before adding your answer.

Traffic: 757 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6