Hi team,
I’m trying to add an R node to my workflow, but R Source is not working. I have this error message:
“R cannot be initialized.
Exception occurred during R initialization.”
I’m using a Mac with macOS Catalina 10.15.4
Hope you can help me!
Hi team,
I’m trying to add an R node to my workflow, but R Source is not working. I have this error message:
“R cannot be initialized.
Exception occurred during R initialization.”
I’m using a Mac with macOS Catalina 10.15.4
Hope you can help me!
Hello @rube22,
Did you install R on your MAC? Here is our guide on how to setup R with KNIME https://docs.knime.com/2020-07/r_installation_guide/index.html. Let me know if you have gone through this steps already and the version of KNIME you are using.
Thanks,
Cynthia
Hi @cpadilla
yes, I did it again and now I have the error (I’m using KNIME 4.2.0):
ERROR: Could not execute internal command.ERROR: R evaluation failed.: "sapply(ls(),function(a)class(get(a,envir=globalenv()))[1])"ERROR: R evaluation failed.: "sapply(ls(),function(a)class(get(a,envir=globalenv()))[1])"ERROR: eval failed
The only thing that I did differently is that I used:
install.packages(‘Rserve’)
instead of
install.packages(‘Rserve’,“http://rforge.net/",type="source”)
What version of Rserve are you using? I am going to send you a script that has helped other users that have MacOS and R. Please send me an email to cynthia.padilla@knime.com
Once you have the script then you can do the following:
remove.packages(“Rserve”)
Here is a workflow where you can check your version of RServe and links to some articles. You will have to make sure you run RServe version 1.8.6.
@cpadilla @mlauber71 thank you Now it works!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.