Re: [R] Sweave cutting new lines

2010-06-21 Thread Florian Burkart
nden: donderdag 10 juni 2010 14:44 Aan: r-help@r-project.org Onderwerp: [R] Sweave cutting new lines Hi, I have trouble with Sweave (I think) cutting of my newlines. As stated in the help of Sweave, I generate tex code straight from R for dynamically computed reports. If I do this in R: fo

Re: [R] Sweave cutting new lines

2010-06-10 Thread ONKELINX, Thierry
tracted from a given body of data. ~ John Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Florian Burkart > Verzonden: donderdag 10 juni 2010 14:44 > Aan: r-help@r-project.org > Onderwerp: [R] Sweave

[R] Sweave cutting new lines

2010-06-10 Thread Florian Burkart
Hi, I have trouble with Sweave (I think) cutting of my newlines. As stated in the help of Sweave, I generate tex code straight from R for dynamically computed reports. If I do this in R: for (i in 0:4) {cat("\n",i,"\n")};cat("\n 3") 0 1 2 3 4 3 The output looks correct. However