[R] Mac OS X jpg

Rafael Najmanovich rafael.najmanovich at ebi.ac.uk
Mon May 24 20:06:59 CEST 2004


	Hi,
	I am using R 1.9.0 (2004-04-12) for Mac OS X.	I am having trouble 
printing to a jpg file. This only happens when I use R in batch (with 
the BATCH option) mode. If I launch the R GUI or the command line 
version and run the script from either, I have no problems. Only when 
running in BATCH mode I get a file with the same name as my script 
where I find the following message at the end:

> Error in jpeg(filename = file, width = 1500, height = 2000, pointsize 
> = 12,  :
>         R_X11 module cannot be loaded
> In addition: Warning message:
> X11 module is not available under this GUI
> Execution halted

	When I run the same script with the only difference that it prints to 
a postscript file instead, all works fine.

	Any  suggestions as to what could the problem be?

	thank you in advance,


Dr. Rafael Najmanovich
European Bioinformatics Institute
Wellcome Trust Genome Campus
Cambridge CB10 1SD
United Kingdom

rafael.najmanovich at ebi.ac.uk - www.ebi.ac.uk/~rafi
+44-1223-492599 (voice) +44-7786-968257(mobile) +44-1223-494468 (fax)




More information about the R-help mailing list