Blogdown notes

This website is created using RStudio following this tutorial with tips from Ming Tang.

To start a new post, choose “New post” from Addins. Use Markdown for texts. Use RMarkdown if it contains R markdown to render plots, etc.

Choose which files you want to work on from the right bottom window. Save the files changed and the webpage is rendered automatically in the Viewer window.

To disable a widget, change the header from active=true to active=false

Use Git GUI to push to GitHub.

Just like magic, the website will refresh automatically at Netlify.com.

To add a lot of figures to a post, creaste sub-folders like postEC2, and then in the Markdown file use:

 ![image](/img/postEC2/image025.png)

For R markdown files, the current folder has to be blog/content/post. For complex calculations, such as the iDEP R Markdown, try the markdown separately, then import to Blogdown.

Microsoft Word documents can be saved as html, which can then be converted to Markdown format.

comments powered by Disqus