These methods allow you to modify existing droplets.
droplet_resize(droplet, size, ...)droplet_rebuild(droplet, image, ...)droplet_rename(droplet, name, ...)droplet_change_kernel(droplet, kernel, ...)
droplet_rebuild(droplet, image, ...)
droplet_rename(droplet, name, ...)
droplet_change_kernel(droplet, kernel, ...)
A droplet, or something that can be coerced to a droplet by as.droplet.
as.droplet
(character) Size slug (name) of the image size. See sizes
sizes
Additional options passed down to low-level API method.
(optional) The image ID of the backup image that you would like to restore.
(character) The new name for the droplet
(numeric) The ID of the new kernel.
Resize a specific droplet to a different size. This will affect the number of processors and memory allocated to the droplet.
Reinstall a droplet with a default image. This is useful if you want to start again but retain the same IP address for your droplet.
Change the droplet name
Change kernel ID.
Beware: droplet_resize() does not seem to work, see resize()
droplet_resize()
resize()
if (FALSE) { droplets()[[1]] %>% droplet_rename(name='newname') }
Run the code above in your browser using DataLab