Skip to content
Prev 23008 / 63421 Next

Source references from the parser

On 11/25/06, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
I haven't tested this, but the idea seems useful. Will this have any
effect on code parsed using parse(text = "...")? Can it be extended to
have some such effect? I ask because this is relevant in the context
of Sweave, where I have always wanted the ability to retain the
original formatting. I'm currently testing a patch that allows me to
do this specifically for Sweave, but a more general solution is
obviously preferable.

-Deepayan