[R] issue with graph package in using RBGL -‘'graph' is not a valid installed package’"
0
0
Entering edit mode
joe j ▴ 70
@joe-j-4637
Last seen 10.2 years ago
Thank you very much Dan, Uwe and Duncan. First suggestion by Dan itself worked so I didn't have to try the other ones. But those suggestions and comments are of much value and are appreciated. Regards, Joe > > On Wed, May 11, 2011 at 7:14 PM, Duncan Murdoch > <murdoch.duncan at="" gmail.com=""> wrote: >> On 11/05/2011 10:51 AM, joe j wrote: >>> >>> Dear all, >>> >>> I am trying to run the function "lambdaSets" using the package "RBGL". >>> This package uses another package "graph" which has been removed from >>> the CRAN repository, but is available at the archive >>> (http://cran.r-project.org/src/contrib/Archive/graph/). >>> >>> I installed the package from the R menu at "install packages from >>> local zip files" (after downloading the "graph_1.30.0.tar.gz" file, >>> unzipping it and making it a zip file; gz is not recognized by R.). I >>> get no warning here so I assumed installation went well. However, when >>> I type "require(RBGL)" I get the error message that: "Failed with >>> error: ??'graph' is not a valid installed package?". >> >> Installing a package is not that simple. ?R does various processing when >> taking the source tar.gz file and producing the binary image that it puts in >> the .zip. ?You would need to run >> >> R CMD INSTALL graph_1.30.0.tar.gz >> >> to do the install, but you probably don't have the tools installed to get >> this to work. >> >> However, graph is available on the Bioconductor web site, so if you select >> "BioC software" as a repository selection, the regular menu entry for >> installing packages should work. ?I just tested it on Windows, which I >> assume you're using (since other platforms don't use .zip). >> >> Duncan Murdoch >>> >>> I am using R version 2.12.2 (2011-2-25). I am a new user so your >>> advice would be of great help. >>> >>> Best wishes, >>> Joe >>> >>> ______________________________________________ >>> 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. >> >> >
graph graph • 1.1k views
ADD COMMENT

Login before adding your answer.

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