Re: [R] Text editors for Sweave (rnw) files
Emacs + ESS does too. Giovanni > Date: Tue, 06 Oct 2009 12:34:28 -0400 > From: Gabor Grothendieck > Sender: r-help-boun...@r-project.org > Cc: r-help@r-project.org > Precedence: list > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; > h=domainkey-signature:mime-version:received:in-reply-to:references > DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; > > vim/gvim does syntax highlighting of R, Sweave and latex. > > On Tue, Oct 6, 2009 at 12:30 PM, Gregory Gentlemen > wrote: > > Hi fellow R-users, > > > > Are there any text editors that recognize sweave (.rnw) files? I am running > > Windows Vista and in the past I used Tinn-R for R files but it > > (surprisingly) doesn't recognize rnw files and does not do any syntax > > highlighting for them. > > > > Thanks in advance, > > Greg > > > > > > > > __ > > Make your browsing faster, safer, and easier with the new Internet > > Explorer[[elided Yahoo spam]] > > com/ca/internetexplorer/ > > [[alternative HTML version deleted]] > > > > __ > > R-help@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. > > > > __ > R-help@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. > > > __ R-help@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.
Re: [R] Text editors for Sweave (rnw) files
Hi, On Oct 6, 2009, at 12:30 PM, Gregory Gentlemen wrote: Hi fellow R-users, Are there any text editors that recognize sweave (.rnw) files? I am running Windows Vista and in the past I used Tinn-R for R files but it (surprisingly) doesn't recognize rnw files and does not do any syntax highlighting for them. I don't run windows, but rumor has it that the e-texteditor is supposed to support TextMate bundles. So, since TextMate has bundles to support *.R, *.Rnw, *.Rd files, I would imagine the e editor could work, too: Editor: http://www.e-texteditor.com/ Getting more bundles: http://e-texteditor.com/wiki/index.php/Bundles#How_To_Get_More_Bundles You'll see several R bundles here (for TextMate, which should theoretically work for you) http://svn.textmate.org/trunk/Bundles/ I suspect this would be the one you want: http://svn.textmate.org/trunk/Bundles/R.tmbundle/ Hope that helps, -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact __ R-help@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.
Re: [R] Text editors for Sweave (rnw) files
On 10/6/09, Gregory Gentlemen wrote: > Are there any text editors that recognize sweave (.rnw) files? I am running > Windows Vista and in the past I used Tinn-R for R files but it (surprisingly) > doesn't recognize rnw files and does not do any syntax highlighting for them. > Slightly off-topic reply. You can compose Sweave documents using LyX, in which case you would not need syntax highlighting. Liviu __ R-help@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.
Re: [R] Text editors for Sweave (rnw) files
vim/gvim does syntax highlighting of R, Sweave and latex. On Tue, Oct 6, 2009 at 12:30 PM, Gregory Gentlemen wrote: > Hi fellow R-users, > > Are there any text editors that recognize sweave (.rnw) files? I am running > Windows Vista and in the past I used Tinn-R for R files but it (surprisingly) > doesn't recognize rnw files and does not do any syntax highlighting for them. > > Thanks in advance, > Greg > > > > __ > Make your browsing faster, safer, and easier with the new Internet > Explorer[[elided Yahoo spam]] > com/ca/internetexplorer/ > [[alternative HTML version deleted]] > > __ > R-help@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. > __ R-help@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.
Re: [R] Text editors for Sweave (rnw) files
Emacs with ESS would be one way to go. When editing a RNW file in ESS, you can use a key combination to go from RNW directly to PS or PDF, which is nice. Erik > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Gregory Gentlemen > Sent: Tuesday, October 06, 2009 11:31 AM > To: r-help@r-project.org > Subject: [R] Text editors for Sweave (rnw) files > > Hi fellow R-users, > > Are there any text editors that recognize sweave (.rnw) files? I am > running Windows Vista and in the past I used Tinn-R for R files but it > (surprisingly) doesn't recognize rnw files and does not do any syntax > highlighting for them. > > Thanks in advance, > Greg > > > > __ > Make your browsing faster, safer, and easier with the new Internet > Explorer[[elided Yahoo spam]] > com/ca/internetexplorer/ > [[alternative HTML version deleted]] > > __ > R-help@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. __ R-help@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.