search for: subsec1

Displaying 1 result from an estimated 1 matches for "subsec1".

Did you mean: subsec
2012 Nov 28
1
in Rd documentation, line breaks in code blocks?
...ve a code fragment. This code fragment should include several commands, spanning several lines. Example: ========== \name{aqr-package} \alias{aqr-package} \alias{aqr} \docType{package} \title{Package level introduction} \description{description goes here.} \section{sec1}{ some text. \subsection{subsec1}{ some text. \code{ require(aqr) require(quantmod) # fetch them via quantmod getSymbols(c("MSFT", "SAP")) ... } } } ========== The problem is, everything in \code{} gets printed into one line. If I add \cr at the end of every line in \code, it gets broken properly, but a warni...