R_Interactive Error

Hi all,

I am trying to execute simple R codes in R Interactive Snippet, but getting error saying :

R cannot be intialized.
null
 
after execution getting another error:
 
Error RController
 
Can someone tell what could be the problem?
Thanks in advance!

I would need the full stack trace to investigate the problem, also see the FAQ for problems with the new interactive R integration.

Hi Gabriel,

same here. The FAQ seems to refer to a different problem.

 

java.lang.NullPointerException at org.knime.r.RController.initR(RController.java:179) at org.knime.r.RController.(RController.java:152) at org.knime.r.RController.getDefault(RController.java:117) at org.knime.r.RSnippetNodePanel.createConsoleButtons(RSnippetNodePanel.java:348) at org.knime.r.RSnippetNodePanel.createPanel(RSnippetNodePanel.java:308) at org.knime.r.RSnippetNodePanel.(RSnippetNodePanel.java:191) at org.knime.r.RSnippetNodeDialog$1.(RSnippetNodeDialog.java:114) at org.knime.r.RSnippetNodeDialog.(RSnippetNodeDialog.java:114) at org.knime.r.RSnippetNodeFactory.createNodeDialogPane(RSnippetNodeFactory.java:58) at org.knime.core.node.Node$1.run(Node.java:1906) at org.knime.core.node.util.ViewUtils$3.run(ViewUtils.java:309) at org.knime.core.node.util.ViewUtils$2.run(ViewUtils.java:130) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:691) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

Thanks for reporting this problem. We are working on a fix that will be released with one of the next KNIME Desktop versions. Thanks again!