-
Notifications
You must be signed in to change notification settings - Fork 4
/
NOTE.otl
31 lines (27 loc) · 993 Bytes
/
NOTE.otl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Build
sudo apt-get install libbz2-dev
API
http://cran.r-project.org/doc/manuals/R-exts.pdf
http://cran.r-project.org/doc/manuals/r-release/R-exts.html
http://cran.r-project.org/doc/manuals/r-release/R-ints.html
Rinside
http://dirk.eddelbuettel.com/code/rinside.html
: tool to make embedding R in C++ easier
Statistics::useR
http://p3rl.org/Statistics::useR
: CPAN module that uses the Rembedded API to provide a thin wrapper around
: R code evaluation. Forking is used to support multiple interpreters, but
: data is not shared after the fork, nor is there a sharing mechanism
: built-in for use after the fork (that is, *besides* loading the
: necessary data before forking).
Statistics::R
http://p3rl.org/Statistics::R
: CPAN module that uses pipes to control an R subprocess
Problems to solve
a good way to represent R objects in Perl
; data.frame()
PDL support
args
use List::AllUtils qw(pairmap);
$h = { a => 1, b => 2 };
@kv_pairs = pairmap { [ $a, $b ] } %$h;