Hi Duncan, Ubuntu 10.04 R version 2.10.1 (2009-12-14)
Debian 504 R version 2.7.1 (2008-06-23) Both R were installed on repo. What can I do? Thanks B.R. Stephen L ----- Original Message ---- From: Duncan Murdoch <murdoch.dun...@gmail.com> To: Stephen Liu <sati...@yahoo.com> Cc: "r-help@r-project.org" <r-help@r-project.org> Sent: Tue, August 31, 2010 11:57:12 PM Subject: Re: [R] Unable to run dev.new 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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.