Skip to content
Prev 14529 / 63424 Next

a better "source(echo=TRUE)" {was "....how to pause...."}

On Tue, 30 Nov 2004 12:51:12 +0100, Martin Maechler
<maechler@stat.math.ethz.ch> wrote:

            
I started trying to do that last summer, but ran out of time before I
finished, and haven't got anything new done this fall.  I think the
part you describe above was done, but what I hadn't worked out were
the details of where the source would be stored.  For example, if my
example was

# Comment 1
x <- 1
# Comment 2
y <- 2
# Comment 3

do I store the source in one place with references from each line, or
break it up into separate pieces (two or five),  or just refer to the
file these lines came from?  I was trying to do it by storing the
source or a filename reference in one place with offsets to it from
each line, but didn't get done.

Duncan Murdoch