script editor
On Wed, 2008-04-23 at 07:36 -0700, Christian A. Parker wrote:
I also like Tinn-R on a windows machine. But I have another question, Ive recently switched one of my computers over to Ubuntu (Linux). Currently I am just using Kate+Konsole and to be honest it works great accept for the lack a send lines command. So I was wondering if anyone out there knew of a sendlines mod for Kate
Kate has the Pipe to console menu item, which works either by sending the whole buffer or by sending the highlighted region. You can assign this a shortcut under the Settings Menu > Configure Shortcuts..., find the relevant command, click the image of the keyboard key and add in a keyboard short cut of your choosing. Make sure you don't overwrite anything useful - I just tried this with Alt+R. Now you can use (e.g.) Alt+R to pipe regions or the whole buffer to the konsole running at the bottom of the screen. Just start R in the embedded konsole first and it is read to be piped to.
or had some advice or knew of a tutorial for EMACS+ESS for the reluctant Tinn-R user?
Personally I use Emacs+ESS on my Fedora boxes, but I still can't remember how to copy/paste all the time using Emacs commands... so not the best person to be providing advice. G
-Chris ONKELINX, Thierry wrote:
Here's another fan of TINN-R. The TINN-R website suggests a few line of code to add into the Rprofile file which causes TINN-R to launch as soon as you start up R. Furthermore it has syntax highlighting that works for brackets too (display what opening bracket corresponsed with a closing bracket). And one can define shortcutkeys for sending code to R. Let's say that I don't want to miss TINN-R for all R, S+, Latex, Sweave, HTML and PHP stuff. Cheers, Thierry ------------------------------------------------------------------------ ---- ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, methodology and quality assurance Gaverstraat 4 9500 Geraardsbergen Belgium tel. + 32 54/436 185 Thierry.Onkelinx at inbo.be www.inbo.be To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -----Oorspronkelijk bericht----- Van: r-sig-ecology-bounces at r-project.org [mailto:r-sig-ecology-bounces at r-project.org] Namens Dave Hewitt Verzonden: woensdag 23 april 2008 15:07 Aan: r-sig-ecology at r-project.org Onderwerp: Re: [R-sig-eco] script editor
Does anyone have a recommendation for an R script editor that can be
run on
a pc?
I also like Tinn-R. It's simple and easy to use. Just in case this will save you a bit of frustration, be sure to install R in SDI mode (choose custom installation in the Install Wizard to get the option). The default is MDI mode and Sci-Views says new Tinn-R versions don't play well with R. I've never tried it, so I don't know what happens if you use MDI mode. One handy feature of Tinn-R (and probably other editors) is that you can click the R-> icon on the upper right to launch R. That passes your current working directory to R when it loads up, so you never need full path names in data read statements. Just put the .R script and the data in the same directory, open Tinn-R by double-clicking the .R script, and then launch R from Tinn-R.
_______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology _______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
_______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%