25. $ R CMD SHLIB test.c
• test.so
• R R
• Makefile Makevars
26. R C
dyn.load("test.so")
test <- function(n) {
.Call("test", integer(n))
}
test(24)
Writing R Extensions
http://cran.r-project.org/doc/contrib/manuals-jp/R-exts.jp.pdf
52. • C R - Seeking for my unique color.
http://d.hatena.ne.jp/syou6162/20090117/1232125870
• Writing R Extensions
http://cran.r-project.org/doc/contrib/manuals-jp/R-exts.jp.pdf