Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-13 Thread Uwe Ligges
Sendt: sø 13-07-2008 00:36 Til: Søren Højsgaard Cc: William Revelle; [EMAIL PROTECTED] Emne: Re: [R] How to build a package which loads Rgraphviz (if installed)... On 12/07/2008 6:27 PM, Søren Højsgaard wrote: Bill, Thanks for the suggestion, but it does not solve the problem; I get the same warn

Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread William Revelle
At 6:36 PM -0400 7/12/08, Duncan Murdoch wrote: On 12/07/2008 6:27 PM, Søren Højsgaard wrote: Bill, Thanks for the suggestion, but it does not solve the problem; I get the same warning from rcmd check. I suspect that rcmd check actually checks that any package referred to in require() is dec

Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread Søren Højsgaard
ncan Murdoch [mailto:[EMAIL PROTECTED] Sendt: sø 13-07-2008 00:36 Til: Søren Højsgaard Cc: William Revelle; [EMAIL PROTECTED] Emne: Re: [R] How to build a package which loads Rgraphviz (if installed)... On 12/07/2008 6:27 PM, Søren Højsgaard wrote: > Bill, > Thanks for the suggestion,

Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread Duncan Murdoch
On 12/07/2008 6:27 PM, Søren Højsgaard wrote: Bill, Thanks for the suggestion, but it does not solve the problem; I get the same warning from rcmd check. I suspect that rcmd check actually checks that any package referred to in require() is declared in the DESCRIPTION file. >From the version n

Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread Søren Højsgaard
ss you are stuck with the same problem??? Cheers Søren Fra: William Revelle [mailto:[EMAIL PROTECTED] Sendt: lø 12-07-2008 23:47 Til: Søren Højsgaard; [EMAIL PROTECTED] Emne: Re: [R] How to build a package which loads Rgraphviz (if installed)... Soren, When

Re: [R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread William Revelle
Soren, When I had an almost identical problem last year. I also wanted to use Rraphviz but only if people had it. Kurt Hornik suggested that I replace a direct call to the function, foo, that uses Rgraphviz with if(require("Rgraphviz")) foo() Bill At 10:23 PM +0200 7/12/08, Søren Høj

[R] How to build a package which loads Rgraphviz (if installed)...

2008-07-12 Thread Søren Højsgaard
Dear List, I use Rgraphviz for display of graphs in some packages. Since Rgraphviz is no longer on CRAN it needs to be installed from Bioconductor and that is fine, but I have trouble figureing out the following: I create a plot method which - if Rgraphviz is installed - uses Rgraphviz for displ