[Roxygen-devel] Indent of source code

Lars Relund junk at relund.dk
Fri Feb 20 14:24:28 CET 2009


Hi

Is it possible to keep indent in @examples? For instance if you have:

#'	for (i in 1:10) {
#'		print(i)
#'	}

The example in the Rd becomes

\examples{for (i in 1:10) {
print(i)
}}


Best regards

Lars Relund Nielsen
Project scientist


UNIVERSITY OF AARHUS
Faculty of Agricultural Sciences
Dept. of Genetics and Biotechnology
Blichers Allé 20, P.O. BOX 50
DK-8830 Tjele



More information about the Roxygen-devel mailing list