Re: [R] R editor vs. Tinn-R

From: Farrel Buchinsky <fjbuch_at_gmail.com>
Date: Fri 12 Jan 2007 - 17:37:49 GMT

The only button I pressed was the "send line" button in version 1.19.1.5. I changed my command to

prelim<-read.delim(source("clipboard"))

and still got the same problem.
I do not know how to use the source versions of the buttons. Can you please tell me more?

Thanks

Farrel

"Martin Becker" <martin.becker@mx.uni-saarland.de> wrote in message news:45A79DE5.9060803@mx.uni-saarland.de...
> Farrel Buchinsky wrote:
>> Have you used Tinn-R and what landmines await the inexperienced?
>>
>>
>
> Depending on which button you press in Tinn-R, the clipboard is used to
> transfer the commands to R, so sometimes you can't rely on the previous
> contents of the clipboard while using Tinn-R. If you use the
> "(source)"-versions of the buttons, the content of the clipboard should
> be preserved.
>
> Regards,
> Martin
>
>> I could not understand why a script that used to work stopped working.
>> Look at these two scenarios
>> I opened an excel spreadsheet and copied several cells to the clipboard
>> Then Scenario 1
>> Executed from Tinn-R
>>
>>> prelim<-read.delim("clipboard")
>>> str(prelim)
>>>
>> 'data.frame': 0 obs. of 1 variable:
>> $ prelim..read.delim.clipboard.: logi
>>
>> Scenario 2
>> Executed from R editor
>>
>>> prelim<-read.delim("clipboard")
>>> str(prelim)
>>>
>> 'data.frame': 18 obs. of 13 variables:
>>
>>
>
> ______________________________________________
> R-help@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
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@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 and provide commented, minimal, self-contained, reproducible code. Received on Sat Jan 13 04:45:35 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 12 Jan 2007 - 19:31:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.