Hello,
I am having some issues when using R nodes like “Table to R”, “R snippet”. Independent of previous nodes and table complexity i did not get a “knime.in”.
My latest test was just a table creator with just 7 columns and 127 rows (all string).
On my local machine all worked well.
Unfortunatally our Knime server admin is not available so i cannot provide any information on server and R versions. But a last update was done 3-4 weeks ago. My local versions are:
Knime 4.3.1
R 3.6.2
Did not expect any memory issue with this small table size. Maybe a version or package issue?
Would be great if anyone has an idea where the problem is!
Dear @larsgrohmann
it’s quite hard to debug these things without server access, but lets give it a try. 
Is the only problem symptom the missing knime.in table? Can you e.g. run an R Snippet that simply loads various libraries and outputs some test data?
How do you notice that knime.in is missing? Do you have any output log?
Kind regards
Marvin
Hi Marvin,
Thanks for your help.
Loading packages is no problem and the probelm already appears when using a simple “Table to R” node.
The executed “Table to R” node is having a green traffic light. The only error message appears in config mode when evaluating the script:
rframe ← knime.in
Error: object ‘knime.in’ not found
and the corrosponding workspace entry is missing:
Kind regrards,
Lars
Hi Lars,
now I see. I think this is only a visual issue when using the Remote Workflow Editor to view the node configuration; the variable probably is present on the server.
I will see if I can grab hold of a developer regarding this and get back to you.
Kind regards
Marvin
Hi Lars,
I have created a ticket (internal reference: SRV-3548) for the issue and will update you, when this gets fixed. I’m afraid though that this may take a while and I can’t put a date to it.
We are also aware that working with R nodes remotely isn’t perfect and are looking into ways of improving that in the future.
Kind regards
Marvin
1 Like
Hi Marvin,
Thanks a lot for the support!
Kind regards,
Lars
2 Likes
Hi,
Just want to give a short update from my side after we had some sessions with our R expert.
The “knime-in” is available but not shown in the workspace of the config screen. Maybe that is something which could be fixed in the future.
Finally the main issue was a missing package in the R inst on the server (yes… so easy ;-)). Problem is that in configuration of the R node the local R inst of the user is used and not the one on the server. That’s why we were not able to locate the problem. So debugging of R scripts on the Knime server is very difficult. Maybe this is something to imporve in future releases.
Kind regards,
Lars
5 Likes
Hi Lars,
thank you very much for the update on the matter. I will include this in the (still open) ticket.
I’m glad you found the culprit, despite the tricky debugging.
Kind regards
Marvin
1 Like