R: a question on plot(), workspace or method dispatch, NOT about: Re: [R] RWinEdt, other text editors and R2.01 a problem in pasting commands

giovanna jona lasinio giovanna.jonalasinio at uniroma1.it
Tue Nov 23 09:55:44 CET 2004


I'm using R since version 1.6, and  I didn't redefine plot in my
workspace (I would never even dream of doing anything like that), I
didn't change any R-environment variable or option in the last 4 month. 
In my example x is a vector of 30 real values ...

I installed the windows service pack2 lately and I removed it now as the
microsoft help desk suggested, but the problem is still there and it is
there even with a new computer on which I installed R for the first time
yesterday. The real problem is that the copy-paste procedure is not
recognized any more on these two computers. If I try to paste any
command using other editors then WinEdt the problem is still there it
extends to almost all R commands, only assign and basic arithmetic is
performed correctly

 in the last two days I tried the following editors:
1. the display file window in the RGUI
2. RWinEdt
3. Xemacs
3. Word pad
4. Block notes
With no changes.

Conclusion: How it may happen that the copy and paste procedure stop
working?

Giovanna
-----Messaggio originale-----
Da: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] 
Inviato: lunedì, 22. novembre 2004 18:55
A: giovanna jona lasinio
Cc: r-help at stat.math.ethz.ch
Oggetto: a question on plot(), workspace or method dispatch, NOT about:
Re: [R] RWinEdt, other text editors and R2.01 a problem in pasting
commands


giovanna jona lasinio wrote:

> Dear All,
> In the last few days I started using the last version of R as I 
> encountered a problem with R1.9 and the use of RWinEdt, however the 
> problem shows with R2.01 as well. More precisely
> 
> 1. I install R2.01 after removing old verions of R
> 2. I Install RWinEdt package versione RWinEdt_1.6-2 and 
> SWinRegistry_0.3-2 and everything seems fine 3. I recall the RWinEdt 
> library (library(RWinEdt)) and WinEdt appears 4. now after loading a 
> workspace I run the following command using the paste icon in WinEdt:
> plot(x,xaxt="n",xlab="time",
ylab=expression(alpha),main=nome,type="l")
> 
> And I get the following error message:
> <<Error in stripchart(x, ...) : unused argument(s) (xaxt ...)>>
>>From now on the plot command stops working, it doesn't recognize any
> option not even type="l" or type="b" or anything.
> 
> If I type the intrusction directly on the command window without any 
> previous paste operation from WinEdt the command works properly.
> 
> Furthermore if I try to paste commands by simply coping it from a text

> file and pasting it on the R command window I have the same problem. I

> even tried:
> source("prova.txt") containing the same command line and I got the 
> same
> error:
> Error in stripchart(x, ...) : unused argument(s) (xaxt ...)
> 
> I'm not very good at using Windows XP, can anyone help?
> 
> Thanks
> Giovanna Jona Lasinio

Please don't complain about R-WinEdt, WinEdt, other editors, or Windows 
if the point is obviously somewhere else!

1. Have you redefined plot() in your workspace?
2. What kind of object is x (in particular it's class, please!)?

Uwe Ligges




More information about the R-help mailing list