If what you want is the text of the R script in a PDF (without the output of each script), you can just open your .R file in your Operating System's stock text editor (e.g., Apple's TextEdit.app) and then save that file as a PDF (from the text editor app).