[R] Text editors for Sweave (rnw) files

2009-10-06 Thread Gregory Gentlemen
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.


Re: [R] Text editors for Sweave (rnw) files

2009-10-06 Thread Erik Iverson
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.


Re: [R] Text editors for Sweave (rnw) files

2009-10-06 Thread Gabor Grothendieck
vim/gvim does syntax highlighting of R, Sweave and latex.

On Tue, Oct 6, 2009 at 12:30 PM, Gregory Gentlemen
gregory_gentle...@yahoo.ca 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

2009-10-06 Thread Liviu Andronic
On 10/6/09, Gregory Gentlemen gregory_gentle...@yahoo.ca 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

2009-10-06 Thread Steve Lianoglou

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

2009-10-06 Thread Giovanni Petris

Emacs + ESS does too.

Giovanni

 Date: Tue, 06 Oct 2009 12:34:28 -0400
 From: Gabor Grothendieck ggrothendi...@gmail.com
 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
 gregory_gentle...@yahoo.ca 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.