[R] Disable LazyLoading mechanism completely
Paul Roebuck
roebuck at mdanderson.org
Mon Apr 3 08:17:00 CEST 2006
On Sat, 1 Apr 2006, Duncan Murdoch wrote:
> On 3/31/2006 6:03 PM, Paul Roebuck wrote:
> > On Fri, 31 Mar 2006, Duncan Murdoch wrote:
> >
> >> On 3/31/2006 5:15 PM, Paul Roebuck wrote:
> >>> Is there a global option somewhere that can completely
> >>> disable the LazyLoad option? I want all my packages
> >>> in source format for searching purposes, crippled by
> >>> the conversion to database format.
> >> Why not just keep the source? Maybe I misunderstood where
> >> you're thinking of searching, but I think even without
> >> LazyLoad, you'll lose comments in the functions.
> >
> > My thought is something along the lines of
> >
> > options(lazy.load = FALSE)
> >
> > which would override the setting in the DESCRIPTION file
> > as though every package had set it as:
> >
> > LazyLoad: no
> >
> > I want the ability to patch/search the code by default.
> > LazyLoad removes this capability. I know there will be a
> > minor speed hit and accept that in exchange for the above
> > capability.
>
> Lazy loading just replaces each object with a promise to
> load it, right? So if you need to do a search/patch,
> couldn't you force those promises during the search?
As far as searching, think outside the bun - grep, mdfind.
Patching-wise, used to be able to just correct <package>.R
and try again, which no longer exists as a compilation of
the R source files from the package in text format. Much
faster development-wise than constantly reinstalling the
package.
----------------------------------------------------------
SIGSIG -- signature too long (core dumped)
More information about the R-help
mailing list