22 July — updated instructions — just four steps — in Mike’s Biostatistics Book for starting an R session and linking to Google Drive with Google Colaboratory (Google Colab) cloud service.
Here’s a qrcode with the url to start an R notebook.

qrcode generated with R package qrcode.