googleComputeEngineR: R Interface with Google Compute Engine

Interact with the Google Compute Engine API in R. Lets you create, start and stop instances in the Google Cloud. Support for preconfigured instances, with templates for common R needs.

Install the latest version of this package by entering the following in R:
AuthorMark Edmondson [aut, cre], Scott Chamberlain [ctb], Winston Chang [ctb], Henrik Bengtsson [ctb]
Date of publication2016-11-19 14:39:06
MaintainerMark Edmondson <>
LicenseMIT + file LICENSE

View on CRAN

Man pages

as.cluster.gce_instance: Create a future cluster for GCE objects

as.container: Coerce an object into a container object.

as.gce_instance: Turn an instance name into an instance, or return the...

as.gce_instance_name: Get the instance name(s) if passed instance(s)

as.gce_instance_name_one: Get the instance name if passed an instance

AttachedDisk: AttachedDisk Object

auth_email: Get auth email If it includes '@' then assume the email,...

cat0: if argument is NULL, no line output

cli_tools: See if ssh or scp is installed From...

container_logs: Retrieve logs for a container.

container_rm: Delete a container.

container_running: Report whether a container is currently running.

containers: Get list of all containers on a host.

container_update_info: Update the information about a container.

Disk: Disk Object

docker_build: Build image on an instance from a local Dockerfile

docker_cmd: Run a docker command on a host.

docker_cmd.gce_instance: Docker S3 method for use with harbor package

docker_inspect: Inspect one or more containers, given name(s) or ID(s).

docker_pull: Pull a docker image onto a host.

docker_run: Run a command in a new container on a host.

error.message: Get the error message

gce_attach_disk: Attaches a Disk resource to an instance.

gce_auth: Authenticate this session

gce_check_container: Check the docker logs of a container

gce_check_ssh: Calls API for the current SSH settings for an instance

gce_check_zone_op: Wait for an operation to finish

gce_delete_disk: Deletes the specified persistent disk.

gce_delete_zone_op: Deletes the specified zone-specific Operations resource.

gce_extract_projectzone: Extract zone and project from an instance object

gce_future_install_packages: Install R packages onto an instance's stopped docker image

gce_get_disk: Returns a specified persistent disk.

gce_get_external_ip: Get the external IP of an instance

gce_get_global_project: Get global project name

gce_get_global_zone: Get global zone name

gce_get_image: Returns the specified image.

gce_get_image_family: Returns the latest image that is part of an image family and...

gce_get_instance: Returns the specified Instance resource.

gce_get_machinetype: Returns the specified machine type.

gce_get_metadata: Extract metadata from an instance object

gce_get_network: Returns the specified network.

gce_get_project: Returns the specified Project resource.

gce_get_zone: Returns the specified Zone resource. Get a list of available...

gce_get_zone_op: Retrieves the specified zone-specific Operations resource.

gce_global_project: Set global project name

gce_global_zone: Set global zone name

gce_list_disks: Retrieves a list of persistent disks contained within the...

gce_list_disks_all: Retrieves an aggregated list of persistent disks across all...

gce_list_images: Retrieves the list of private images available to the...

gce_list_instances: Retrieves the list of instances contained within the...

gce_list_machinetype: Retrieves a list of machine types available to the specified...

gce_list_machinetype_all: Retrieves an aggregated list of machine types from all zones.

gce_list_networks: Retrieves the list of networks available to the specified...

gce_list_zone_op: Retrieves a list of Operation resources contained within the...

gce_list_zones: Retrieves the list of Zone resources available to the...

gce_make_boot_disk: Make a boot disk for attachment to an instance

gce_make_disk: Creates a persistent disk in the specified project using the...

gce_make_image_source_url: Make initial disk image object

gce_make_machinetype_url: Construct a machineType URL

gce_make_network: Make a network interface for instance creation

gce_pull_registry: Load a previously saved private Google Container

gce_push_registry: Push to Google Container Registry

gce_rstudio_adduser: Creates a user on an RStudio templated instance

gce_rstudio_password: Changes password for a user on RStudio container

gce_set_machinetype: Changes the machine type for a stopped instance to the...

gce_set_metadata: Sets metadata for the specified instance to the data included...

gce_shiny_addapp: Add Shiny app to a Shiny template instance

gce_shiny_listapps: List shiny apps on the instance

gce_shiny_logs: Get the latest shiny logs for a shinyapp

gce_ssh: Remotely execute ssh code, upload & download files.

gce_ssh_addkeys: Add SSH details to a gce_instance

gce_ssh_browser: Open a cloud SSH browser for an instance

gce_ssh_setup: Setup a SSH connection with GCE from a new SSH key-pair

gce_tag_container: Return a container tag for Google Container Registry

gce_vm: Create or fetch a virtual machine

gce_vm_container: Launch a container-VM image

gce_vm_create: Creates an instance resource in the specified project using...

gce_vm_delete: Deletes the specified Instance resource.

gce_vm_reset: Performs a hard reset on the instance.

gce_vm_start: Starts an instance that was stopped using the using the stop...

gce_vm_stop: Stops a running instance, shutting it down cleanly, and...

gce_vm_template: Create a template container VM

get_dockerfolder: Get Dockerfolder of templates

get_template_file: Show the cloud-config template files

idempotency: Idempotency

Instance: Instance Object

is.error: Is this a try error?

is.gce_instance: Check if is gce_instance

is.gce_zone_operation: Check if is a gce_zone_operation

is.NullOb: A helper function that tests whether an object is either NULL...

localhost: An object representing the current computer that R is running...

Metadata: Metadata Object

myMessage: Customer message log level

rmNullObs: Recursively step down into list, removing all such objects

timestamp_to_r: Timestamp to R date


as.cluster.gce_instance Man page
as.container Man page
as.gce_instance Man page
as.gce_instance_name Man page
as.gce_instance_name_one Man page
AttachedDisk Man page
auth_email Man page
cat0 Man page
cli_tools Man page
container_logs Man page
container_rm Man page
container_running Man page
containers Man page
container_update_info Man page
Disk Man page
docker_build Man page
docker_cmd Man page
docker_cmd.gce_instance Man page
docker_inspect Man page
docker_pull Man page
docker_run Man page
error.message Man page
gce_attach_disk Man page
gce_auth Man page
gce_check_container Man page
gce_check_ssh Man page
gce_check_zone_op Man page
gce_delete_disk Man page
gce_delete_zone_op Man page
gce_extract_projectzone Man page
gce_future_install_packages Man page
gce_get_disk Man page
gce_get_external_ip Man page
gce_get_global_project Man page
gce_get_global_zone Man page
gce_get_image Man page
gce_get_image_family Man page
gce_get_instance Man page
gce_get_machinetype Man page
gce_get_metadata Man page
gce_get_network Man page
gce_get_project Man page
gce_get_zone Man page
gce_get_zone_op Man page
gce_global_project Man page
gce_global_zone Man page
gce_list_disks Man page
gce_list_disks_all Man page
gce_list_images Man page
gce_list_instances Man page
gce_list_machinetype Man page
gce_list_machinetype_all Man page
gce_list_networks Man page
gce_list_zone_op Man page
gce_list_zones Man page
gce_make_boot_disk Man page
gce_make_disk Man page
gce_make_image_source_url Man page
gce_make_machinetype_url Man page
gce_make_network Man page
gce_pull_registry Man page
gce_push_registry Man page
gce_rstudio_adduser Man page
gce_rstudio_password Man page
gce_set_machinetype Man page
gce_set_metadata Man page
gce_shiny_addapp Man page
gce_shiny_listapps Man page
gce_shiny_logs Man page
gce_ssh Man page
gce_ssh_addkeys Man page
gce_ssh_browser Man page
gce_ssh_download Man page
gce_ssh_setup Man page
gce_ssh_upload Man page
gce_tag_container Man page
gce_vm Man page
gce_vm_container Man page
gce_vm_create Man page
gce_vm_delete Man page
gce_vm_reset Man page
gce_vm_start Man page
gce_vm_stop Man page
gce_vm_template Man page
gce_wait Man page
get_dockerfolder Man page
get_template_file Man page
idempotency Man page
Instance Man page
is.error Man page
is.gce_instance Man page
is.gce_zone_operation Man page
is.NullOb Man page
localhost Man page
Metadata Man page
myMessage Man page
rmNullObs Man page
timestamp_to_r Man page


inst/dockerfiles/shiny-googleAuthRdemo/shiny/ui.R inst/dockerfiles/shiny-googleAuthRdemo/shiny/server.R
tests/testthat/test_ssh.R tests/testthat/test_yyy_containers.R tests/testthat/test_instances.R
tests/testthat/test_cc_disks.R tests/testthat/test_images.R tests/testthat/test_machinetype.R tests/testthat/test_zzz_cleanup.R
R/harbor_container.R R/ssh.R R/harbor_docker.R R/ssh_admin.R R/auth.R R/disks.R R/utilities.R R/container.R R/future.R R/rstudio.R R/projects.R R/print-methods.R R/options.R R/shiny.R R/zones.R R/metadata.R R/operations.R R/images.R R/harbor_utils.R R/harbor_gce.R R/networks.R R/vms.R R/harbor_containers.R R/opencpu.R R/machineType.R R/instances_admin.R
man/is.gce_instance.Rd man/gce_get_global_project.Rd man/cli_tools.Rd man/gce_get_network.Rd man/Metadata.Rd man/gce_vm_container.Rd man/gce_delete_disk.Rd man/gce_get_machinetype.Rd man/gce_make_image_source_url.Rd man/gce_push_registry.Rd man/is.gce_zone_operation.Rd man/gce_vm.Rd man/gce_list_networks.Rd man/as.container.Rd man/gce_list_zone_op.Rd man/gce_tag_container.Rd man/container_logs.Rd man/Disk.Rd man/docker_run.Rd man/as.cluster.gce_instance.Rd man/docker_cmd.gce_instance.Rd man/gce_shiny_logs.Rd man/auth_email.Rd man/docker_cmd.Rd man/gce_list_machinetype.Rd man/as.gce_instance.Rd man/gce_rstudio_adduser.Rd man/gce_list_zones.Rd man/error.message.Rd man/gce_ssh_addkeys.Rd man/idempotency.Rd man/gce_make_machinetype_url.Rd man/myMessage.Rd man/gce_set_machinetype.Rd man/gce_ssh_setup.Rd man/containers.Rd man/gce_vm_stop.Rd man/gce_shiny_addapp.Rd man/gce_check_zone_op.Rd man/gce_rstudio_password.Rd man/gce_list_instances.Rd man/gce_vm_delete.Rd man/docker_build.Rd man/gce_global_zone.Rd man/gce_get_zone.Rd man/AttachedDisk.Rd man/gce_global_project.Rd man/gce_ssh.Rd man/gce_attach_disk.Rd man/as.gce_instance_name_one.Rd man/gce_check_ssh.Rd man/is.error.Rd man/container_update_info.Rd man/gce_get_external_ip.Rd man/gce_auth.Rd man/gce_get_image.Rd man/gce_set_metadata.Rd man/gce_ssh_browser.Rd man/gce_get_instance.Rd man/timestamp_to_r.Rd man/gce_list_images.Rd man/docker_inspect.Rd man/gce_list_disks.Rd man/gce_get_project.Rd man/gce_extract_projectzone.Rd man/gce_shiny_listapps.Rd man/is.NullOb.Rd man/gce_get_zone_op.Rd man/gce_make_network.Rd man/gce_get_image_family.Rd man/gce_make_disk.Rd man/docker_pull.Rd man/gce_pull_registry.Rd man/gce_list_disks_all.Rd man/container_rm.Rd man/gce_vm_template.Rd man/gce_check_container.Rd man/gce_get_global_zone.Rd man/gce_delete_zone_op.Rd man/cat0.Rd man/gce_vm_start.Rd man/gce_get_metadata.Rd man/gce_future_install_packages.Rd man/Instance.Rd man/gce_get_disk.Rd man/as.gce_instance_name.Rd man/gce_make_boot_disk.Rd man/gce_vm_reset.Rd man/gce_vm_create.Rd man/rmNullObs.Rd man/get_dockerfolder.Rd man/localhost.Rd man/container_running.Rd man/get_template_file.Rd man/gce_list_machinetype_all.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.