Just wondering if this is the expected behaviour. I was wanting to produce quoted text within \code{}, without manually entering the '"'. \dQuote{} seems advisable after reading the Writing R Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to produce "mytext" in monospace font (with ' ' round it in the R help files) but it appears that \dQuote{mytext} is not processed within \code {} as \dQuote{mytext} is printed literally in the produced documentation.
Is this intended? I didn't see any statements suggesting \code{} could not include other markup, and \code{\link{}} works... You can see an example in the pdf manual for my package on CRAN: http://www.stats.bris.ac.uk/R/doc/packages/cocorresp.pdf in particular the entry for coca(). This is on Fedora Core 3 with: Version 2.2.0 Patched (2005-11-09 r36252) and Version 2.3.0 Under development (unstable) (2005-11-30 r36557) Cheers, G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [T] +44 (0)20 7679 5522 ENSIS Research Fellow [F] +44 (0)20 7679 7565 ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/ 26 Bedford Way [W] http://www.ucl.ac.uk/~ucfagls/ London. WC1H 0AP. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel