[R] Insert R code in LaTeX document

2006-09-17 Thread Alexandre Depire
Hello, i would like to insert R code in LaTeX document. I see something about the 'listings' package, but i would like if it is the best way and if it is possible to use the command \include{programme.R}. I have the following solution but it doesn't work with \include and \input == LaTex

Re: [R] Insert R code in LaTeX document

2006-09-17 Thread Marc Schwartz
On Sun, 2006-09-17 at 16:45 +0200, Alexandre Depire wrote: Hello, i would like to insert R code in LaTeX document. I see something about the 'listings' package, but i would like if it is the best way and if it is possible to use the command \include{programme.R}. I have the following solution

Re: [R] Insert R code in LaTeX document

2006-09-17 Thread Anupam Tyagi
Alexandre Depire depire at gmail.com writes: Hello, i would like to insert R code in LaTeX document. I see something about the 'listings' package, but i would like if it is the best way and if it is possible to use the command \include{programme.R}. I have the following solution