Re: [R] Rd file processing suggestion - % sign in examples

2011-04-19 Thread Duncan Murdoch
On 11-04-19 2:26 AM, Peter Langfelder wrote: > Hi folks, > > I have come across a simple quirk that took me a long time to figure > out. The gist is that if I write, in the example section of an Rd > file, the line > > c = a %*% b > > what R will see when running the example is > > c = a > > since

[R] Rd file processing suggestion - % sign in examples

2011-04-18 Thread Peter Langfelder
Hi folks, I have come across a simple quirk that took me a long time to figure out. The gist is that if I write, in the example section of an Rd file, the line c = a %*% b what R will see when running the example is c = a since the % signs are apparently considered comment signs even in the \e