Re: [Rd] Sweave tokens not in column 1: enhancement request

2011-04-20 Thread David.Epstein
Friedrich Leisch-2 wrote: > >> On Tue, 19 Apr 2011 13:59:44 -0700 (PDT), >> David Epstein (DE) wrote: > > > When I re-use a code chunk in Sweave, together with keep.source=TRUE, > I would > > like to follow usual programming conventions in which the amount of > white > > space on t

[Rd] Sweave tokens not in column 1: enhancement request

2011-04-19 Thread David.Epstein
When I re-use a code chunk in Sweave, together with keep.source=TRUE, I would like to follow usual programming conventions in which the amount of white space on the left indicates logical structure. It seems that one can't do this in Sweave, or am I wrong? for (i in ind) { do such-and-such and