[R-SIG-Mac] rgl revisions to allow dual install

stefano iacus stefano.iacus at unimi.it
Tue Dec 12 05:55:19 CET 2006


On 12/dic/06, at 13:46, Simon Urbanek wrote:

>
> On Dec 11, 2006, at 7:12 AM, stefano iacus wrote:
>
>> 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"))
>>
>
> you can drop the file.path there i.e.
> system.file("libs",.Platform$r_arch,"aglrgl.so", package ="rgl")
>
> and yes, everyone should be careful when using libs, because multi- 
> arch builds are now more common (not just on Macs).
>
>
>> 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.
>>
>
> Nope - the line is in fact a noop in current versions of R, because  
> we no longer set DYLD_LIBRARY_PATH anymore (it was causing too much  
> trouble).
>
> Cheers,
> Simon
>
> BTW: this is the second message I didn't get from Duncan - is there  
> some filtering in place?

not on r-sig-mac, if this is what you meant.
stefano



More information about the R-SIG-Mac mailing list