Open the Viewer
Once your file has been compiled the popup status window should look like this. Click the View link to go to the viewer to see the output. You can also click on the number in the right portion of the [Save Version] button. If you get an error message, make sure your RMarkdown runs without errors in your RStudio environment. If that’s the case, make sure that you have all the files that your script relies on the present in the “../input” directory, and that all pathnames in your script refer to the correct location.
For instance, make sure you use,
--> mydat <- read_csv("../input/mydata.csv")
and not for example
--> mydat <- read_csv("C:\\Users\\Desktop\\Datamydata.csv")
Run R Markdown in kaggle
Kaggle allows you to compile your RMarkdown files, as developed in RStudio for example, into a report on Kaggle. This very instruction was made in RMarkdown. Below the steps to do this with your RMarkdown file are detailed.
Contact Us