I am just learnig R by implementing example code from literature. Typically examples start with:
data<-read.csv("filename")
That has to be translated to R<-R if a predecessor node is the input for a R Snippet node, correct? And the result for the next node has to be placed in variable R, too?
and use your code as given in the examples (working off “data”). Graphs get caught as output automatically, computations need to be stuffed back into the (multidimensional) “R” variable through something along the lines of
R<-resultdata
I’m no R expert, so I always struggle with matrices, data frames and the like, but fiddling will usually get you there. Too much of GUI guy, eh. Eventually I’ll read “R in Action” and learn my share, I guess.