R Studio on CoCalc: Easily run a hosted version of R Studio

William Stein
153 views April 18, 2024

Open a CoCalc project and click Servers, then click the R Studio button, and an R Studio server starts running and the web version of R Studio pops up in another browser tab. In this video I illustrate how to do this, and run some simple tests involving plots, checking R versions, and more. In CoCalc, if you hit the relatively limited compute options available, you can easily start a pay-as-you-go dedicated virtual machine with a potentially massive number of CPUs, RAM, GPUs, disk, etc. I show you how to a create a compute server with 32 CPUs that costs $0.20/hour; by selecting the "R Statistics" image, R Studio is just running by default on the compute server. I run some demo code, then use generative AI to write some code to use more CPU, put that code in a file, and run it as well in R Studio. I hope this video helps you see how you can very easily use R Studio in multiple ways in CoCalc without limitations! LINK: https://github.com/sagemathinc/cocalc-howto/blob/main/rstudio.md

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close