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

giovanna jona lasinio giovanna.jonalasinio at uniroma1.it
Tue Nov 23 12:10:24 CET 2004


Thanks, at least this crazy behavior is not my exclusive problem :-)
I think that if we understand how the OS operates when copying and
pasting we may find a solution...

-----Messaggio originale-----
Da: Petr Pikal [mailto:petr.pikal at precheza.cz] 
Inviato: marted¨¬, 23. novembre 2004 12:04
A: giovanna jona lasinio; r-help-bounces at stat.math.ethz.ch; r-help at stat.
math.ethz.ch
Oggetto: Re: R: a question on plot(), workspace or method dispatch, NOT
about: Re: [R] RWinEdt, other text editors and R2.01 a problem i


Hi Giovanna

I have encountered such problem some time ago (so it had to be R 
1.8-1.9 approximately). It was connected with some complicated 
plot statements and usually also with **non english** characters in 
annotation texts. I did not found any traceable or repeatable 
pattern and sometime it helped to copy from my Salamander 
viewer window to notepad. But usually I had to retype a command 
in command window (not very positive answer :-(

Cheers
Petr

On 23 Nov 2004 at 9:55, giovanna jona lasinio wrote:

> 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list