Modify a droplet.
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
: A droplet, or something that can be coerced to a droplet by as.droplet
.size
: (character) Size slug (name) of the image size. See sizes
...
: Additional options passed down to low-level API method.image
: (optional) The image ID of the backup image that you would like to restore.name
: (character) The new name for the dropletkernel
: (numeric) The ID of the new kernel.Beware: droplet_resize()
does not seem to work, see resize()
## Not run: droplets()[[1]] %>% droplet_rename(name='newname') ## End(Not run)