1

I'm looking for an R online compiler, such as myCompiler, that enables to run code line by line.
Like what one gets in RStudio when pressing the Run button or Ctrl+Enter

enter image description here

Julien
  • 1,613
  • 1
  • 10
  • 26

2 Answers2

3

Some Jupyter variants let you run a single line or a selection, Google Colab ( https://colab.to/r for new R Notebook ) or Kaggle ( https://www.kaggle.com/docs/notebooks ) for example, both use Ctrl+Shift+Enter

Bit different take would perhaps be RStudio in Binder.
Example - http://mybinder.org/v2/gh/binder-examples/r/master?urlpath=rstudio
More details - https://github.com/binder-examples/r

margusl
  • 7,804
  • 2
  • 16
  • 20
2

Have you tried RStudio cloud? https://rstudio.cloud/

bpvalderrama
  • 357
  • 2
  • 8
  • You can also host RStudio yourself, where you are not limited by the free tier resource limits. – mhovd Jun 01 '22 at 13:12
  • @mhovd Can you explain what you mean by "hosting Rstudio" ? – Julien Jun 01 '22 at 13:56
  • It seems like a nice tool, even if it is intended as a mean to teach R – Julien Jun 01 '22 at 14:04
  • @Julien, take a look at RStudio Server (https://www.rstudio.com/products/rstudio/download-server/) – mhovd Jun 01 '22 at 14:10
  • I am not on Linux, so RStudio Server won't run – Julien Jun 01 '22 at 14:52
  • @Julien , you absolutely can run it on Windows if you choose to :) either through Docker - https://www.rocker-project.org/ - or Windows subsystem for Linux - https://support.rstudio.com/hc/en-us/articles/360049776974-Using-RStudio-Server-in-Windows-WSL2 . – margusl Jun 01 '22 at 15:13
  • Too much of a hassle for me, for the moment though :) – Julien Jun 01 '22 at 16:31