Displaying 1 result from an estimated 1 matches for "chartvalu".
Did you mean:
chartvalue
2010 Jun 10
1
Sweave cutting new lines
...o 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, Sweave for some reason seems to trim everything outside
forloops. Hence, this
<<results=tex,echo=FALSE>>=
sec<-0
lambda<-0
chartvalue<-"b"
relsec<-0
for (chartvalue in c("b","beta")) {
for (relsec in 0:(e("count pd")-2)) {
file<-paste("working/frontfile",sec,"x",lambda,"x",chartvalue,"x",relsec,".pdf",sep=""...