yes, but we loose the possibility to use a 'simple' text editor. For example, I like to use emacs+ess to edit and evaluate R code, and to write my report in the same editor. I like the idea that the input format could be writen with a simple text editor, and the output format be chosen after. I know that the syntax of the input file could be too difficult for newbie users (that's why odfWeave is very usefull), but this can be bypass a specific editor like kile for latex...
2008/1/16, Max Kuhn <[EMAIL PROTECTED]>: > > 2008/1/16 David Hajage <[EMAIL PROTECTED]>: > > > Ps : I would like to know if there is an R project to include all > existing > > format outputs (latex with Sweave, odf with odfWeave, html with > rWeaveHTML) > > and all the wonderful work of their author in a same package or in a > same > > project. All of these use a very similar syntax (<<foo>>= R code @), but > > there is anyway a lot of work to rewrite the R code to make a file > writes > > for Sweave working with odfWeave. A latex file can be convert to latex > or > > rtf, but it depends on external programs not very easy to use. > > For example, I would imagine an input similar to the syntax of help > files > > (.Rd), but the R code could be include (<< foo >>= R code @), and a > > When developing odfWeave, I did run into issues that could not be > taken into account with Sweave. That is why odfWeave calls Sweave > instead of using Sweave directly (as you would with the R2HTML > package). It would be nice to have a more uniform/expanded interface > in Sweave that can more naturally accommodate other types of markup > (beyond writing drivers). > > > Sweave-like function could replace R code with results and convert the > file > > into latex, html or odf. > > I *think* that odfWeave with OpenOffice/NeoOffice can do that. I think > I saw somewhere that newer versions of OO support LaTex, but clearly I > haven't looked into it. I do know that using OO as a conversion tool > to rtf, doc, pdf and html works very well. > > -- > > Max > [[alternative HTML version deleted]] ______________________________________________ R-help@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.