[R] R editor vs. Tinn-R
Petr Pikal
petr.pikal at precheza.cz
Tue Jan 16 08:38:09 CET 2007
Hi
On 12 Jan 2007 at 19:11, Martin Becker wrote:
Date sent: Fri, 12 Jan 2007 19:11:42 +0100
From: Martin Becker <martin.becker at mx.uni-saarland.de>
To: Farrel Buchinsky <fjbuch at gmail.com>
Copies to: r-help at stat.math.ethz.ch
Subject: Re: [R] R editor vs. Tinn-R
> Zitat von Farrel Buchinsky <fjbuch at gmail.com>:
>
> > 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"))
> >
>
> The problem is not using the wrong R-command, but using a (Tinn-R)
> button that leads to a replacement of the current (windows)
> 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?
I also do not know about "source" buttons. I have only send buttons.
Maybe different Tinn-R version.
I usually issue such command from Tinn-R and then by up arrow I
execute it again with correct content of clipboard e.g. copy from
Excel like program.
HTH
Petr
> >
>
> There are three button groups on the left of the "Send line" button,
> containing two buttons each. The left button of each of these three
> button groups has the same name as the right button of each group,
> apart from having a "(source)" suffix. Now it should be obvious what
> was meant with '"(source)"-version of buttons'. There is no such
> version for the "Send line" button, so you have to select the
> corresponding line and use the "Send selection (source)" button, e.g.
>
> > Thanks
> >
> > Farrel
> >
>
> Regards,
> Martin
>
> >
> > "Martin Becker" <martin.becker at mx.uni-saarland.de> wrote in message
> > news:45A79DE5.9060803 at 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 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
> >> and provide commented, minimal, self-contained, reproducible code.
> >>
> >
> > ______________________________________________
> > 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 and provide commented,
> > minimal, self-contained, reproducible code.
> >
>
> ______________________________________________
> 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 and provide commented,
> minimal, self-contained, reproducible code.
Petr Pikal
petr.pikal at precheza.cz
More information about the R-help
mailing list