R View (Remote)

This Node Is Deprecated — This node is kept for backwards-compatibility, but the usage in new workflows is no longer recommended. The documentation below might contain more information.

Enables the usage of R views generated on an R server. View displays the R View generated by the R command entered within the dialog. The entire data is transfered to the R server and the entered commands are executed. The resulting png file is passed into KNIME and is displayed in the node's view.
Missing values are supported, that is, missing values in numeric columns are transfered as NaN (Not a Number) to the R server while missing values in all other types of columns are sent as NA.

R installation:
In order to get the R nodes running, you have to install the R-project first, see www.r-project.org. Also the R server which responds to R commands has to be installed and running, see http://www.rforge.net/Rserve/.
Also make sure that you have the latest available or compatible R-project version at hand. For Windows you may download an R server for your R-project version. All other operating systems require the most recent clients (R-project installation). We offer downloads of current versions of R and Rserve that are compatible with KNIME on our website. Please note that in the current version the R server needs to be restarted from time to time. If an R node hangs, interrupt the R server and restart it. Warnings and errors are printed in the R server window.


More details about R:
http://www.r-project.org/
Short-refcard.pdf

Options

R Command

R Snippet
Examples of R code for the creation of plots can be generated by selecting a certain item (plot) of the drop down box. Furthermore, the R code within the command editor can be modified to create user specific views.
Column List
The list contains the column that are available in the input table. Double click any of the column names to insert the respective field in the expression editor. It will replace your current selection or simply insert at the current caret position.
Flow Variable List
The list contains the flow variables that are currently available at the node input. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).
View type
Choose a R view from the list of predefined view command and adapt the parameter list in the R command panel. Generic X-Y Plotting, Box Plots, Bar Plots, Cleveland Dot Plots, Association Plots, Conditional Density Plots, Display Contours, Conditioning Plots, Draw Function Plots, Fourfold Plots, Histograms, Plot Columns of Matrices, Mosaic Plots, Scatterplot Matrices, Perspective Plots, Pie Charts, Polygon Drawing, Spine Plots and Spinograms, Star (Spider/Radar) Plots and Segment Diagrams, Sunflower Scatter Plot, 1-D Scatter Plots.

PNG Settings

Image width
The width of the image to create and display in pixels
Image height
The height of the image to create and display in pixels
Resolution (dpi)
The nominal resolution in dpi which will be recorded in the bitmap file, if a positive integer. Also used for units other than the default. If not specified, taken as 72 dpi to set the size of text and line widths.
Point size
The point size of plotted text. One point is approximately one pixel.
Background color
The background color encoded in RGB Hex.

Login

Host
The IP of the computer where the R server is running, for example localhost with IP 127.0.0.1
Port
The port id, default is 6311.
User
The login name can be empty.
Password
The password can be empty.

Input Ports

Icon
Data Input

Output Ports

Icon
View Image

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

R View
View displays the png generated by the R command entered within the dialog.

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.