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.

AuthorMark Edmondson [aut, cre], Scott Chamberlain [ctb], Winston Chang [ctb], Henrik Bengtsson [ctb]
Date of publication2016-11-19 14:39:06
MaintainerMark Edmondson <r@sunholo.com>
LicenseMIT + file LICENSE
Version0.1.0
https://cloudyr.github.io/googleComputeEngineR/

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

Functions

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

Files

googleComputeEngineR
googleComputeEngineR/inst
googleComputeEngineR/inst/cloudconfig
googleComputeEngineR/inst/cloudconfig/rstudio.yaml
googleComputeEngineR/inst/cloudconfig/rstudio-hadleyverse.yaml
googleComputeEngineR/inst/cloudconfig/example.yaml
googleComputeEngineR/inst/cloudconfig/r-base.yaml
googleComputeEngineR/inst/cloudconfig/shiny.yaml
googleComputeEngineR/inst/cloudconfig/dynamic.yml
googleComputeEngineR/inst/cloudconfig/opencpu.yaml
googleComputeEngineR/inst/dockerfiles
googleComputeEngineR/inst/dockerfiles/hadleyverse-crontab
googleComputeEngineR/inst/dockerfiles/hadleyverse-crontab/Dockerfile
googleComputeEngineR/inst/dockerfiles/hadleyverse-crontab/demo-schedule.R
googleComputeEngineR/inst/dockerfiles/googleAuthR-verse
googleComputeEngineR/inst/dockerfiles/googleAuthR-verse/Dockerfile
googleComputeEngineR/inst/dockerfiles/opencpu-installgithub
googleComputeEngineR/inst/dockerfiles/opencpu-installgithub/Dockerfile
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/Dockerfile
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/shiny
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/shiny/ui.R
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/shiny/server.R
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/shiny/readme.md
googleComputeEngineR/inst/dockerfiles/shiny-googleAuthRdemo/shiny/DESCRIPTION
googleComputeEngineR/inst/doc
googleComputeEngineR/inst/doc/installation-and-authentication.Rmd
googleComputeEngineR/inst/doc/installation-and-authentication.html
googleComputeEngineR/inst/doc/docker-ssh-futures.Rmd
googleComputeEngineR/inst/doc/example-workflows.html
googleComputeEngineR/inst/doc/creating-vms.Rmd
googleComputeEngineR/inst/doc/creating-vms.html
googleComputeEngineR/inst/doc/docker-ssh-futures.html
googleComputeEngineR/inst/doc/example-workflows.Rmd
googleComputeEngineR/tests
googleComputeEngineR/tests/testthat.R
googleComputeEngineR/tests/testthat
googleComputeEngineR/tests/testthat/test_ssh.R
googleComputeEngineR/tests/testthat/test_yyy_containers.R
googleComputeEngineR/tests/testthat/test_instances.R
googleComputeEngineR/tests/testthat/travis-ssh-key.pub
googleComputeEngineR/tests/testthat/test_aa_auth.R
googleComputeEngineR/tests/testthat/travis-ssh-key
googleComputeEngineR/tests/testthat/test_bb_create_vm.R
googleComputeEngineR/tests/testthat/auth.json
googleComputeEngineR/tests/testthat/test_cc_disks.R
googleComputeEngineR/tests/testthat/test_images.R
googleComputeEngineR/tests/testthat/test_machinetype.R
googleComputeEngineR/tests/testthat/test_zzz_cleanup.R
googleComputeEngineR/NAMESPACE
googleComputeEngineR/NEWS.md
googleComputeEngineR/R
googleComputeEngineR/R/harbor_container.R googleComputeEngineR/R/ssh.R googleComputeEngineR/R/harbor_docker.R googleComputeEngineR/R/ssh_admin.R googleComputeEngineR/R/auth.R googleComputeEngineR/R/disks.R googleComputeEngineR/R/utilities.R googleComputeEngineR/R/container.R googleComputeEngineR/R/future.R googleComputeEngineR/R/rstudio.R googleComputeEngineR/R/projects.R googleComputeEngineR/R/print-methods.R googleComputeEngineR/R/options.R googleComputeEngineR/R/shiny.R googleComputeEngineR/R/zones.R googleComputeEngineR/R/metadata.R googleComputeEngineR/R/operations.R googleComputeEngineR/R/images.R googleComputeEngineR/R/harbor_utils.R googleComputeEngineR/R/harbor_gce.R googleComputeEngineR/R/networks.R googleComputeEngineR/R/vms.R googleComputeEngineR/R/harbor_containers.R googleComputeEngineR/R/opencpu.R googleComputeEngineR/R/machineType.R googleComputeEngineR/R/instances_admin.R
googleComputeEngineR/vignettes
googleComputeEngineR/vignettes/installation-and-authentication.Rmd
googleComputeEngineR/vignettes/docker-ssh-futures.Rmd
googleComputeEngineR/vignettes/creating-vms.Rmd
googleComputeEngineR/vignettes/example-workflows.Rmd
googleComputeEngineR/MD5
googleComputeEngineR/build
googleComputeEngineR/build/vignette.rds
googleComputeEngineR/DESCRIPTION
googleComputeEngineR/man
googleComputeEngineR/man/is.gce_instance.Rd googleComputeEngineR/man/gce_get_global_project.Rd googleComputeEngineR/man/cli_tools.Rd googleComputeEngineR/man/gce_get_network.Rd googleComputeEngineR/man/Metadata.Rd googleComputeEngineR/man/gce_vm_container.Rd googleComputeEngineR/man/gce_delete_disk.Rd googleComputeEngineR/man/gce_get_machinetype.Rd googleComputeEngineR/man/gce_make_image_source_url.Rd googleComputeEngineR/man/gce_push_registry.Rd googleComputeEngineR/man/is.gce_zone_operation.Rd googleComputeEngineR/man/gce_vm.Rd googleComputeEngineR/man/gce_list_networks.Rd googleComputeEngineR/man/as.container.Rd googleComputeEngineR/man/gce_list_zone_op.Rd googleComputeEngineR/man/gce_tag_container.Rd googleComputeEngineR/man/container_logs.Rd googleComputeEngineR/man/Disk.Rd googleComputeEngineR/man/docker_run.Rd googleComputeEngineR/man/as.cluster.gce_instance.Rd googleComputeEngineR/man/docker_cmd.gce_instance.Rd googleComputeEngineR/man/gce_shiny_logs.Rd googleComputeEngineR/man/auth_email.Rd googleComputeEngineR/man/docker_cmd.Rd googleComputeEngineR/man/gce_list_machinetype.Rd googleComputeEngineR/man/as.gce_instance.Rd googleComputeEngineR/man/gce_rstudio_adduser.Rd googleComputeEngineR/man/gce_list_zones.Rd googleComputeEngineR/man/error.message.Rd googleComputeEngineR/man/gce_ssh_addkeys.Rd googleComputeEngineR/man/idempotency.Rd googleComputeEngineR/man/gce_make_machinetype_url.Rd googleComputeEngineR/man/myMessage.Rd googleComputeEngineR/man/gce_set_machinetype.Rd googleComputeEngineR/man/gce_ssh_setup.Rd googleComputeEngineR/man/containers.Rd googleComputeEngineR/man/gce_vm_stop.Rd googleComputeEngineR/man/gce_shiny_addapp.Rd googleComputeEngineR/man/gce_check_zone_op.Rd googleComputeEngineR/man/gce_rstudio_password.Rd googleComputeEngineR/man/gce_list_instances.Rd googleComputeEngineR/man/gce_vm_delete.Rd googleComputeEngineR/man/docker_build.Rd googleComputeEngineR/man/gce_global_zone.Rd googleComputeEngineR/man/gce_get_zone.Rd googleComputeEngineR/man/AttachedDisk.Rd googleComputeEngineR/man/gce_global_project.Rd googleComputeEngineR/man/gce_ssh.Rd googleComputeEngineR/man/gce_attach_disk.Rd googleComputeEngineR/man/as.gce_instance_name_one.Rd googleComputeEngineR/man/gce_check_ssh.Rd googleComputeEngineR/man/is.error.Rd googleComputeEngineR/man/container_update_info.Rd googleComputeEngineR/man/gce_get_external_ip.Rd googleComputeEngineR/man/gce_auth.Rd googleComputeEngineR/man/gce_get_image.Rd googleComputeEngineR/man/gce_set_metadata.Rd googleComputeEngineR/man/gce_ssh_browser.Rd googleComputeEngineR/man/gce_get_instance.Rd googleComputeEngineR/man/timestamp_to_r.Rd googleComputeEngineR/man/gce_list_images.Rd googleComputeEngineR/man/docker_inspect.Rd googleComputeEngineR/man/gce_list_disks.Rd googleComputeEngineR/man/gce_get_project.Rd googleComputeEngineR/man/gce_extract_projectzone.Rd googleComputeEngineR/man/gce_shiny_listapps.Rd googleComputeEngineR/man/is.NullOb.Rd googleComputeEngineR/man/gce_get_zone_op.Rd googleComputeEngineR/man/gce_make_network.Rd googleComputeEngineR/man/gce_get_image_family.Rd googleComputeEngineR/man/gce_make_disk.Rd googleComputeEngineR/man/docker_pull.Rd googleComputeEngineR/man/gce_pull_registry.Rd googleComputeEngineR/man/gce_list_disks_all.Rd googleComputeEngineR/man/container_rm.Rd googleComputeEngineR/man/gce_vm_template.Rd googleComputeEngineR/man/gce_check_container.Rd googleComputeEngineR/man/gce_get_global_zone.Rd googleComputeEngineR/man/gce_delete_zone_op.Rd googleComputeEngineR/man/cat0.Rd googleComputeEngineR/man/gce_vm_start.Rd googleComputeEngineR/man/gce_get_metadata.Rd googleComputeEngineR/man/gce_future_install_packages.Rd googleComputeEngineR/man/Instance.Rd googleComputeEngineR/man/gce_get_disk.Rd googleComputeEngineR/man/as.gce_instance_name.Rd googleComputeEngineR/man/gce_make_boot_disk.Rd googleComputeEngineR/man/gce_vm_reset.Rd googleComputeEngineR/man/gce_vm_create.Rd googleComputeEngineR/man/rmNullObs.Rd googleComputeEngineR/man/get_dockerfolder.Rd googleComputeEngineR/man/localhost.Rd googleComputeEngineR/man/container_running.Rd googleComputeEngineR/man/get_template_file.Rd googleComputeEngineR/man/gce_list_machinetype_all.Rd
googleComputeEngineR/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

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

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