## Not run:
#
# library(googleComputeEngineR)
#
# ## make instance using R-base
# vm <- gce_vm_template("r-base", predefined_type = "f1-micro", name = "rbase")
#
# ## run an R function on the instance within the R-base docker image
# docker_run(vm, "rocker/r-base", c("Rscript", "-e", "1+1"), user = "mark")
# #> [1] 2
#
#
# ## End(Not run)
Run the code above in your browser using DataLab