These next tutorials demonstrate how to read data from various sources into R using the functions available in Essentia’s R Integration package.
In order to use R with Essentia, you must install the RESS package from C-RAN. The t2.micro AWS intance does not have sufficient memory to install the RESS package, we recommend at least an m3.medium. Once you have an instance of sufficient size, open R and then run:
install.packages("RESS")
This package contains three R functions that can be used to capture the output of Essentia commands into R.
All three functions require an Essentia Bash script to be executed that sets up the Essentia environment and optionally loads data into the UDB database. Thus they require you to run
sh **load_script_name**.sh
Examples of Essentia Environments are given in each of the tutorials below, as well as how to read the resulting data into R.
We maintain a GitHub repository that contains test data and source code for some of the tutorials you will find in this documentation.
To get started, pull the tutorial repository via:
$ git clone https://github.com/auriq/EssentiaPublic.git
The data and scripts relevant for most of the tutorials are under tutorials
and case studies
. This data is required in order to run any of the example code provided in this section.
Users are encouraged to go through the tutorials in order.