From ligges@statistik.uni-dortmund.de  Mon Feb 26 13:08:12 2001
From: ligges@statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Mon, 26 Feb 2001 14:08:12 +0100 (MET)
Subject: [Rd] %*% in examples (PR#855)
Message-ID: <200102261308.OAA14670@pubhealth.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] %*% in examples (PR#855)
ligges@statistik.uni-dortmund.de