# NOT RUN {
flyio_set_datasource("gcs")
flyio_set_bucket("your-bucket-name")
r1 <- raster(nrows=108, ncols=21, xmn=0, xmx=10)
export_raster(r1, "raster-cloud.tif", writeRaster, format = "GTiff", dir = tempdir())
# }
Run the code above in your browser using DataLab