Re: [Rd] reinforce library to re-load

2007-07-03 Thread Prof Brian Ripley
Please don't post to multiple lists: I am replying only to R-devel. You should detach your package, and if it has a namespace unload it, before attempting to reload it. Something like detach("package:foo") library(foo) or unloadNamespace("foo") # this also detaches the package library(foo)

[Rd] reinforce library to re-load

2007-07-03 Thread Weiwei Shi
Hi, I am wondering if there is a parameter in library() so that it can reinforce package to be reloaded. It helps when you test your modified package by yourself. Otherwise, my way is to re-start Rgui. (by reading ?library, I understand this option is not implemented) "...Both functions check and