Skip to content
Website of the R users community in Grenoble.
Branch: master
Clone or download
Pull request Compare This branch is 197 commits ahead, 6 commits behind privefl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
members_files/figure-html/widgets
presentation
reunion
site_libs
.gitignore
.nojekyll
DSC_0121.JPG
README.md
TODO.md
_site.yml
add-members.R
calendar.Rmd
calendar.html
cover.html
cover.jpg
gabarit_ecocup.pdf
help.Rmd
help.html
hexsticker.png
ideas
index.Rmd
index.html
lost-found.Rmd
lost-found.html
members.Rmd
members.html
orga.Rmd
orga.html
poster.pdf
r-in-grenoble.github.io.Rproj
session-parallel.zip
sessions.Rmd
sessions.html
styles.css

README.md

Make your website with R Markdown in minutes

This is a template (and tutorial) for creating your website with R Markdown in minutes.

The official document from RStudio can be found here.

Procedure

Prerequisites

  • Make sure that you have the latest versions of R, RStudio and package rmarkdown. I had problems of encoding because of that.
  • Make sure that you have enabled Git in RStudio. More information can be found there.
  • You need a GitHub account.

Make the first version of your website

  • Fork this repo (use the green button "Clone" and make sure you use SSH, not HTTPS) and rename it to be 'YOURGITHUB.github.io' (in Settings of your brand new repo).
  • Get the link from cloning the repo. Then, go to RStudio, create a New Project > Version Control > Git and copy this link. You have cloned your new repo as an R project.
  • Use rmarkdown::render_site(encoding = "UTF-8") in the console.
  • Commit and push everything from RStudio.
  • Go see your new website at https://YOURGITHUB.github.io/.

Change the content of your website

  • Modify _site.yml, index.Rmd, about.Rmd, cv.Rmd and CV.pdf with your own content.
  • Use rmarkdown::render_site(encoding = "UTF-8") again. At any moment, you can preview your website locally, by rendering your site and viewing any of your local html file in your Web Browser.
  • Commit and push everything from RStudio.
  • Go see your new website with your own content at https://YOURGITHUB.github.io/.

The blog part

For now, the 'Blog' link is giving a 404 page.

If you want to add a static blog to your webpage, go there.

An example

You can see for example my own website.

Conclusion

As a reminder, all credit goes to the geniuses at RStudio (thanks also to GitHub pages). I just made some minor modifications and made a tuto about how to use all this together.

If anything is false or not clear enough, feel free to contact me or open an issue. If it is an issue only related with R Markdown, you'll find a better answer posting there.

You can’t perform that action at this time.