Hello list, I am writing a paper for Rnews. I use Sweave to do it. I did not find information about writing a paper for Rnews using Sweave and have some questions: - Is there a problem to use the environment 'Sinput' in the place of 'example' or 'smallexample'. It works fine but perhaps there are some technical/editorial problems ? - I have some long lines of code in schunk. I did not find any way to cut them in the Rnw file and they appear out of the column in the dvi file. The only solution I found is to cut these lines in the tex file generated by Sweave. Is there a more elegant and automatic solution to this problem? Thanks in advance. -- St??phane DRAY (dray at biomserv.univ-lyon1.fr ) Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I 43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88 http://www.steph280.freesurf.fr/
Le 11 Octobre 2005 11:18, St??phane Dray a ??crit??:> - I have some long lines of code in schunk. I did not find any way to > cut them in the Rnw file and they appear out of the column in the dvi > file. The only solution I found is to cut these lines in the tex file > generated by Sweave. Is there a more elegant and automatic solution to > this problem?See the Sweave FAQ: http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html#x1-16000A.14 -- Vincent Goulet, Professeur agr??g?? ??cole d'actuariat Universit?? Laval, Qu??bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
Hi St??phane Dray wrote:> Hello list, > > I am writing a paper for Rnews. I use Sweave to do it. I did not find > information about writing a paper for Rnews using Sweave and have some > questions: > - Is there a problem to use the environment 'Sinput' in the place of > 'example' or 'smallexample'. It works fine but perhaps there are some > technical/editorial problems ?Sweave commands/environments are fine thanks. We can handle them without any hassle. Paul (as member of R News editorial board)> - I have some long lines of code in schunk. I did not find any way to > cut them in the Rnw file and they appear out of the column in the dvi > file. The only solution I found is to cut these lines in the tex file > generated by Sweave. Is there a more elegant and automatic solution to > this problem? > > Thanks in advance. >-- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/