Hmisc 3.7.0
2
0
Entering edit mode
@francesco-mancuso-4049
Last seen 9.7 years ago
Dear, I'm trying to install the Hmisc tar.gz package from R command line. This is what I'm doing > install.packages("./Hmisc_3.6-1.tar.gz", + lib="/Library/Frameworks/R.framework/Versions/2.11/Resources/library/" , + repos=NULL, + dependencies=TRUE) And this is the error that R gives: > require(Hmisc) Loading required package: Hmisc Error in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 'Hmisc' is not a valid installed package I'm using R 2.11 on a MacOS X 10.6.3. Any suggestion? Thanks in advance! Francesco <http: pasteur.crg.es="" portal="" page="" portal="" internet=""/> [[alternative HTML version deleted]]
• 3.0k views
ADD COMMENT
0
Entering edit mode
Patrick Aboyoun ★ 1.6k
@patrick-aboyoun-6734
Last seen 9.7 years ago
United States
Francesco, First three points: 1.) Please do not post general questions about R functionality (e.g. proper use of install.packages) to the BioC mailing list. If everybody followed suit, the general R questions would drown out the BioC specific questions. 2.) Hmisc is not a BioC package. 3.) Your subject heading is not descriptive enough, nor does it match the body of your message (Hmisc 3.7.0 vs Hmisc 3.6-1) To answer your question, you need to specify type = "source" when installing a source package. install.packages("Hmisc_3.6-1.tar.gz", repos = NULL, type = "source") Cheers, Patrick On 4/27/10 11:07 AM, Francesco Mancuso wrote: > Dear, > I'm trying to install the Hmisc tar.gz package from R command line. > > This is what I'm doing > > install.packages("./Hmisc_3.6-1.tar.gz", > + > lib="/Library/Frameworks/R.framework/Versions/2.11/Resources/library /", > + repos=NULL, > + dependencies=TRUE) > > And this is the error that R gives: > > require(Hmisc) > Loading required package: Hmisc > Error in library(package, lib.loc = lib.loc, character.only = TRUE, > logical.return = TRUE, : > 'Hmisc' is not a valid installed package > > > I'm using R 2.11 on a MacOS X 10.6.3. > > Any suggestion? > > Thanks in advance! > Francesco > <http: pasteur.crg.es="" portal="" page="" portal="" internet=""/> > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD COMMENT
0
Entering edit mode
@benilton-carvalho-1375
Last seen 4.1 years ago
Brazil/Campinas/UNICAMP
(r-help question?) You're installing from the source and you forgot to tell install.packages that. You were expected to do: install.packages("Hmisc_3.6-1.tar.gz", repos=NULL, lib=<your lib="">, type="source") this will require you to have XCode installed + gfortran. Maybe it is just easier to use: install.packages("Hmisc", dep=TRUE) and let R do it for you (it'll download the binary, which is supposed to 'just work'). b On Tue, Apr 27, 2010 at 7:07 PM, Francesco Mancuso <francesco.mancuso at="" crg.es=""> wrote: > > Dear, > I'm trying to install the Hmisc tar.gz package from R command line. > > This is what I'm doing > ?> install.packages("./Hmisc_3.6-1.tar.gz", > + > lib="/Library/Frameworks/R.framework/Versions/2.11/Resources/library /", > + ? ? ? ? ? ? ? ? ?repos=NULL, > + ? ? ? ? ? ? ? ? ?dependencies=TRUE) > > And this is the error that R gives: > ?> require(Hmisc) > Loading required package: Hmisc > Error in library(package, lib.loc = lib.loc, character.only = TRUE, > logical.return = TRUE, ?: > ? 'Hmisc' is not a valid installed package > > > I'm using R 2.11 on a MacOS X 10.6.3. > > Any suggestion? > > Thanks in advance! > Francesco > <http: pasteur.crg.es="" portal="" page="" portal="" internet=""/> > > ? ? ? ?[[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD COMMENT

Login before adding your answer.

Traffic: 897 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