[R] Size of jpegs/pngs

From: <stgries_at_arcor.de>
Date: Mon 03 Oct 2005 - 00:46:43 EST

Dear all

I have trouble with setting the size for jpegs and pngs. I need to save a dendrogram of 1000 words into a jpeg or png file. On one of my computers, the following works just fine:

bb<-agnes(aa, method="ward")
jpeg("C:/Temp/test.txt", width=17000, height=2000) plot(bb)

On my main computer, however, this doesn't work:
> jpeg("C:/Temp/test.txt", width=17000, height=2000)
Error in jpeg("C:/Temp/test.txt", width = 17000, height = 2000) :

        unable to start device devWindows In addition: Warning message:
Unable to allocate bitmap

This is a Windows XP Pro SP2 system, which is started with this chsort
> R.version

platform i386-pc-mingw32

arch     i386           
os       mingw32        
system   i386, mingw32  
major    2              
minor    1.1            
year     2005           
month    06             
day      20             

language R

which is started with a shortcut.
"C:\rw2011\bin\Rgui.exe --max-mem-size=1500M"

I checked the web and the R-help pages, tried out the ppsize option, and compared the options settings with those of the machine that works (which actually runs R 2.0.1 of 15 Nov 2004), but couldn't come up with an explanation. Any idea what I do wrong? STG

Stefan Th. Gries
Max Planck Inst. for Evol. Anthropology

Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Oct 03 00:53:34 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST