Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost suggestions when googling an R-(text-)editor for Windows. However, to me it appears dissappointing that Tinn-R does not handle utf-8 (mac-roman, or any other) encoded R-scripts or, in general, text files. Besides Emacs and the R built-in editor, could you recommend a good editor for Windows, even some commmercial for a small price? (For a comparison, TextMate for OS X is 35 USD and does a great job on all plain text and code related issues, not only R.) Thanks, *S* -- Sascha Vieweg, saschaview at gmail.com
Notepad ++ handles just about anything and has an accompanying program NppToR to make passing scripts easier. Geany also handles a ton of filetypes, but lacks a direct interface to R in the windows version - I wrote an AutoHotKey script that did this for me in about 5 minutes. On the other hand, geany is cross platform. As always, EMACS + ESS and Vim are also options. -------------------------------------- Jonathan P. Daily Technician - USGS Leetown Science Center 11649 Leetown Road Kearneysville WV, 25430 (304) 724-4480 "Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly r-help-bounces at r-project.org wrote on 01/28/2011 01:55:25 PM:> [image removed] > > [R] R-/Text-editor for Windows? > > Sascha Vieweg > > to: > > r-help > > 01/28/2011 01:57 PM > > Sent by: > > r-help-bounces at r-project.org > > Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost > suggestions when googling an R-(text-)editor for Windows. However, > to me it appears dissappointing that Tinn-R does not handle utf-8 > (mac-roman, or any other) encoded R-scripts or, in general, text > files. Besides Emacs and the R built-in editor, could you > recommend a good editor for Windows, even some commmercial for a > small price? (For a comparison, TextMate for OS X is 35 USD and > does a great job on all plain text and code related issues, not > only R.) Thanks, *S* > > -- > Sascha Vieweg, saschaview at gmail.com > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
I strongly suggest reconsidering your rejection of Emacs + ESS. However, if you cannot be persuaded of this, I hear WinEdit is pretty good. In case you haven't already found them, the following resources may be helpful: http://www.sciviews.org/_rgui/projects/Editors.html http://stackoverflow.com/questions/1173463/recommendations-for-windows-text-editor-for-r Best, Ista On Fri, Jan 28, 2011 at 1:55 PM, Sascha Vieweg <saschaview at gmail.com> wrote:> Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost suggestions > when googling an R-(text-)editor for Windows. However, to me it appears > dissappointing that Tinn-R does not handle utf-8 (mac-roman, or any other) > encoded R-scripts or, in general, text files. Besides Emacs and the R > built-in editor, could you recommend a good editor for Windows, even some > commmercial for a small price? (For a comparison, TextMate for OS X is 35 > USD and does a great job on all plain text and code related issues, not only > R.) Thanks, *S* > > -- > Sascha Vieweg, saschaview at gmail.com > > ______________________________________________ > R-help at r-project.org 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. >-- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org
Hi Sascha, On 01/28/2011 07:55 PM, Sascha Vieweg wrote:> Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost > suggestions when googling an R-(text-)editor for Windows. However, to me > it appears dissappointing that Tinn-R does not handle utf-8 (mac-roman, > or any other) encoded R-scripts or, in general, text files. Besides > Emacs and the R built-in editor, could you recommend a good editor for > Windows, even some commmercial for a small price? (For a comparison, > TextMate for OS X is 35 USD and does a great job on all plain text and > code related issues, not only R.)One of the platform independent ones is StatET: http://www.walware.de/goto/statet Best, Tobias
Hello On Fri, Jan 28, 2011 at 8:03 PM, Jonathan P Daily <jdaily at usgs.gov> wrote:> Geany also handles a ton of filetypes, but lacks a direct interface to R > in the windows version - I wrote an AutoHotKey script that did this for me > in about 5 minutes. >Could you please expand on that? I prefer to use Geany when working on Linux, but I always found it annoying the Windows limitation. Thank you Liviu
Sascha, I guess the software you wan't is RKWard: http://rkward.sourceforge.net/ I have tested a few R front-ends and to me this one seemed the most adequate. I suppose as an ex-matlab user my interface preferences are biased, but still RKWard has a good editor with syntax highlighting, code folding, auto-completion and function hinting, and since it also incorporates the R console into it's structure, anything you type in the console window will be highlighted and hinted (if a function) as well. And it's free. I've tried Emacs Speaks Statistics and found it just confusing, to say the least (by the way, I'm puzzled by why so many people adhere to this one. Maybe it's a matter of getting used to it...?). Tinn-R (up to the version I tested) didn't integrate well with R. WinEDT is good. Give it a try and tell us what you think. Best regards, Eduardo Horta On Fri, Jan 28, 2011 at 4:55 PM, Sascha Vieweg <saschaview at gmail.com> wrote:> Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost suggestions > when googling an R-(text-)editor for Windows. However, to me it appears > dissappointing that Tinn-R does not handle utf-8 (mac-roman, or any other) > encoded R-scripts or, in general, text files. Besides Emacs and the R > built-in editor, could you recommend a good editor for Windows, even some > commmercial for a small price? (For a comparison, TextMate for OS X is 35 > USD and does a great job on all plain text and code related issues, not only > R.) Thanks, *S* > > -- > Sascha Vieweg, saschaview at gmail.com > > ______________________________________________ > R-help at r-project.org 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. >
On 11-01-28 19:55, Sascha Vieweg wrote: [...]> Besides Emacs and the R built-in editor, could you recommend a > good editor for Windows, even some commmercial for a small > price?Thanks for all your answers and experiences. You helped a lot. *S*