I've just installed R and everything works fine in plain R window but I can't SPSS to react to any of the example scripts except the help script:
BEGIN PROGRAM R. help(paste) END PROGRAM.
The previous results in a jump to the localhost web-browser as expected.
When running a more complicated script from the manual nothing happens:
DATA LIST FREE /id (F4) gender (A1) training (F1). VARIABLE LABELS id 'Employee ID' /training 'Training Level'. VARIABLE LEVEL id (SCALE) /gender (NOMINAL) /training (ORDINAL). VALUE LABELS training 1 'Beginning' 2 'Intermediate' 3 'Advanced' /gender 'f' 'Female' 'm' 'Male'. BEGIN DATA 18 m 1 37 f 2 10 f 3 END DATA. DATASET NAME test_set. BEGIN PROGRAM R. vardict <- spssdictionary.GetDictionaryFromSPSS() print(vardict) END PROGRAM.
I've also tried some other scripts but nothing seems to generate any output.
I have the latest patches for SPSS 19.0 on a Windows 7 machine and I've installed R through the SPSS provided package (version 2.10.1)