Skip to content
Prev 170085 / 398506 Next

How to comment in R

A somewhat twisted approach that has not been mentioned is to consider  
everything a comment unless it is enclosed in special tags, as done in  
the brew package,

for example,
gives,
I'd love to see an editor with a "brew" mode that acts as a notebook:  
you type in your text in whatever language without worrying about the  
syntax (R syntax, i mean!), and when you want to do a calculation you  
just enclose it in such tags that behave like an inverted block comment.

Just a thought,

baptiste
On 11 Feb 2009, at 12:17, Gabor Grothendieck wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag

Thread (42 messages)

Mihai.Mirauta at bafin.de How to comment in R Feb 11 Søren Højsgaard How to comment in R Feb 11 Mihai.Mirauta at bafin.de How to comment in R Feb 11 Mihai.Mirauta at bafin.de How to comment in R Feb 11 ONKELINX, Thierry How to comment in R Feb 11 Stephan Kolassa How to comment in R Feb 11 Mihai.Mirauta at bafin.de How to comment in R Feb 11 Søren Højsgaard How to comment in R Feb 11 Mihai.Mirauta at bafin.de How to comment in R Feb 11 ONKELINX, Thierry OPGELET PHISINGRE: How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Gábor Csárdi How to comment in R Feb 11 (Ted Harding) How to comment in R Feb 11 Bart Joosen How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Barry Rowlingson How to comment in R Feb 11 Gabor Grothendieck How to comment in R Feb 11 Baptiste Auguie How to comment in R Feb 11 Gustaf Rydevik How to comment in R Feb 11 Baptiste Auguie How to comment in R Feb 11 Greg Snow How to comment in R Feb 11 Stavros Macrakis How to comment in R Feb 11 Duncan Murdoch How to comment in R Feb 11 Greg Snow How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Duncan Murdoch How to comment in R Feb 11 Gavin Simpson How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Duncan Murdoch How to comment in R Feb 11 Greg Snow How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Wacek Kusnierczyk How to comment in R Feb 11 Berwin A Turlach How to comment in R Feb 12 Wacek Kusnierczyk How to comment in R Feb 12 Hufkens Koen rimage Feb 16 Dirk Eddelbuettel rimage Feb 16 Hufkens Koen rimage Feb 16