[R] Sweave Dynamic Graph Question

Dirk Eddelbuettel edd at debian.org
Sat Nov 20 01:06:26 CET 2010


On 19 November 2010 at 13:13, cameron wrote:
| 
| i have a time Series of IBM closing px from 1/1/2000 to today
| I want to graph the time serie by dividing the graph by year and month
| all the monthly graphs with the same year will go to one page.  so from
| 1/1/2000 to 11/19/2010.  i will have
| 11 pages, and each page will have 12 graphs (jan to dec) except for 2010.  
| 
| I am able to do it in R, but when i use sweave, I can only print the last
| page.
| any help would be greatly appreciated

It's essentially an Sweave FAQ: you can only have one pdf (or ps) file per R
'snippet' so you have to rethink your code logic a little.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-help mailing list