Displaying 1 result from an estimated 1 matches for "latexscript".
2011 Sep 19
1
switching off commands within character vector
Hello,
could someone help me with this problem?:
I would like to create a latex-script inside of a character vector in order
to being able to compilate it within latex in the end.
if i try the following commands:
l1 <- "Hello world"
latexscript <- paste("\c",l1,"\c")
... I get an error message. I think the problem is that r sees \c as a
command.
How can I get
"\c Hello world \c"
as a result without getting the error message?
Thank you in advance for your help.
Marion
[[alternative HTML version dele...