What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-11 17:45:21
Error: attempt to use zero-length variable name
Putting this as an answer for visibility: this happens if you try to run by selecting all in the Rmd and pressing enter like you would with a normal R script. RStudio tries to run this all as R code, including the markdown parts, leading to the errors you... Add solution