[BACK]Return to note.txt CVS log [TXT][DIR] Up to [local] / OpenXM / src / R / r-packages

Diff for /OpenXM/src/R/r-packages/note.txt between version 1.7 and 1.10

version 1.7, 2016/10/28 02:27:39 version 1.10, 2019/11/16 11:03:43
Line 1 
Line 1 
 $OpenXM: OpenXM/src/R/r-packages/note.txt,v 1.6 2016/02/15 07:42:07 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 39  See also OpenXM/src/hgm/note.txt
Line 49  See also OpenXM/src/hgm/note.txt
    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.
     dyn.load("hgm.so") can be used to load shared library by hand.      dyn.load("hgm.so") can be used to load shared library by hand.
Line 89  c<-hgm.p2wishart(m=4,n1=50,n2=100,beta=c(1,2,4,8),q0=0
Line 103  c<-hgm.p2wishart(m=4,n1=50,n2=100,beta=c(1,2,4,8),q0=0
   output is correct.    output is correct.
 c<-hgm.p2wishart(m=4,n1=50,n2=100,beta=c(1,2,4,8),q0=0.5,q=30,err=c(1e-30,1e-10),autoplot=1)  c<-hgm.p2wishart(m=4,n1=50,n2=100,beta=c(1,2,4,8),q0=0.5,q=30,err=c(1e-30,1e-10),autoplot=1)
   crashed, but by commented out todo in mh.c, it works. See @s/2016/02    crashed, but by commented out todo in mh.c, it works. See @s/2016/02
   
   ;;
   http://kbroman.org/pkg_primer/pages/cran.html
   
   R CMD check hgm --as-cran
   
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>