SPSS Statistics

 View Only

 Competing risk using R in SPSS

Georgina Naylor's profile image
Georgina Naylor posted Fri July 11, 2025 09:38 AM

Hi all - hoping for some help please  in setting up R in SPSS so that I can run competing risk survival analysis on my cohort of cancer patients. I have spent hours trying to sort this, and am just failing!!

SPSS Stats 28.0.1. R 4.0 (correct version now!) have tried to download all relevant extensions in hub. Have correctly assigned R file location in SPSS settings.

I can't seem to run R using BEGIN PROGRAM R. I keep getting messages like "_SLINE OFF" or "_SLINE 0 3."

I use pretty basic SPSS functions at present, and R is totally new to me, so any help with very easy to understand advice/tips would be so very much appreciated!!

Thanks,
Georgie