![]() Visit the Academic theme's documentation website to learn about the theme's features. Now that Blogdown and Hugo are installed on your computer and your source files are connected to your GitHub account, you are ready to use RStudio to edit and add your information to personalize your website. Open up a web browser and go to: Editing Your Website This will start a preview server on your computer to view the current state of your website. In RStudio, click on Addins in the menu bar and select Serve Site. Let's make sure everything's installed correctly. In the Files tab, open up the config/_default directory and move config.toml file to the root of the personal-website directoryĬlick on the "More" button, then select "Move." to be prompted to select a target directory ![]() ![]() In the Files tab, click on the personal-website directory Install the Hugo static site generator: blogdown::install_hugo(force = TRUE) Install the Blogdown package: install.packages("blogdown") It was developed by Yihui Xie to help statisticians and data scientists create websites using tools for R programming contexts. Git config -global user.email config -global user.name "Your GitHub User Name"īlogdown is an open source R package that produces static HTML websites from Markdown and R Markdown files. If you've never pushed to a GitHub repository, add your GitHub credentials:.Finish installing the Academic theme: git submodule update -init -recursive.Change directories to your website folder: cd personal-website.Consult these instructions for help troubleshooting. Note: if you get an error that RStudio can't create a project with Version Control, it means that either you don't have Git installed or RStudio can't find git. Choose a directory on your computer where this project will be created.Enter in a project directory name (e.g "personal-website").Open RStudio and create a new project: File -> New Project -> Version Control. ![]() RStudio is a desktop application that includes a full-featured development environment for programming in R.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |