Skip to content
Prev 3245 / 15075 Next

rgl revisions to allow dual install

Duncan,
I see now. On PPC you should use

    file.exists(system.file("libs/ppc", "aglrgl.so", package ="rgl"))

and, under intel,

    file.exists(system.file("libs/i386", "aglrgl.so", package ="rgl"))

instead of just

    file.exists(system.file("libs", "aglrgl.so", package ="rgl"))

i.e.
    file.exists(system.file(file.path("libs",.Platform$r_arch),  
"aglrgl.so", package ="rgl"))


And yes, you have to explicitly set the DISPLAY var under the shell  
unless you use xterm.

I have only one doubt, which I'm going to verify: if you override the  
DYLD_LIBRARY_PATH var there should be potential problems with tcltk  
which is still x11.

stefano
On 11/dic/06, at 20:49, Duncan Murdoch wrote: