[R] Sweave/Rweave and results="verbatim"

Oliver Bandel oliver at first.in-berlin.de
Sun Dec 14 19:04:27 CET 2008


in a Rnw-file I have this used stuff to try out tex-results...

texme <- function() cat( "{\\bf Hallo, das ist voll fett!}\n" )


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,

More information about the R-help mailing list