Re: [R] problem using cat within Sweave code chunks when fig=TRUE

2008-08-26 Thread Prof Brian Ripley
On Mon, 25 Aug 2008, Wolfgang Huber wrote: Hi Paul, You could <>= plot(1:10) @ <>= cat("figure1.eps caption goes here \n",file="readme.txt",append=T) cat("figure1.pdf caption goes here \n",file="readme.txt",append=T) @ You can suppress one of the three executions by setting eps=FALSE in the

Re: [R] problem using cat within Sweave code chunks when fig=TRUE

2008-08-25 Thread Wolfgang Huber
Hi Paul, You could <>= plot(1:10) @ <>= cat("figure1.eps caption goes here \n",file="readme.txt",append=T) cat("figure1.pdf caption goes here \n",file="readme.txt",append=T) @ You can suppress one of the three executions by setting eps=FALSE in the code chunk options or in the document-wide \

[R] problem using cat within Sweave code chunks when fig=TRUE

2008-08-24 Thread Paul.Rustomji
Hello R list I was intending to use a cat statement within Sweave code chunks that generate greaphs to generate a readme.txt file listing all the figures generated with a brief caption along the lines of: desired format of "readme.txt" _ figure1.eps caption for