The extension command actually has a helper subcommand INFO
to help with that problem. So here is an example running it on an RData
file I created that is simply the saved workspace of MyDF <- data.frame(cbind(rnorm(100),rnorm(100)))
.
STATS GET R FILE="C:\Users\andrew.wheeler\Desktop\test\Examp.RData"
/INFO.
Note the workspace is the RData
file. So if you have an RData
file you have created the "workspace". The command above will print all of the available objects in that particular file.
Once you figure out which object contains the data you want, then you can run the command below to grab that data frame. In this example I grab the MyDF
dataframe.
STATS GET R FILE = "C:\Users\andrew.wheeler\Desktop\test\Examp.RData"
/GET DATAFRAME=MyDF DATASET=SPSSMyDF.
As always, see STATS GET R /HELP
to see all of the options.