The system cannot find the file specified in Rmarkdown

You have copied your code from console output including the "+" symbols that indicate a new line, you have to remove those, otherwise you get a syntax error.

Also, please do not post screenshots of your code, it is considered a bad practice here, post formatted code instead, here is how to do it.

1 Like