R Console Organization

<< Click to Display Table of Contents >>

Navigation:  R Statistics in PMOD >

R Console Organization

The user interface of the R console has some framework operations, a main part and a taskbar to the right.

picture_6700

Framework

There are some convenience buttons at the top of the window:

picture_7854

Buttons to minimize/maximize the R console window.

picture_7855

Captures the entire screen (not only the PMOD window) and adds it to a console buffer.

picture_7856

Opens the Console dialog window for checking the log output and reporting problems to  support@pmod.com.

picture_7857

Open help window.

picture_7858

Button for opening the R server configuration window.

picture_7859

Button for reconnecting to the R server, if a connection problem occurred.

picture_7872

Dividers between different parts of the layout allow extending/shrinking the respective areas.

Main Window Layouts

The main statistics part has 5 different layouts depending on selection in the upper left:

picture_6701

Command layout: Allows invoking existing analysis scripts as well as editing and executing native R commands on the loaded data.

picture_6702

Plotting layout: Allows producing different plots of the data, and inspecting the plots produced by analysis scripts.

picture_6703

Table layout: Allows inspecting the data variables of the R workspace. Initially, the loaded data appear as variables g1, g2, etc. Scripts add variables to the workspace. Data can be copied to the clipboard for external usage.

picture_7860

Text layout: Allows extracting the contents of numerical variables into a text field.

picture_6704

Image layout: Allows visualizing images. Is only active after image data have been transferred.

Next to the layout buttons is an area containing several buttons

picture_6705

which are related to programming in R and effective in different contexts:

RExtractIcon

Generates R code for extracting parts of the workspace variables.

RExeListVar

Lists the variables in the workspace and inserts the selected variable into the command line.

RExecute

Executes the whole code in the command window.

RExeVarPreview

Executes the selected code in the command window.

picture_6706

Clears the contents of the command window after execution.

Lateral Taskbar

The elements in the taskbar have the following functionality:

picture_5598

Loading of information as described below.

picture_7861

Input files can be dragged to this box for opening them

Button Save

picture_6708

Saving of

the contents of the command window in two ways: as a new Script , which can be loaded, or as a plugin, which can directly be selected from a list;  

all data variables as an R workspace (Workspace Data, .RData file) which can be loaded back into the PMOD R console, but also directly to R or other graphical front-ends of R (e.g. R Studio).

matrices can be saved as Table CSV files.

picture_603

Printing a report which may include plots, tables and/or images, depending on the analysis performed.

RInterfaceClearWorkspace

Clears all the variables in the R workspace.

picture_7865

Opens the configuration settings window:

RConfig

If user scripts require additional R packages, they can be typed into the Additional packages ... window and checked with the Verify ... button.

picture_6709

Tools location is layout option. The tools section may be arranged at the Top (as in this documentation), or at the Bottom.

Initial Workspace Data directs the R console to load an R workspace file whenever it is started. This file might include R functions developed by the user.

picture_4919

Opens the Console dialog window for checking the log output and reporting problems to  support@pmod.com.

picture_6731

Shortcut for opening the scripts selection. System scripts are listed first, followed by scripts which were saved as plugins.

picture_6732

picture_7866

Opens the aggregation window for compiling individual statistics into an aggregate table.