Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
external_communication [2017/01/17 18:00] romulo [Table] |
external_communication [2019/04/02 21:00] (current) romulo |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| <note important>If the status bar shows 'External communication: off', check the Message Log for more information.</note> | <note important>If the status bar shows 'External communication: off', check the Message Log for more information.</note> | ||
| - | + | ==== Pre Requisites ==== | |
| - | ==== R Studio ==== | + | |
| The following packages are necessary for sending and receiving data using R. To install the packages, do: | The following packages are necessary for sending and receiving data using R. To install the packages, do: | ||
| <code> | <code> | ||
| install.packages(c("Rcpp", "RcppProgress", "rbenchmark", "inline")) | install.packages(c("Rcpp", "RcppProgress", "rbenchmark", "inline")) | ||
| </code> | </code> | ||
| + | <note important> if you are using Microsoft Windows, make sure your R installation path does not contain spaces.</note> | ||
| + | <note important> On Microsoft Windows, [[https://cran.r-project.org/bin/windows/Rtools/|R Tools]] is required (default installation path [c:\rtools] is **mandatory**). Make sure you also select the option to add RTools to system PATH. </note> | ||
| + | |||
| + | ==== Command Line === | ||
| + | Download {{::dinamica_1.0.4.tar.gz|Dinamica Package for R}} and install it: | ||
| + | <code> | ||
| + | install.packages("PATH_TO_DOWNLOADED_FILE", repos=NULL, type="source") | ||
| + | </code> | ||
| + | |||
| + | where PATH_TO_DOWNLOADED_FILE should match the downloaded file path, e.g. "/home/csr/Downloads/dinamica_1.0.4.tar.gz" on Linux or "c:/Users/CSR/Downloads/dinamica_1.0.4.tar.gz" on Windows.\\ | ||
| \\ | \\ | ||
| - | Then, install R Tools from [[https://cran.r-project.org/bin/windows/Rtools/]] \\ | + | Using the example path "/home/csr/Downloads/dinamica_1.0.4.tar.gz": |
| + | <code> | ||
| + | install.packages("/home/csr/Downloads/dinamica_1.0.4.tar.gz", repos=NULL, type="source") | ||
| + | </code> | ||
| + | |||
| + | ==== R Studio ==== | ||
| \\ | \\ | ||
| - | Download {{::dinamica_1.0.tar.gz|Dinamica Package for R}} and install it (using RStudio): | + | Download {{::dinamica_1.0.4.tar.gz|Dinamica Package for R}} and install it (using RStudio): |
| <code> | <code> | ||
| Tools -> Install Packages... | Tools -> Install Packages... | ||