nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.93k stars 333 forks source link

run-cell shortcut not working in R Markdown? #2127

Open paul-grassl opened 3 years ago

paul-grassl commented 3 years ago

I'm working on a .rmd file (R) and I want to execute a whole cell of R code. But when using the shortcut alt-cmd-enter nothing happens. I checked with the Key Binding Resolver and hydrogen:run-cell shows up correctly and is green highlighted. Just nothing happens. Executing one line of code with cmd-enter works however. (also here the Key Binding Resolver shows hydrogen:run which is green highlighted)

In a .pmd file (Python) the run-cell command works on code cells, so I'm wondering if this is a problem with hydrogen and R cells?

Here are two small test files: test_rmd_and_pmd.zip