Re: [Rd] Graphics devices file[name] argument

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Thu 24 Feb 2005 - 23:06:50 EST

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


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Feb 24 23:27:12 2005

This archive was generated by hypermail 2.1.8 : Thu 24 Feb 2005 - 23:32:48 EST