[BioC] *.Rd question concerning special characters

Seth Falcon sfalcon at fhcrc.org
Thu Apr 14 15:57:52 CEST 2005


"Dipl.-Ing. Johannes Rainer" <johannes.rainer at tugraz.at> writes:
> i have a little problem with my *.Rd files i write. i have to use very 
> often the special character "_" and in building the help files it is no 
> problem, but when compiling the manual with latex it does not work. so 
> i replaced all "_" with "\_", now the package manual is nicely build in 
> latex, but the html help shows now the "\_" instead of "_".
> any ideas?

Assuming the "_"'s appear as part of the code, have you tried wrapping
these in \code{some_var_with_underscores} ?  According to the Writing
R Extensions Manual, the \code{} markup should do the right thing.

But I would have expected \_ to work as well.

This is with R 2.1.0 beta ?

+ seth



More information about the Bioconductor mailing list