Integrating R with Knime

Thanks Ivan , i gave up on MAC as it has too many challanges to fix

Now on Windows i Have KNME and R
I tried the steps on Issue with KNIME R version - #10 by mlauber71

install.packages(‘Rserve’,“http://rforge.net/",type="source”)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
trying URL ‘http://rforge.net/src/contrib/Rserve_1.8-6.tar.gz
Content type ‘application/x-gzip’ length 497894 bytes (486 KB)
downloaded 486 KB

Warning in untar2(tarfile, files, list, exdir, restore_times) :
failed to copy ‘Rserve/src/client’ to ‘Rserve/clients’

  • installing source package ‘Rserve’ …
    ** using staged installation
    Warning in system(“sh ./configure.win”) : ‘sh’ not found
    ERROR: configuration failed for package ‘Rserve’
  • removing ‘C:/Program Files/R/R-3.6.1/library/Rserve’
    Warning in install.packages :
    installation of package ‘Rserve’ had non-zero exit status

The downloaded source packages are in
‘C:\Users\Administrator\AppData\Local\Temp\RtmpimgocN\downloaded_packages’

install.packages(“C:/Users/Administrator/Downloads/Rserve_1.8-6.tar.gz”, repos = NULL, type = “source”)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Warning in untar2(tarfile, files, list, exdir, restore_times) :
failed to copy ‘Rserve/src/client’ to ‘Rserve/clients’

  • installing source package ‘Rserve’ …
    ** using staged installation
    Warning in system(“sh ./configure.win”) : ‘sh’ not found
    ERROR: configuration failed for package ‘Rserve’
  • removing ‘C:/Program Files/R/R-3.6.1/library/Rserve’
    Warning in install.packages :
    installation of package ‘C:/Users/Administrator/Downloads/Rserve_1.8-6.tar.gz’ had non-zero exit status

But for some reason i cannot install RServer. Also when i install R extensions on Knime from Install extensions its shows installed but no nodes displayed

Any pointers on this would be really help ful

I need to use qcc on KNIME thats the end goal

1 Like