Skip to content
Prev 40692 / 63424 Next

Recent and upcoming changes to R-devel

On Jul 5, 2011, at 1:45 PM, Tobias Verbeke wrote:

            
When you edit such files.
... unless you edit it.
Yes, but the moment you change a file it is no longer reflected in R unless you re-source it.

This is usually not an issue if you have a separate installed copy, but if you edit directly on the installed sources (something less frequent with lazy-loaded packages but more so in the old days), the files won't reflect what's actually parsed. This is a common problem, not specific to R, really. By keeping the sources with the objects, you guarantee that they match even if the sources files have been edited - useful for debugging. It not as esoteric as it sounds - just store a function in a workspace and then continue working on a project ...
We are providing even debugging symbols in packages [on Mac OS X], so I suppose keeping sources is a probable option unless it has some significant speed penalty. However, AFAICS most of the discussion so far is quite pointless since it's based solely on speculations and misinterpretations of the original message.

Cheers,
Simon

Thread (23 messages)

Brian Ripley Recent and upcoming changes to R-devel Jul 4 Martin Morgan Recent and upcoming changes to R-devel Jul 4 Brian Ripley Recent and upcoming changes to R-devel Jul 4 Mark Bravington Recent and upcoming changes to R-devel Jul 4 Tobias Verbeke Recent and upcoming changes to R-devel Jul 5 Duncan Murdoch Recent and upcoming changes to R-devel Jul 5 Tobias Verbeke Recent and upcoming changes to R-devel Jul 5 Duncan Murdoch Recent and upcoming changes to R-devel Jul 5 Stephan Wahlbrink Recent and upcoming changes to R-devel Jul 5 Duncan Murdoch Recent and upcoming changes to R-devel Jul 5 Tobias Verbeke Recent and upcoming changes to R-devel Jul 5 Simon Urbanek Recent and upcoming changes to R-devel Jul 5 Duncan Murdoch Recent and upcoming changes to R-devel Jul 5 Stephan Wahlbrink Recent and upcoming changes to R-devel Jul 6 Duncan Murdoch Recent and upcoming changes to R-devel Jul 6 Kasper Daniel Hansen Recent and upcoming changes to R-devel Jul 6 Duncan Murdoch Recent and upcoming changes to R-devel Jul 6 Kasper Daniel Hansen Recent and upcoming changes to R-devel Jul 6 Simon Urbanek Recent and upcoming changes to R-devel Jul 6 Steve Lianoglou Recent and upcoming changes to R-devel Jul 6 Mark Bravington Recent and upcoming changes to R-devel Jul 7 Duncan Murdoch Recent and upcoming changes to R-devel Jul 7 Hervé Pagès Recent and upcoming changes to R-devel Jul 7