#205 syntax highting for sweave files

closed-rejected
nobody
5
2008-08-20
2006-03-16
Patrick Brown
No
0 up votes | 0 down votes | 0%
1 comment

Sweave files are mixtures of latex and computer code
(in the R language). Chunks of code have the following
format

<<option1=stuff,option2=stuff>>=
x=1:20
plot(x,x^2)
@

Currently if I use $ or ~ in my code chunks is messes
up texniccenter's syntax highlighting. It should be
easy to fix this, perhaps treating a chunk the same way
as a verbatim argument?

The sweave web page is
http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html

Discussion

  • thomaspe
    thomaspe
    2007-01-06

    Logged In: YES
    user_id=1364022
    Originator: NO

    Sweave awareness would in fact be very useful - and possible as the smaller editor tinn-r (also on sourceforge) is able to do this.

     


Anonymous


Cancel   Add attachments