I am using the ggplot2 package and the autoplot() function to graph a Kaplan-Meier curve for survival data. When I run the code from the command line, the code outputs everything as expected, however, I don't see the Rplot.pdf file generated in the directory as I would if I used the plot() function. How can I visualize the graph in this case?
Thank you!