Working With R

<< Click to Display Table of Contents >>

Navigation:  User Manual >

Working With R

Previous pageReturn to chapter overviewNext page

 

Plato Analysis has the ability to create R Data Frames for using within an external R GUI.

 

A discussion of R is outside the scope of this document, and the reader is referred to the ample documentation online.

 

 

To setup R for Plato Analysis Data Set exporting, the following prerequisites must be met.

 

The Microsoft R environment must be installed. This can currently be found in https://mran.microsoft.com/download. This is a free download.

 

Copy the files in [Program Files\[CPRT Plato Analysis Install Folder]\RStudio to the bin folder of the R installation folder. The default for this folder will be

 

C:\Program Files\Microsoft\MRO\R-3.3.0\bin\x64.

 

 

Restart Plato Analysis if already running.

 

 

DataTables as R Data Frames

 

R Data Frames may be created directly from Query Builders or from a DataGrid.

 

The created dataframe is called griddata for a DataGrid. A partial dump of the data might yield something similar to the following:

 

R_GridData

 

 

 

As this is a standard R dataframe, any and all R indexing, functions, and libraries may be applied.