[R] \preformatted and $
    Arend P. van der Veen 
    apv at capital.net
       
    Mon Nov 17 22:08:03 CET 2003
    
    
  
Hi,
I have been developing a package in R and have been working on
documentation.  I have a \details function that contains the following:
\details{
some text
\preformatted{
[my-section]
user = apv
host = 127.0.0.1
}
}
 When I run R CMD check I get an error while checking the manual.  If I
remove:
\preformatted{
[my-section]
user = apv
host = 127.0.0.1
}
and replace it with 
[my-section]
user = apv
host = 127.0.0.1
the error goes away.
Has anybody had this problem?  
I have also have a problem including a '$' in my documentation.  I
replace them with \$ which made latex happy but then \$ showed up in the
HTML and R help.
Any advice would be appreciated,
Arend van der Veen
    
    
More information about the R-help
mailing list