Displaying 1 result from an estimated 1 matches for "r_lazyloaddbflush".
2008 Jan 14
3
unload & reload a (new version of a) package
...& re-install it (using R
CMD)
then I can't get the newer version of the package to load in the
existing R
session (i have to close it out and start a new session, then the newer
version of the package is loaded).
looking through the source of 'detach' i see :
.Call("R_lazyLoadDBflush", paste(libpath, "/R/", pkgname,
".rdb", sep = ""), PACKAGE = "base")
is there some absolute way similar to the above to flush the package db
and ensure that a newer version of the package can be loaded into the
existing R session? detach...