I'm just starting to use sweave with latex and have a beginner question
I expect this has been asked before - but  I cannot seem to find the answer

An input like:

<<echo=false>>=
X <- 1:3
X
@

Generates

[1] 1 2 3

Is there a way to suppress the [1] ?

I know I can write each term out using this

the line is \Sexpr{X[1]} \Sexpr{X[2]} \Sexpr{X[3]}

But there must be a simpler way.
Any suggestions?
If you send out an answer would you copy me directly as well as send it to the 
mailing list


Thanks
Norm

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to