[Rd] %*% in examples (PR#855)

ligges@statistik.uni-dortmund.de ligges@statistik.uni-dortmund.de
Mon, 26 Feb 2001 14:08:12 +0100 (MET)


Torsten.Hothorn@rzmail.uni-erlangen.de wrote:
> 
> Hi,
> 
> when we add
> 
> \examples{
> a <- 1:4
> 
> a %*% a
> }
> 
> into a Rd-file are run R CMD check, the resulting R code is
> 
> a <- 1:4
> 
> a
> 
> So, %*% ... is lost on the way if I'm not totally confused.
> 

That's not a bug, Torsten.

Use 
a \%*\% a

% this is a comment

Uwe

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._