Re: [Rd] Recent and upcoming changes to R-devel

From: Steve Lianoglou <>
Date: Wed, 06 Jul 2011 15:04:15 -0400

On Wed, Jul 6, 2011 at 10:17 AM, Simon Urbanek <> wrote:
> On Jul 6, 2011, at 10:06 AM, Kasper Daniel Hansen wrote:
[aggressive trimming]
>>> It seems like something a front end could do to make assignInNamespace
>>> easier to use to make working with namespaces easier.
>> Indeed I find this change to be a very welcome addition to R that will
>> make the life easier for many of us; especially when you are using
>> someone else's package.
>> My use case is also not debugging my own code when it is a at a
>> semi-mature level.  I am addressing the very early stages of
>> developing a new package.  In my workflow (which may differ from other
>> people's; but I do think a substantial number would agree with me),
>> the early stages of development usually entails bringing order to a
>> number of R scripts; figuring out the structure of the basic objects
>> as well as the arguments for the important functions/methods.  In this
>> early stage, almost any evaluation I do at the R prompt is followed by
>> refactoring some part of the code (and then sourcing it into R).
>> Once the code is semi-matured (after the first couple of weeks), I
>> don't think I would mind a NAMESPACE at all, but I believe I would
>> find it very frustrating during the very early development stage
>> (which I am going through right now for one package and which I went
>> through a month ago for another package).
> .. but in that case it's easier to just source the package code. That allows much easier and consistent editing as well since you know everything is in the workspace, so you are not dealing with two sets of code.

And you could also try using Hadley's devtools package:

Last I tried to use it, there was some problems with some S4isms (that maybe were my fault(?)) so I switched back to sourcing my development-package-dirs (which is fine until you've got compiled code) -- but maybe the problems I was having with devtools have also been resolved. It could be worth a try.


Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info:

______________________________________________ mailing list
Received on Wed 06 Jul 2011 - 19:07:28 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Jul 2011 - 08:40:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive