This document offers some advice on getting presentations onto RPubs.
So in theory, an RStudio Presentation to RPubs is pretty straightforward- Write your presentation, Save your presentation, Preview your presentation, then Publish your presentation from preview window. Put in your RPubs credentials, get the URL (make sure you use the http: version of the URL in your link, as your marker will not be logged in as you so the https: version will have problems.
But sometimes it doesn’t work… so here are some things to check-
Web friendly means ascii text and numbers, and if you are really keen the underscore _ is also OK (your rmarkdown file will also have .rmd at the end of the filename, that is also OK). Basically, don’t try saving the file with the name like
⅋⊗€ \/☞.rmd
(I have no idea if those unicode symbols will actually work in a coursera text box)
If you are getting an ssl error when you try and publish, which will look something like
Error in function (type, msg, asError = TRUE) :
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Calls: rpubsUpload ... <Anonymous> -> .postForm -> .Call -> -> fun
Execution halted
And your https traffic is going through a proxy, then you need to use a .RProfile file in the directory to get it to use the computers https settings rather than setting up an independent connection.
Note this file is called .RProfile not RProfile. The dot is critical and makes a normally invisible system file, so can be quite tricky to create a file of this kind. I suggest using RStudio, with the working directory set to the folder with the .rmd file in it
And don’t forget, when you publish, and put the link in for submission, make sure to put in a http link, not an https version. This is actually really important.