{"id":14067901,"url":"https://github.com/cloudyr/googleComputeEngineR","last_synced_at":"2025-07-30T02:32:16.290Z","repository":{"id":37664509,"uuid":"69019496","full_name":"cloudyr/googleComputeEngineR","owner":"cloudyr","description":"An R interface to the Google Cloud Compute API, for launching virtual machines","archived":false,"fork":false,"pushed_at":"2022-06-01T20:56:48.000Z","size":7447,"stargazers_count":152,"open_issues_count":44,"forks_count":41,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-28T20:37:28.580Z","etag":null,"topics":["api","cloud-computing","cloudyr","google-cloud","googleauthr","launching-virtual-machines","r"],"latest_commit_sha":null,"homepage":"https://cloudyr.github.io/googleComputeEngineR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudyr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["MarkEdmondson1234"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-09-23T11:39:19.000Z","updated_at":"2024-07-22T03:45:49.000Z","dependencies_parsed_at":"2022-08-21T05:50:52.833Z","dependency_job_id":null,"html_url":"https://github.com/cloudyr/googleComputeEngineR","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FgoogleComputeEngineR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FgoogleComputeEngineR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FgoogleComputeEngineR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FgoogleComputeEngineR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyr","download_url":"https://codeload.github.com/cloudyr/googleComputeEngineR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228075642,"owners_count":17865510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cloud-computing","cloudyr","google-cloud","googleauthr","launching-virtual-machines","r"],"created_at":"2024-08-13T07:05:50.207Z","updated_at":"2024-12-04T08:31:19.551Z","avatar_url":"https://github.com/cloudyr.png","language":"R","readme":"# googleComputeEngineR\n\n[![CRAN](http://www.r-pkg.org/badges/version/googleComputeEngineR)](http://cran.r-project.org/package=googleComputeEngineR)\n[![Build Status](https://travis-ci.org/cloudyr/googleComputeEngineR.png?branch=master)](https://travis-ci.org/cloudyr/googleComputeEngineR)\n[![codecov.io](https://codecov.io/github/cloudyr/googleComputeEngineR/coverage.svg?branch=master)](https://codecov.io/github/cloudyr/googleComputeEngineR?branch=master)\n\n`googleComputeEngineR` provides an R interface to the Google Cloud Compute Engine API, for launching virtual machines.  It looks to make the deployment of cloud resources for R as painless as possible, and includes some special templates to launch R-specific resources such as RStudio, Shiny, and OpenCPU with a few lines from your local R session.\n\n\u003e See all documentation on the [googleComputeEngineR website](https://cloudyr.github.io/googleComputeEngineR/)\n\n## TL;DR - Creating an RStudio server VM\n\n1. Configure a Google Cloud Project with billing.\n2. Download a service account key JSON file.\n3. Put your default project, zone and JSON file location in your `.Renviron`.\n4. Run `library(googleComputeEngineR)` and auto-authenticate.\n5. Run `vm \u003c- gce_vm(template = \"rstudio\", name = \"rstudio-server\", username = \"mark\", password = \"mark1234\")` (or other credentials) to start up an RStudio Server.\n6. Wait for it to install, login via the returned URL.\n\nA video guide to setup and launching an RStudio server has been kindly created by Donal Phipps and is [available at this link](https://www.youtube.com/watch?v=1oM0NZbRhSI).\n\n\u003ciframe width=\"560\" height=\"315\" src=\"http://www.youtube.com/embed/1oM0NZbRhSI?rel=0\" frameborder=\"0\" allowfullscreen\u003e\u003c/iframe\u003e \n\n## Thanks to\n\n* Scott Chamberlin for the [analogsea](https://github.com/sckott/analogsea) package for launching Digital Ocean VMs, which inspired the SSH connector functions for this one.\n* Winston Chang for the [harbor](https://github.com/wch/harbor/) package where the docker functions come from.  If `harbor` will be published to CRAN, it will become a dependency for this one.\n* Henrik Bengtsson for help in integrating the fantastic [future](https://cran.r-project.org/web/packages/future/index.html) package that allows asynchronous R functions run in GCE clusters.\n* Carl Boettiger and Dirk Eddelbuettel for [rocker](https://hub.docker.com/u/rocker/) that Docker containers some of the R templates used in this package. \n\n## Install\n\nCRAN version:\n\n```r\ninstall.packages(\"googleComputeEngineR\")\n```\n\nDevelopment version:\n\n```r\nif (!require(\"ghit\")) {\n    install.packages(\"ghit\")\n}\nghit::install_github(\"cloudyr/googleComputeEngineR\")\n```\n\n---\n[![cloudyr project logo](http://i.imgur.com/JHS98Y7.png)](https://github.com/cloudyr)\n","funding_links":["https://github.com/sponsors/MarkEdmondson1234"],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudyr%2FgoogleComputeEngineR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudyr%2FgoogleComputeEngineR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudyr%2FgoogleComputeEngineR/lists"}