[R] Unable to run dev.new
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Aug 31 17:57:12 CEST 2010
On 31/08/2010 11:52 AM, Stephen Liu wrote:
> Hi folks,
>
>
> Debian 504 64 bit.
>
> Have spent more than 2 hours on dev.new and can't make it to work.
>
> > dev.new(height = 6, width = 12)
> Error in dev.new(height = 6, width = 12) :
> unused argument(s) (height = 6, width = 12)
>
> r-base-core has been installed. The command should be correct. I have run it
> before.
>
> Finally I started another VM, Ubuntu 10.04, also 64 bit, and then R. The
> command abovementioned works without problem starting the plot window.
>
> It looks quite funny to me. Any help?
>
You don't state your R version, but an earlier message from you hinted
it might be 2.7.1. The dev.new() function was modified in 2.8.0 to be
able to handle those parameters.
The current release is 2.11.1, so your copy is way out of date, if it's
really 2.7.1.
Duncan Murdoch
More information about the R-help
mailing list