close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Mar 25, 2015, 10:01:36 AM (10 years ago)
- Author:
-
Jorge
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
14 | 14 | == TolRInside == |
15 | 15 | |
16 | | TolRInside is the package that make possible to invoke R from TOL. This binary package is based on Rcpp and Rinside and requirethat both package be installed in order to work properly. |
| 16 | TolRInside is the package that make possible to invoke R from TOL. This binary package is based on Rcpp and Rinside and require that both package be installed in order to work properly. Besides we need to set the evironment variable R_HOME: |
17 | 17 | |
18 | | ... |
| 18 | {{{ |
| 19 | set R_HOME="C:\Archivos de programa\R\R-3.1.2" |
| 20 | }}} |
| 21 | |
| 22 | TolRInside only work with the TOL version compiled with mingw32 (see [wiki:CompileMINGW32]). |
| 23 | |
| 24 | This package can be installed as any other TOL package from the OTAN repository by just requiring the package: |
| 25 | |
| 26 | {{{ |
| 27 | #Require TolRInside; |
| 28 | }}} |
| 29 | |
| 30 | TolRInside can be compiled also from source code with the following instructions: |
| 31 | |
| 32 | 1. Download the source code: |
| 33 | {{{ |
| 34 | svn co ... |
| 35 | }}} |
| 36 | |
| 37 | 2. Create build directory |
| 38 | {{{ |
| 39 | cd C:\users\toldevel\OfficialTolArchiveNetwork\TolRInside |
| 40 | mkdir CodeLite\Debug |
| 41 | }}} |
| 42 | |
| 43 | 3. Configure build makefiles |
| 44 | {{{ |
| 45 | cd C:\users\toldevel\OfficialTolArchiveNetwork\TolRInside\CodeLite\Debug |
| 46 | cmake -DTOL_PREFIX_PATH=C:\users\toldevel\trunk\tol\CodeLite\Release\Runtime_Base -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" ..\.. |
| 47 | }}} |
| 48 | |
| 49 | 4. Build the binary library |
| 50 | {{{ |
| 51 | cd C:\users\toldevel\OfficialTolArchiveNetwork\TolRInside\CodeLite\Debug |
| 52 | mingw32-make |
| 53 | }}} |