[R] Sweave rendering of simple character

Ken Knoblauch knoblauch at lyon.inserm.fr
Sat Sep 1 02:36:06 CEST 2007


Hi,

When I compile the construction

\begin{Scode}{eval=FALSE}
?HSP
\end{Scode}

with Sweave and latex, it outputs in the pdf as,

 > `?` (HSP)

which is not incorrect but a bit more formal than I wanted
for demonstrating the use of the help shortcut.
I would like the output to look like,

> ?HSP

but I can't seem to make this work.
I have also tried the results=verbatim argument.

Thanks, in advance for any suggestions.

best,

ken


-- 
Ken Knoblauch
Inserm U846
Institut Cellule Souche et Cerveau
Département Neurosciences Intégratives
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.lyon.inserm.fr/846/english.html



More information about the R-help mailing list