Re: [Rd] loadNamespace and useDynLib

2009-06-24 Thread Gabor Grothendieck
I've also experienced this problem with RGraphviz and suggest you expand the message to: Graphviz version x found at c:\...whatever...\graphviz.dll but version y found at http://whatever required. Another approach would be to check that the file size, file name, checksum or some other attribute of

Re: [Rd] loadNamespace and useDynLib

2009-06-24 Thread Uwe Ligges
Kasper Daniel Hansen wrote: I am considering a package with a namespace (Rgraphviz from Bioc). I essentially want to have some error handling for loading the dll, something like wrapping it into tryCatch or similar (reason: see below). Right now I am loading the dynamic libraries by useDynLib

[Rd] loadNamespace and useDynLib

2009-06-23 Thread Kasper Daniel Hansen
I am considering a package with a namespace (Rgraphviz from Bioc). I essentially want to have some error handling for loading the dll, something like wrapping it into tryCatch or similar (reason: see below). Right now I am loading the dynamic libraries by useDynLib in my NAMESPACE file. Whe