Can't run chunk of code

Hello everyone,
I'm having a particular problem on one of my markkdown file: The file consists of 2 different exercises, and while i didn't have a problem during the first one, suddenly i can't add chunks of code that actually work to complete the second one. I keep missing the green arrow, which I think means rstudio doesn't see it as a complete chunk. I've checked that there are enough '''(r), and I even copied one that worked from before, but the new chunks keep not working:

if I try to run the chunk seen above, I get this error:
Error: attempt to use zero-length variable name

Could someone help me out please?
Thank you

It is hard to help you without seen your actual code, can you please post the complete code?

1 Like

This topic was automatically closed 42 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.