Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • mlauber71
  • Spaces
  • Public
  • kn_example_r_basic_knime_in_out_flow_variable
WorkflowWorkflow

very basic R nodes in KNIME - knime.in, knime.out and handle Flow Variables

R Rstudio Flow variables Flow Variable
+6
mlauber71 profile image

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
very basic R nodes in KNIME - knime.in, knime.out and handle Flow Variables The Component will provide you with a curated R version in a conda environment "knime_r_environment" You will need a working Miniforge (https://github.com/conda-forge/miniforge) or Miniconda (https://docs.conda.io/en/latest/miniconda.html) or Anaconda environment. As an alternative you could install your own R/RStudio and point KNIME to it without propagation. In the /data/ folder there will be an Excel File my_r_packages_.xlsx that would contain a list of R packages from the installation. --------------------------------- # you will need a working Anaconda oder Miniconda installation # please note - the popular Anaconda package has changed its licensing recently. # So make sure you comply with that. Or use Miniconda with conda-forge for the time being # https://docs.conda.io/en/latest/miniconda.html # following: https://hub.knime.com/marcelw/spaces/Public/latest/Conda_Environment_Propagation_for_R~WqCc-xp5owF0HC4p conda create -n knime_r_environment -c defaults -c conda-forge r-base r-rserve r-essentials # you might have to install a special version of RServe > 1.8.6 conda install -c conda-forge r-rserve=1.8_7 # # To activate this environment, use # conda activate knime_r_environment # # To deactivate an active environment, use # # $ conda deactivate # install in one step conda install -c conda-forge r-ggplot2 r-sessioninfo r-foreign r-readr r-readxl r-cairo # install in individual steps conda install -c conda-forge r-sessioninfo conda install -c conda-forge r-foreign conda install -c conda-forge r-readr conda install -c conda-forge r-cairo # if you want to use h2o from within KNIME conda install -c conda-forge r-h2o # check the conda environments conda info --envs

External resources

  • basic KNIME/R yaml/yml file to install R via conda
  • find KNIME YAML environment configurations on local machine
  • Miniforge
  • Miniconda installation - "Miniconda is a free minimal installer for conda"
  • Conda - Managing environments
  • Conda_Environment_Propagation_for_R
  • (official) KNIME Interactive R Statistics Integration Installation Guide
  • A meta collection and article about R and KNIME

Used extensions & nodes

Created with KNIME Analytics Platform version 4.7.1
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.1

    knime
  • Go to item
    KNIME Conda Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Excel Support Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Expressions Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Interactive R Statistics Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Math Expression (JEP) Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Quick Forms Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.1

    knime
  • Go to item
    KNIME SVG Support Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item
Loading deployments
Loading ad hoc executions

Legal

By using or downloading the workflow, you agree to our terms and conditions.

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits