Entering edit mode
Deepti
•
0
@deepti-25062
Last seen 3.8 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"
I tried this too
Hi Deepti, can you restart your R session (and, also, preferably, your computer), and then re-try using:
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?library(BiocManager) Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help
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
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.
Okay I will check and try again
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
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')
Thank u zip file worked
It successfully installed the package?
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.
Thank you