Execution of lines in .Rmd notebook doesn't work (both Ctrl + Enter & via menu)

Hi,

I've got a very strange problem when working on a Markdown notebook. both Ctrl+Enter & execution of lines via the menu suddenly stopped working in mid - session in version 1.3x. I upgraded to the current version but this does not resolve the problem. there is no error whatsoever. I also updated knitr:: , rmarkdown:: markdown:: and digest:: just to make sure.

Just to be clear: running lines from a .R window works just fine. The problem occurs on .Rmds

Obviously, I'd like to be able to run lines in .Rmds and I'd like to keep using the key combination, that is not to change the default key combination. Any suggestion ? thanks

RStudio.Version()

mode
[1] "desktop"

$version
[1] ‘1.4.1717’

$release_name
[1] "Juliet Rose"

sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=Hebrew_Israel.1255
[2] LC_CTYPE=Hebrew_Israel.1255
[3] LC_MONETARY=Hebrew_Israel.1255
[4] LC_NUMERIC=C
[5] LC_TIME=Hebrew_Israel.1255
system code page: 65001

attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base

loaded via a namespace (and not attached):
[1] compiler_4.0.3 htmltools_0.5.1.1 tools_4.0.3
[4] yaml_2.2.1 rmarkdown_2.4 knitr_1.30
[7] xfun_0.18 digest_0.6.25 rlang_0.4.10
[10] evaluate_0.14

Hi @PlaymobilMeister

I would make sure that the extension of the file is indeed .Rmd. If it's not, then code cannot be run with Ctrl + Enter.

Thanks. I checked but that wasn't the problem. the files indeed ends with .Rmd

finally I uninstalled and reinstalled Rstudio and everything works fine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.