(i) Right click on the link
(ii) Select "Save Page As" from the File drop-down menu
(iii) Choose your destination folder, change your file name to .R, click "Save".
Citation: Shen, S.S.P., and G.R. North, 2023: Statistics and Data Visualization in Climate Science with R and Python, Cambridge University Press, Cambridge, United Kingdom, 391pp.