=================================================================== RCS file: /home/cvs/OpenXM/src/R/r-packages/note.txt,v retrieving revision 1.10 retrieving revision 1.12 diff -u -p -r1.10 -r1.12 --- OpenXM/src/R/r-packages/note.txt 2019/11/16 11:03:43 1.10 +++ OpenXM/src/R/r-packages/note.txt 2022/04/06 01:03:42 1.12 @@ -1,4 +1,4 @@ -$OpenXM: OpenXM/src/R/r-packages/note.txt,v 1.9 2017/03/22 00:42:56 takayama Exp $ +$OpenXM: OpenXM/src/R/r-packages/note.txt,v 1.11 2020/02/06 05:58:17 takayama Exp $ See also OpenXM/src/hgm/note.txt @@ -12,6 +12,11 @@ https://cran.r-project.org/bin/macosx/tools/ Start R and library(hgm) hgm.ncso3() + ??hgm + ?hgm.ncorthant + + remove.packages('hgm') + * C source codes. C sources and headers should be developed and edited in the directory OpenXM/src/hgm in order to provide a standalone mode without R @@ -109,4 +114,22 @@ http://kbroman.org/pkg_primer/pages/cran.html R CMD check hgm --as-cran + +;; +2020.02.06 Installing r-devel + apt-get install subversion ccache + apt-get install xorg-dev + apt-get install libcurl4-openssl-dev + apt install libpcre2-dev (2022.04.06 this22/R orange3m) + pushd ~/this19/R (for example) + svn co https://svn.r-project.org/R/trunk r-devel/R + cd r-devel/R and follow the INSTALL + ./configure --without-recommended-packages --prefix ~/this19/R + make + export PATH=~/this19/R/r-devel/R/bin:$PATH + + +Valgrid can be used by + valgrind ./a.out +A sample: main() { int n; if (n>0) n=0; }