Re: [R] Latex and Stangle()

2010-05-08 Thread Peter Ruckdeschel
sorry for my late reply, Am 06.05.2010 13:16, schrieb Silvano: It worked very well. Thanks Frank and Ruihong, both solutions were great. you might also want to try out package SweaveListingsUtils from CRAN, which provides some extra features interfacing the 'listings' package and

Re: [R] Latex and Stangle()

2010-05-08 Thread Peter Ruckdeschel
sorry for my late reply, Am 06.05.2010 13:16, schrieb Silvano: It worked very well. Thanks Frank and Ruihong, both solutions were great. you might also want to try out package SweaveListingsUtils from CRAN, which provides some extra features interfacing the 'listings' package and

Re: [R] Latex and Stangle()

2010-05-06 Thread Silvano
: Ruihong Huang ruihong.lan...@googlemail.com To: Silvano silv...@uel.br; r-help@r-project.org Sent: Wednesday, May 05, 2010 6:29 PM Subject: Re: [R] Latex and Stangle() Hi Silvano, I think you can enable automatic line breaking of long lines by \lstinputlisting[language=R, breaklines=true

[R] Latex and Stangle()

2010-05-05 Thread Silvano
Hi, I'm using the Sweave and I would like include codes of the R in my LaTeX file. I extracts the R code with Stangle (), whose name is Relatorio.R but I can't include it in the Latex file as an appendix. Suggests? Thanks, -- Silvano Cesar da Costa

Re: [R] Latex and Stangle()

2010-05-05 Thread Frank E Harrell Jr
On 05/05/2010 07:21 AM, Silvano wrote: Hi, I'm using the Sweave and I would like include codes of the R in my LaTeX file. I extracts the R code with Stangle (), whose name is Relatorio.R but I can't include it in the Latex file as an appendix. Suggests? Thanks, Silvano, If you don't want

Re: [R] Latex and Stangle()

2010-05-05 Thread Ruihong Huang
Hi, I suggest you use the listings package ... \usepackage{listings} \appendix \lstinputlisting[language=R]{Relatorio.R} Best, Ruihong On 05/05/2010 02:21 PM, Silvano wrote: Hi, I'm using the Sweave and I would like include codes of the R in my LaTeX file. I extracts the R

Re: [R] Latex and Stangle()

2010-05-05 Thread Ruihong Huang
: [R] Latex and Stangle() Hi, I suggest you use the listings package ... \usepackage{listings} \appendix \lstinputlisting[language=R]{Relatorio.R} Best, Ruihong On 05/05/2010 02:21 PM, Silvano wrote: Hi, I'm using the Sweave and I would like include codes of the R in my LaTeX