version 1.8, 2016/10/30 01:10:18 |
version 1.10, 2019/11/16 11:03:43 |
|
|
$OpenXM: OpenXM/src/R/r-packages/note.txt,v 1.7 2016/10/28 02:27:39 takayama Exp $ |
$OpenXM: OpenXM/src/R/r-packages/note.txt,v 1.9 2017/03/22 00:42:56 takayama Exp $ |
|
|
See also OpenXM/src/hgm/note.txt |
See also OpenXM/src/hgm/note.txt |
|
|
|
* R package build, reference pages. |
|
https://cran.r-project.org/bin/macosx/tools/ |
|
* Example |
|
Edit files in src/hgm |
|
cd R/r-packages |
|
make rsync |
|
R CMD INSTALL hgm |
|
Start R and library(hgm) |
|
hgm.ncso3() |
|
|
* C source codes. |
* C source codes. |
C sources and headers should be developed and edited in the directory |
C sources and headers should be developed and edited in the directory |
OpenXM/src/hgm in order to provide a standalone mode without R |
OpenXM/src/hgm in order to provide a standalone mode without R |
Line 28 See also OpenXM/src/hgm/note.txt |
|
Line 38 See also OpenXM/src/hgm/note.txt |
|
R CMD INSTALL hgm |
R CMD INSTALL hgm |
R |
R |
library(hgm) |
library(hgm) |
You can check hgm.so3nc by hand. |
You can check hgm.ncso3 by hand. |
R CMD REMOVE hgm |
R CMD REMOVE hgm |
It is used to remove the test library. |
It is used to remove the test library. |
|
|
Line 38 See also OpenXM/src/hgm/note.txt |
|
Line 48 See also OpenXM/src/hgm/note.txt |
|
( Check R CMD INSTALL --help for details. ) |
( Check R CMD INSTALL --help for details. ) |
or |
or |
R CMD build --binary hgm (perhaps, obsolete style) |
R CMD build --binary hgm (perhaps, obsolete style) |
|
|
|
(5) make copy-web-hgm |
|
hgm_x.yz.tar.gz |
|
[cran submit package] search ==> http://cran.r-project.org/submit.html |
|
|
* Notes. |
* Notes. |
library.dynam() shows a list of shared libraries loaded. |
library.dynam() shows a list of shared libraries loaded. |