Rev 42 | Blame | Compare with Previous | Last modification | View Log | RSS feed
***** Building/installing
You can either install from a running R session or from Bash. Notice that there is no need to build the package before installing it.
(from a running R session)
install.packages("/path/to/bdgraphics",repos=NULL)
(from bash)
R CMD check bdgraphics
## either
R CMD build bdgraphics
R CMD INSTALL bdgraphics_"version".tar.gz
## or
R CMD INSTALL bdgraphics
**** To detach the old library and load the newly installed one in
stead (from R)
unloadNamespace("bdgraphics")
library(bdgraphics)
***** Note for developers
If you have made a change to the package and want to re-install and load the new package, do (from R)
install.packages("/path/to/bdgraphics",repos=NULL)
unloadNamespace("bdgraphics")
library(bdgraphics)