[R-SIG-Mac] .Rprofile and quartz

Andrew Beckerman a.beckerman at sheffield.ac.uk
Mon Apr 19 15:13:58 CEST 2004


Thanks simon - works a treat adding library(graphics) for quartz and  
library(lattice) for lset.

Cheers
andrew

On 19 Apr 2004, at 12:43, Simon Urbanek wrote:

>
> On Apr 19, 2004, at 1:20 PM, Andrew Beckerman wrote:
>
>> A not of thanks to all involved with getting 1.9.0 out to OS X with  
>> console.... Very flash and fast!
>>
>> My question may not be a mac thing: I had a very simple .Rprofile in  
>> my home directory:
>>
>> cat("Welcome to R...." \n)
>> quartz("",8,8)
>> lset(col.whitebg())
>> cat(\n "Profile Loaded...." \n)
>>
>> However, with 1.9, it no longer works, saying that quartz cannot be  
>> found.  I have tried embedding these into a .First() function, as  
>> shown is ?Startup, with no luck.  Any ideas?
>
> Similar questions are being asked in R-devel/R-help almost daily :P.  
> The startup files don't load any packages except for base - and this  
> implies that you need to load such libraries explicitly. In your case  
> you probably want to load the graphics library in order to get the  
> quartz function (for reasons etc. see the list archives). This  
> behavior is not new in 1.9, but the split of base in to individual  
> packages is.
>
> Cheers,
> Simon
>
> ---
> Simon Urbanek
> Department of computer oriented statistics and data analysis
> University of Augsburg
> Universitätsstr. 14
> 86135 Augsburg
> Germany
>
> Tel: +49-821-598-2236
> Fax: +49-821-598-2200
>
> Simon.Urbanek at Math.Uni-Augsburg.de
> http://simon.urbanek.info
>
>
------------------------------------------------------------------------ 
---------
Dr. Andrew Beckerman
Department of Animal and Plant Sciences, University of Sheffield,
Alfred Denny Building, Western Bank, Sheffield S10 2TN, UK
ph +44 (0)114 222 0026; fx +44 (0)114 222 0002
http://www.shef.ac.uk/beckslab
------------------------------------------------------------------------ 
----------



More information about the R-SIG-Mac mailing list