[R] Unable to run dev.new

Joshua Wiley jwiley.psych at gmail.com
Tue Aug 31 18:19:47 CEST 2010


On Tue, Aug 31, 2010 at 9:10 AM, Stephen Liu <satimis at yahoo.com> wrote:
> 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

When I was using Lenny (Debian 505 I think) I found this page really
helpful, perhaps it will help you also.

http://cran.r-project.org/bin/linux/debian/README.html

I was able to get my version of R up to the latest quite easily by
just adding the one line to my sources.list file.

Josh

>
>
> B.R.
> Stephen L
>
>
>
>
>
> ----- Original Message ----
> From: Duncan Murdoch <murdoch.duncan at gmail.com>
> To: Stephen Liu <satimis at yahoo.com>
> Cc: "r-help at r-project.org" <r-help at 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 at 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.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/



More information about the R-help mailing list