Subversion Repositories bdplot

Rev

Rev 42 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 42 Rev 47
1
***** Building/installing (from bash)
1
***** Building/installing 
-
 
2
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.
-
 
3
 
-
 
4
(from a running R session)
-
 
5
install.packages("/path/to/bdgraphics",repos=NULL)
-
 
6
 
-
 
7
(from bash)
2
R CMD check bdgraphics
8
R CMD check bdgraphics
3
## either
9
## either
4
R CMD build bdgraphics
10
R CMD build bdgraphics
5
R CMD INSTALL -l ~/R/x86_64-unknown-linux-gnu-library/<major.minor>/ bdgraphics_"version".tar.gz 
11
R CMD INSTALL bdgraphics_"version".tar.gz 
6
## or
12
## or
7
R CMD INSTALL -l ~/R/x86_64-unknown-linux-gnu-library/<major.minor>/ bdgraphics
13
R CMD INSTALL bdgraphics
8
 
14
 
9
**** To detach the old library and load the newly installed one in
15
**** To detach the old library and load the newly installed one in
10
     stead (from R)
16
     stead (from R)
11
 
17
 
12
unloadNamespace("bdgraphics")
18
unloadNamespace("bdgraphics")
-
 
19
library(bdgraphics)
-
 
20
 
-
 
21
***** Note for developers
-
 
22
If you have made a change to the package and want to re-install and load the new package, do (from R)
-
 
23
install.packages("/path/to/bdgraphics",repos=NULL)
-
 
24
unloadNamespace("bdgraphics")
13
library(bdgraphics)
25
library(bdgraphics)
14
 
26