R Snippet os only working in Dialog window, but not by executing node

Hi Jan,

The code does work for me too.
Could you maybe share the workflow (or a sample data set) you are using, so I could try to reproduce the error?
Thanks!
Daria