[R] Sweave - landscape figure

Eduardo M. A. M. Mendes emammendes at gmail.com
Thu Aug 4 21:40:58 CEST 2011


Dear R-users

I am trying to understand how Sweave works by running some simple examples.  In the example I am working with there is a chunk where the R-commands related to plotting a figure are placed.  When running R CMD Sweave … , pdflatex the output is a portrait figure.  I wonder whether it would be possible to change the orientation to landscape (not in the latex file but in Rnw file).

Many thanks

Ed



More information about the R-help mailing list