Hi, grad student here, not much skilled with R. I was taught how to use SPSS, but my supervisor uses R so he sent me the syntax for our research analysis in R-code and I tried to run it on SPSS (version 27) using the R extension (version 3.6) (Windows user here), but it's not working and I don't know why.
I tried opening the file using R language but nothing shows up on the dataset page, and no error appears on the output page either, just the command followed by a "- /", and I have no idea what it means. So I tried opening the dataset using normal SPSS coding, and it works, but then I used another R command (copied and pasted from the file my professor sent me, so it should work) to convert a string variable in a numeric one, but again the output page just shows the command with no error mentioned while nothing happens on the dataset. Any idea why???
Again, I am absolutely clueless as to what I should expect, I have never used the R extension on SPSS, and I only tried this time because R is totally foreign to me and have no idea how to use it.
Can anyone help? Thanks!