Skip to content
Prev 77186 / 398502 Next

Long lines with Sweave

On Wed, Sep 14, 2005 at 10:14:59AM +0200, Henrik Andersson wrote:
It seems you've been thinking LaTeX rather than R ;-)  :
The exponent "-3" in the expression should be enclosed by parentheses
rather than by curly braces.

The code formatting done by the print method inserts the newline after
"{" and before "}".

Best regards, Jan