Skip to content
Prev 40684 / 63424 Next

Recent and upcoming changes to R-devel

L.S.
On 07/05/2011 02:16 AM, Mark.Bravington at csiro.au wrote:
I completely second this request. All speed improvements and the byte
compiler in particular are leaps forward and I am very grateful and
admiring towards the people that make this happen.

That being said, 'moving away' from the sources (with the lazy loading
files and byte-compilation) may be a step back for R package developers
that (during development and maybe on separate development installations 
[as opposed to production installations of R]) require
the sources of all packages to be efficient in their work.

As many of you know there is an open source Eclipse/StatET visual
debugger ready and for that application as well (similar to Mark's
request) presence of non-compiled code is highly desirable.

For the particular purpose of debugging R packages, I would even plead
to go beyond the current options and support the addition of an
R package install option that allows to include the sources (e.g. in
a standard folder Rsrc/) in installed packages.

I am fully aware that one can always fetch the source tarballs from
CRAN for that purpose, but it would be much more easy if a simple
installation option could put the R sources of a package in a separate
folder [or archive inside an existing folder] such that R development
tools (such as the Eclipse/StatET IDE) can offer inspection of sources
or display them (e.g. during debugging) out of the box.

If one has the srcref, one can always load the absolutely correct source 
code this way, even if one doesn't know the parent function with
the source attribute.

Any comments?

Best,
Tobias

P.S. One could even consider a post-install option e.g. to add 'real'
R sources (and source references) to Windows packages (which are by
definition already 'installed' and for which such information is not
by default included in the CRAN binaries of these packages).

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