Just got trapped by inconsistency of name of first argument for file-based graphics devices. Both 'file' and 'filename' are currently in use depending on the device. I ran on a machine without PNG support which my code used postscript as the backup device and choked here.> do.call(device, list(filename = pathname,height = height, width = width)) --- Method and first argument --- postscript(file, pdf(file, pictex(file, xfig(file, bitmap(file, jpeg(filename, png(filename, bmp(filename,> version_ platform sparc-sun-solaris2.9 arch sparc os solaris2.9 system sparc, solaris2.9 status major 1 minor 9.0 year 2004 month 04 day 12 language R Also verified against R 2.0.1 on Windows ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
Paul Roebuck wrote:> Just got trapped by inconsistency of name of first argument > for file-based graphics devices. Both 'file' and 'filename' > are currently in use depending on the device. I ran on a > machine without PNG support which my code used postscript > as the backup device and choked here.Specifying file = ..... should work because of partial matching. Uwe Ligges> >>do.call(device, list(filename = pathname, > > height = height, > width = width)) > > --- Method and first argument --- > postscript(file, > pdf(file, > pictex(file, > xfig(file, > bitmap(file, > jpeg(filename, > png(filename, > bmp(filename, > > > >>version > > _ > platform sparc-sun-solaris2.9 > arch sparc > os solaris2.9 > system sparc, solaris2.9 > status > major 1 > minor 9.0 > year 2004 > month 04 > day 12 > language R > > Also verified against R 2.0.1 on Windows > > ---------------------------------------------------------- > SIGSIG -- signature too long (core dumped) > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel