Re: [R] Fw: how i can install Rgraphviz in R2.7.1

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Sat, 26 Jul 2008 06:19:00 -0700

Duncan Murdoch <murdoch_at_stats.uwo.ca> writes:

> On 26/07/2008 4:44 AM, haani hanni wrote:
>> --- On Thu, 17/7/08, haani hanni <maaryam_khan_at_yahoo.com> wrote:
>> From: haani hanni <maaryam_khan_at_yahoo.com>
>> Subject: Fw: how i can install Rgraphviz in R2.7.1
>> To: R-help_at_r-project.org
>> Date: Thursday, 17 July, 2008, 10:41 AM
>> --- On Tue, 15/7/08, haani hanni <maaryam_khan_at_yahoo.com> wrote:
>> From: haani hanni <maaryam_khan_at_yahoo.com>
>> Subject: how i can install Rgraphviz in R2.7.1
>> To: "Nabble" <support_at_nabble.com>
>> Cc: r-help-request_at_r-project.org
>> Date: Tuesday, 15 July, 2008, 1:39 PM
>> hello
>> i am a new user of R.i have window XP Proffessional in my P.C.i
>> wanted to make the graphs of my data in Rgraphviz.the version of R
>> which i am using is 2.7.1.when i try to install Rgraphviz in R by
>> usinr the commands
>>> /source(http://bioconductor.org/biocLite.R)
>>> biocLite("Rgraphviz")
>>> source("http://bioconductor.org/biocLite.R")
>>> biocLite("Rgraphviz")
>> Running biocinstall version 2.2.9 with R version 2.7.1 Your version
>> of R requires version 2.2 of BioConductor.
>> trying URL 'http://bioconductor.org/packages/2.2/bioc/bin/windows/contrib/2.7/Rgraphviz_1.18.1.zip'
>> Content type 'application/zip' length 1012303 bytes (988 Kb)
>> opened URL
>> downloaded 988 Kb
>> ¬ package 'Rgraphviz' successfully unpacked and MD5 sums checked
>> ¬ The downloaded packages are in
>> ¬ ¬ ¬ ¬ ¬ ¬ ¬ C:\Documents and Settings\XPPRESP3\Local Settings\Temp\RtmpF7Nljk\downloaded_packages
>> updating HTML package descriptions
>> but when i wrote
>> library(Rgraphviz)¬ ¬ then¬ i got¬ the following error
>> Error in inDL(x, as.logical(local), as.logical(now), ...) : ¬
>> unable to load shared library
>> C:/PROGRA~1/R/R-27~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>> ¬ LoadLibrary failure:¬ The specified module could not be found.
>> ¬ Error : .onLoad failed in 'loadNamespace' for 'Rgraphviz'
>> Error: package/namespace load failed for 'Rgraphviz'

Rgraphviz requires that a specific version of graphviz is installed on your Windows computer, and that an environment variable named PATH includes the directory location of cdt.dll.

To obtain the specific version of graphviz, visit www.graphviz.org and click on the Download link. After accepting the terms of the license, visit

http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.16.1.exe

and install the package. Add something like (the details depend on where you installed graphviz)

C:\Program Files\graphviz-2.16\bin

to an environment variable called PATH (from memory, this is Start -> Control Panels -> System -> Advanced -> Environment Variables and then edit, if it already exists, or create a new PATH variable).

Note that at least some functionality of Rgraphviz remains inaccessible to Windows users, in particular the agopen-like functions that write .dot files to disk.

Questions about Bioconductor packages might best be directed to the Bioconductor mailing list http://bioconductor.org.

Hope that helps,

Martin

>>> save.image("C:\\Documents and Settings\\XPPRESP3\\Desktop\\.RData")
>>> save.image("C:\\Documents and Settings\\XPPRESP3\\My Documents\\.RData")
>> ¬ please if any one knows the solution of my problem then tell me¬
>> how i can solve it.
>> thanks
>> maryam
>> ¬
>
> It's important to post all the error messages. The popup should have
> shown you a message that cdt.dll was not found. I get the same
> message, so I've forwarded this to the maintainer of that package.
> Looks like something didn't get installed properly.
>
> Duncan Murdoch
>
> ______________________________________________
> 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.

-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M2 B169
Phone: (206) 667-2793

______________________________________________
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.
Received on Sat 26 Jul 2008 - 13:21:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Jul 2008 - 13:32:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive