Dear All, I am working with a Sweave document to be converted into PDF using Rstudio. It seems to me that my R code will also show up after conversion, which I would like not to happen. Is there a way to specify a command that I could place on the beggining and at the end of the R code that would allow R to recognize the area where my R code is and would ignor it when the data is converted? Apreciate the help, Andras [[alternative HTML version deleted]]
Hi Andras, The Sweave manual is at http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf. There you can learn about the echo option any many other wonderful things. Best, Ista On Wed, Sep 12, 2012 at 1:43 PM, Andras Farkas <motyocska at yahoo.com> wrote:> Dear All, > > I am working with a Sweave document to be converted into PDF using Rstudio. It seems to me that my R code will also show up after conversion, which I would like not to happen. Is there a way to specify a command that I could place on the beggining and at the end of the R code that would allow R to recognize the area where my R code is and would ignor it when the data is converted? > > Apreciate the help, > > Andras > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On 12-09-12 4:52 PM, Ista Zahn wrote:> Hi Andras, > > The Sweave manual is at > http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf. There > you can learn about the echo option any many other wonderful things.It is also available within R as vignette("Sweave") in current versions. Duncan Murdoch> > Best, > Ista > > On Wed, Sep 12, 2012 at 1:43 PM, Andras Farkas <motyocska at yahoo.com> wrote: >> Dear All, >> >> I am working with a Sweave document to be converted into PDF using Rstudio. It seems to me that my R code will also show up after conversion, which I would like not to happen. Is there a way to specify a command that I could place on the beggining and at the end of the R code that would allow R to recognize the area where my R code is and would ignor it when the data is converted? >> >> Apreciate the help, >> >> Andras >> [[alternative HTML version deleted]] >> >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >