Hi I am trying to install a package (bioconductor) but every time I try to install it I get this message: source("http://bioconductor.org/biocLite.R") Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : 'lib = "C:/Program Files/R/R-3.0.0/library"' is not writable Error in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : unable to install packages> biocLite("methylumi")I normally use mac computers, but I cannot get the right path for the folders I should use, so now I am trying with a windows platform instead. But now I cannot install one of the packages my pipeline needs. Can anyone help? I know it is probably a simple problem, but I have never used R before and don't know how to solve problems in it. Best Gitte Andersen E-mail: gitteba at hum-gen.au.dk
Hi, Do you have administrator rights? Regards, Pascal On 04/25/2013 04:19 PM, Gitte Brinch Andersen wrote:> Hi > > I am trying to install a package (bioconductor) but every time I try to install it I get this message: > > source("http://bioconductor.org/biocLite.R") > Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : > 'lib = "C:/Program Files/R/R-3.0.0/library"' is not writable > Error in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : > unable to install packages >> biocLite("methylumi") > > I normally use mac computers, but I cannot get the right path for the folders I should use, so now I am trying with a windows platform instead. But now I cannot install one of the packages my pipeline needs. > > Can anyone help? > > I know it is probably a simple problem, but I have never used R before and don't know how to solve problems in it. > > Best > > Gitte Andersen > > E-mail: gitteba at hum-gen.au.dk > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On 04/25/2013 12:19 AM, Gitte Brinch Andersen wrote:> Hi > > I am trying to install a package (bioconductor) but every time I try to install it I get this message: > > source("http://bioconductor.org/biocLite.R") > Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : > 'lib = "C:/Program Files/R/R-3.0.0/library"' is not writable > Error in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : > unable to install packagesHi Gitte -- this and your Mac path problems are really a question for the Bioconductor mailing list http://bioconductor.org/help/mailing-list/ I don't know the answer to your path problem, but the package author monitors that list and will be able to help. I would have expected the attempt run the biocLite.R script to result in a dialog that asks 'Would you like to use a personal library instead?', to which you should answer 'yes'. If for some reason you do not want to answer 'yes', then read the help page ?.libPaths Hope that helps, and please ask your questions about Bioconductor packages on the Bioconductor mailing list. Martin> > I normally use mac computers, but I cannot get the right path for the folders I should use, so now I am trying with a windows platform instead. But now I cannot install one of the packages my pipeline needs. > > Can anyone help? > > I know it is probably a simple problem, but I have never used R before and don't know how to solve problems in it. > > Best > > Gitte Andersen > > E-mail: gitteba at hum-gen.au.dk > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793