hello, 

i would like to read in a small amount of csv data directly from a
sweave-enabled latex document. i tried 

\begin{Scode}{fig=FALSE,echo=TRUE}
timeval <- read.csv(stdin(),nrows=2)
t1,t2,t3,t4
24.23,26.79,23.47,23.97
\end{Scode}

but apparently the stdin() approach doesnt't work as I get

Writing to file test.tex
Processing code chunks ...
 1 : echo term verbatim

Error:  chunk 1
Error in parse(file, n, text, prompt) : parse error

Any help very much appreciated...

Greetings
Ockham

-- 

GMX DSL-Netzanschluss + Tarif zum superg�nstigen Komplett-Preis!

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to