[R-SIG-Mac] Problem with library(CarbonEL) in .Rprofile

Simon Urbanek simon.urbanek at r-project.org
Mon Jul 2 16:40:07 CEST 2007


Max,

On Jul 2, 2007, at 11:14 AM, max.e.brown at gmail.com wrote:

>
> [I asked on r-help, but got no reply, so I am trying again here,  
> probably this list is more appropriate]
>

Yes, that's a much better idea ;).


> I am a Mac user and prefer the quartz device. So far, I have always
> typed the following in manually after starting R via ESS:
>
> library(CarbonEL)
> options(device="quartz")
>
> That works without problems, and allows me to use the quartz device
> instead of X11.
>
> I put this into my .Rprofile, thinking that this way I don't have to
> type this every time I start R. Once I do this (there is nothing else
> in the .Rprofile), I get the following error, though:
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> 	unable to load shared library '/Library/Frameworks/R.framework/ 
> Resources/library/CarbonEL/libs/ppc/CarbonEL.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/library/CarbonEL/ 
> libs/ppc/CarbonEL.so, 6): Symbol not found: _TransformProcessType
>   Referenced from: /Library/Frameworks/R.framework/Resources/ 
> library/CarbonEL/libs/ppc/CarbonEL.so
>   Expected in: flat namespace
> Error in library(CarbonEL) : .First.lib failed for 'CarbonEL'
>
> What do I need to do to get this to work?
>

Add
library(graphics)
*before* library(CarbonEL).

Cheers,
Simon



More information about the R-SIG-Mac mailing list