Re: R nodes in SPSS modeler
Posted by
Chichi Shu on
Apr 22, 2014; 4:44pm
URL: http://spssx-discussion.165.s1.nabble.com/R-nodes-in-SPSS-modeler-tp5725585p5725589.html
Thanks, Jon.
I’m having difficulty even at check the working directory of the R nodes in
SPSS modeler. No matter in which R nodes I type “getwd()”, it always tells me
that there is no executable node?
Has anyone tried to use R nodes to create a dataset?
Thanks,
Chi-square
Sent: Tuesday, April 22, 2014 11:54 AM
Subject: Re: [SPSSX-L] R nodes in SPSS modeler
There are several different kinds of R nodes with
different capabilities. Perhaps you need a Transform R node. There
are no limits on the R code, but there are some particular objects you need to
use to accept data or metadata coming in from the stream or to create stream
data downstream. Modeling and output nodes are other possible
types.
Jon Peck (no "h") aka
Kim
Senior Software Engineer, IBM
[hidden email]
phone:
720-342-5621
From: Chichi Shu <[hidden email]>
To: [hidden email], Date:
04/22/2014 09:30 AM Subject: [SPSSX-L] R nodes in SPSS modeler Sent
by: "SPSSX(r) Discussion" <[hidden email]>
Hi, Listers, I thought with R nodes
you could program in SPSS modeler with R like you do in R studio or any R GUI.
After I installed the necessary packages and programmed in R
console, I tried to move my R code to read facebook comments and posts to one
the R nodes. But it looks like the R nodes included can only accept a range of
very specific commands. So in my case the code generating datasets from reading
Facebook cannot be executed in any of the R nodes in Modeler. Am I missing
something or is this just the way it works? Thanks!