R Source (Workspace)

A node for reading diverse data sources from R into an R Workspace Port. Use this when there are R functions that you want to use to read an exotic file into R but need to branch your workspace in R before bringing it completely into KNIME. The R library "foreign" provides support for some "exotic" data types. Reasons for needing a workspace branch include the generation of multiple visualizations from a single data frame.

More details about R:

http://www.r-project.org/
Short-refcard.pdf

library(foreign)

Options

R Snippet

R Script
The R commands being executed in R. Variables will be saved to the R Workspace port.
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).

Templates

Category
A template category defined by the author.
Title
Name of the template.
Description
A brief overview of the purpose of the template.
Preview
The code to be applied to your expression editor.

Advanced

Overwrite default path to R home
Check this option to select a path to the home of a R installation that is different from the path configured on the R preference page. The path must point to the root folder of the R installation tree. You can either specify the path directly or use the R installation in a conda environment. The conda environment can be specified using a conda environment flow variable from e.g. a “Conda Environment Propagation” node.

Input Ports

This node has no input ports

Output Ports

Icon
A workspace containing new data from within R

Views

R Std Output
The text sent to standard out during the execution of R executable as well as the text of the .Rout file generated by R.
R Error Output
The text sent to standard error during the execution of R executable as well as the text of the .Rout file generated by R. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)

Workflows

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.