Unlimited learning, half price | 50% off
Get 50% off unlimited learning

⚠️There's a newer version (0.3.0) of this package.Take me there.

googleComputeEngineR (version 0.2.0)

R Interface with Google Compute Engine

Description

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.

Copy Link

Version

Install

install.packages('googleComputeEngineR')

Monthly Downloads

1,469

Version

0.2.0

License

MIT + file LICENSE

Maintainer

Last Published

September 16th, 2017

Functions in googleComputeEngineR (0.2.0)

as.gce_instance

Turn an instance name into an instance, or return the instance
gce_future_install_packages

Install R packages onto an instance's stopped docker image
gce_make_boot_disk

Make a boot disk for attachment to an instance
as.gce_instance_name

Get the instance name(s) if passed instance(s)
gce_get_zone

Returns the specified Zone resource. Get a list of available zones by making a list() request.
gce_get_disk

Returns a specified persistent disk.
gce_get_zone_op

Retrieves the specified zone-specific Operations resource.
gce_rstudio_adduser

Creates a user on an RStudio templated instance
gce_auth

Authenticate this session
gce_make_disk

Creates a persistent disk in the specified project using the data in the request.
containers

Get list of all containers on a host.
docker_cmd

Run a docker command on a host.
docker_cmd.gce_instance

Docker S3 method for use with harbor package
docker_pull

Pull a docker image onto a host.
docker_inspect

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

Extract metadata from an instance object
container_logs

Retrieve logs for a container.
container_rm

Delete a container.
container_update_info

Update the information about a container.
auth_email

Get auth email If it includes '@' then assume the email, otherwise an environment file
gce_delete_zone_op

Deletes the specified zone-specific Operations resource.
gce_list_firewall_rules

List firewall rules
gce_get_network

Returns the specified network.
gce_rstudio_password

Changes password for a user on RStudio container
gce_set_metadata

Sets metadata for the specified instance to the data included in the request.
cat0

if argument is NULL, no line output
docker_build

Build image on an instance from a local Dockerfile
docker_run

Run a command in a new container on a host.
gce_list_gpus

Retrieves a list GPUs you can attach to an instance
gce_check_container

Check the docker logs of a container
gce_check_gpu

Check GPU installed ok
error.message

Get the error message
cli_tools

See if ssh or scp is installed From https://github.com/sckott/analogsea/blob/master/R/zzz.R
gce_check_ssh

Calls API for the current SSH settings for an instance
gce_get_op

Retrieves the specified Operations resource.
gce_get_firewall_rule

Get a firewall rule
gce_get_external_ip

Get the external IP of an instance
gce_delete_disk

Deletes the specified persistent disk.
gce_shiny_addapp

Add Shiny app to a Shiny template instance
gce_vm_container

Launch a container-VM image
gce_vm_create

Creates an instance resource in the specified project using the data included in the request.
gce_extract_projectzone

Extract zone and project from an instance object
gce_make_image_source_url

Make initial disk image object
gce_delete_op.gce_global_operation

Deletes the specified global Operations resource.
gce_make_machinetype_url

Construct a machineType URL
gce_vm_stop

Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
gce_vm_template

Create a template container VM
gce_get_op.gce_global_operation

Retrieves the specified global Operations resource.
get_dockerfolder

Get Dockerfolder of templates
get_template_file

Show the cloud-config template files
is.gce_instance

Check if is gce_instance
gce_list_disks

Retrieves a list of persistent disks contained within the specified zone.
gce_get_image

Returns the specified image.
gce_list_machinetype

Retrieves a list of machine types available to the specified project.
gce_get_image_family

Returns the latest image that is part of an image family and is not deprecated.
gce_delete_firewall_rule

Delete a firewall rule
is.gce_region_operation

Check if is a gce_region_operation
gce_delete_op

Deletes the specified Operations resource.
gce_list_machinetype_all

Retrieves an aggregated list of machine types from all zones.
gce_delete_op.gce_zone_operation

Deletes the specified zone-specific Operations resource.
gce_get_instance

Returns the specified Instance resource.
gce_get_global_project

Get global project name
gce_get_global_zone

Get global zone name
gce_list_disks_all

Retrieves an aggregated list of persistent disks across all zones.
gce_get_op.gce_zone_operation

Retrieves the specified zone-specific Operations resource.
gce_get_project

Returns the specified Project resource.
gce_list_zone_op

Retrieves a list of Operation resources contained within the specified zone.
gce_list_zones

Retrieves the list of Zone resources available to the specified project.
myMessage

Custom message log level
gce_list_images

Retrieves the list of private images available to the specified project.
gce_metadata_env

Turn metadata into an environment argument
gce_make_network

Make a network interface for instance creation
gce_get_machinetype

Returns the specified machine type.
gce_ssh

Remotely execute ssh code, upload & download files.
gce_ssh_addkeys

Add SSH details to a gce_instance
gce_global_project

Set global project name
gce_make_firewall_rule

Add one firewall rule to the network
gce_global_zone

Set global zone name
gce_list_instances

Retrieves the list of instances contained within the specified zone.
gce_vm_scheduler

Create or start a scheduler VM
rmNullObs

Recursively step down into list, removing all such objects
gce_vm_start

Starts an instance that was stopped using the using the stop method.
timestamp_to_r

Timestamp to R date
gce_list_networks

Retrieves the list of networks available to the specified project.
gce_ssh_browser

Open a cloud SSH browser for an instance
gce_list_registry

List the docker images you have on Google Container Registry
gce_pull_registry

Load a previously saved private Google Container
gce_push_registry

Push to Google Container Registry
gce_make_firewall_webports

Make HTTP and HTTPS firewall rules
gce_schedule_docker

Schedule running a docker image upon a VM
gce_set_machinetype

Changes the machine type for a stopped instance to the machine type specified in the request.
gce_vm_logs

Open browser to the serial console output for a VM
gce_shiny_listapps

List shiny apps on the 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_shiny_logs

Get the latest shiny logs for a shinyapp
gce_vm

Create or fetch a virtual machine
is.error

Is this a try error?
gce_vm_delete

Deletes the specified Instance resource.
gce_vm_gpu

Launch a GPU enabled instance
gce_vm_reset

Performs a hard reset on the instance.
is.gce_global_operation

Check if is a gce_global_operation
is.gce_zone_operation

Check if is a gce_zone_operation
localhost

An object representing the current computer that R is running on.
idempotency

Idempotency
is.NullOb

A helper function that tests whether an object is either NULL _or_ a list of NULLs
gce_wait

Wait for an operation to finish
get_cloud_init_file

create the cloud_init file to upload
AttachedDisk

AttachedDisk Object
as.gce_instance_name_one

Get the instance name if passed an instance
Disk

Disk Object
Instance

Instance Object
Metadata

Metadata Object
gce_attach_disk

Attaches a Disk resource to an instance.
as.cluster.gce_instance

Create a future cluster for GCE objects
as.container

Coerce an object into a container object.
container_running

Report whether a container is currently running.