On 17 Mar 2008, at 14:03, Alain Matthes wrote:
On 17 Mar 2008, at 12:14, Charilaos Skiadas wrote:
If I understand you correctly, have a look at Sweave:
http://www.stat.umn.edu/~charlie/Sweave/ http://www.ci.tuwien.ac.at/~leisch/Sweave/
Haris, thanks for this answer but I found Sweave too complex ( I discover R and Sweave recently , perhaps in a few days this tool will be very fine for me) My idea is to make a latex package to create interactivity between R and pgf, like gnuplot and pgf.
What do you mean with "interactivity"? Can you give an example?
On the other hand Sweave is not too complex.
A good starting point is to download the file http://www.stat.umn.edu/~charlie/Sweave/foo.Rnw
Save that file as foo.Rnw in a new empty folder. Open that file in TM. TM sets the language to SWeave. Press APPLE+R. That's it. E.g. you will see the plots embedded in your PDF etc. Afterwards you can play with the Rnw source code. (The SWeave bundle will create a tex file foo.tex out of foo.Rnw.)
--Hans