Re: [Rd] Recover source from LazyLoaded installation

2010-07-27 Thread Prof Brian Ripley
On Mon, 26 Jul 2010, Paul Roebuck wrote: I had already tried that but can't get past this: Error: package was built before R 2.10.0: please re-install it He said use lazyLoad, not library. It works for me: env <- new.env() lazyLoad('R/foo', envir = env) dump(ls(env, all=TRUE), "foo.R", envir

Re: [Rd] Recover source from LazyLoaded installation

2010-07-27 Thread Paul Roebuck
I had already tried that but can't get past this: Error: package was built before R 2.10.0: please re-install it Sent from my iPhone On Jul 25, 2010, at 7:03 PM, Simon Urbanek wrote: > > On Jul 23, 2010, at 2:46 PM, Paul Roebuck wrote: > >> Is there a means of recovering the source from a pac

Re: [Rd] Recover source from LazyLoaded installation

2010-07-25 Thread Simon Urbanek
On Jul 23, 2010, at 2:46 PM, Paul Roebuck wrote: > Is there a means of recovering the source from a package with LazyLoad = > true? Package is Windows 2.9.1 pure R but have no access to original. In R > directory, I see , > .rd[bx], .rd[bx]. Attempting this on OS X 10.6 with > R-2.11.1 if it