Hi all!
I would like to install "mapsnp" packages
I run this,
if (!requireNamespace("BiocManager", quietly = TRUE)) + install.packages("BiocManager")
BiocManager::install("Gviz")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("TxDb.Hsapiens.UCSC.hg19.knownGene")
install.packages("~/mapsnp_pkg-master/mapsnp_0.1.tar.gz", repos = NULL, type = "source")
But it did not work. Any suggestion?
Please help!
I really need this soon
Can you please be more specific? What is the error message you get?
Hi @andresrcs
this is he history in R console
[Workspace loaded from ~/.RData]
> if (!requireNamespace("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
> BiocManager::install("Gviz")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.13 (BiocManager 1.30.16), R 4.1.0 (2021-05-18)
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.1.0/library
packages:
lattice, Matrix, mgcv, nlme, survival
Old packages: 'cpp11', 'data.table', 'digest', 'ggsignif', 'hms', 'knitr', 'lifecycle', 'maptools', 'matrixStats', 'mime', 'openssl',
'pillar', 'psych', 'R6', 'RcppArmadillo', 'readr', 'remotes', 'rmarkdown', 'stringi', 'tibble', 'tidyr', 'tinytex', 'vroom', 'xfun'
Update all/some/none? [a/s/n]: if (!requireNamespace("BiocManager", quietly = TRUE))
Update all/some/none? [a/s/n]: install.packages("BiocManager")
Update all/some/none? [a/s/n]: BiocManager::install("TxDb.Hsapiens.UCSC.hg19.knownGene")
Update all/some/none? [a/s/n]: install.packages("~/mapsnp_pkg-master/mapsnp_0.1.tar.gz", repos = NULL, type = "source")
Update all/some/none? [a/s/n]:
If I type library(mapsnp)
it will be like this
or whatever I type something, it will be displayed "update all/some/none? [a/s/n]:"
You are showing two problems here
For installing in this folder you need to run RStudio as "administrator"
Here the console prompt is asking a question, which you have to answer by typing "a", "s", or "n" but instead you are executing the install commands again.
Yes, I have successfully installed it. Thank you
system
Closed
October 12, 2021, 4:15am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.