We hope you are doing good.
The error which you are getting is because you are not giving the complete location of the file. In the command below, use the complete path of the file present in your System as:
indata = read.spss("C:\\data\\cancer.sav")
**(Here you have to give the location of the file present in your System)
Please try this and let us know if you face any issue.