it should work without quotes; i.e.,
results = verbatim
hth,
Matthias
Oliver Bandel wrote:
Hello,
in a Rnw-file I have this used stuff to try out tex-results...
==============================
<<>>>=
texme <- function() cat( "{\\bf Hallo, das ist voll fett!}\n" )
@
<<results="verbatim">>=
texme()
@
==============================
I used this command: "R CMD Sweave example.Rnw"
and got this error:
==============================
[...]
7 : echo
8 : echo term verbatim (label=>)
Error in match.arg(options$results, c("verbatim", "tex", "hide")) :
'arg' should be one of "verbatim", "tex", "hide"
Calls: Sweave -> SweaveParseOptions -> check -> match.arg
Execution halted
==============================
What did I do wrong here?
Any hint is welcome,
Oliver
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.
--
Dr. Matthias Kohl
www.stamats.de
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.