This is Windows and the limit is in the graphics card: mine is able to do this but I suspect you need a 128Mb card (that jpeg is of itself about 90Mb). However, most viewers (including PhotoShop) will barf on such a large jpeg.
On Mon, 20 Dec 2004, Uwe Ligges wrote:
michael watson (IAH-C) wrote:
Hi
I have been creating very, very long jpeg images for the last two weeks using jpeg(). All of a sudden, and I mean that, it's stopped working - I've not changed a thing! The error message I get is:
jpeg("out.jpg",width=50000,height=480, quality=100)
Error in devga(paste("jpeg:", quality, ":", filename, sep = ""), width,
: unable to start device devga
In addition: Warning message: Unable to allocate bitmap I have plenty of disk space in the place I want to create the jpeg, and
if I reduce it from "width=50000" to "width=5000", then it works no
problem, which suggests it is a memory problem. If I close R and
re-open R the problem does not go away. And as I said above, I have
been using this code for weeks with no problem, then I change nothing,
and start getting this error message.
I don't believe it has worked. Such a huge one does not work for me even on a rather big machine.
If it had worked: On the same platform, OS, R version?
I think you have to contribute a patch in order to get such a huge jpeg.
Uwe Ligges
I'm running R 2.0.1 on Windows XP. I'm going to restart Windows and see if that helps, but if re-starting windows does help, is there an explanation as to where all the memory R used to be able to get at disappeared to in the current session?
Cheers Mick
______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
-- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
