Content for my personal blog: http://russ-hyde.rbind.io/
The environment for building the website works as follows.
conda activate blog-base
rstudio data-globs.Rproj &
# Activate the conda environment on which r-base is installed
conda activate blog-base
# Then open rstudio, and the 'renv'-defined environment for the project will
# be activated automatically
rstudio data-globs.Rproj &
In rstudio click "Addins -> Serve Site" or use blogdown::serve_site()
once
Click "Addins -> New Post" to add a new blog entry
Steps to get the blog building under the renv setup:
rstudio &
to load global rstudiorenv::init()
to initialise an renv environmentrenv/library/
to .gitignore (so local package locations/downloads
aren't pushed up to github)install.packages()
until the site can be built. Order of install:
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
] which showed that 3.4.26 was not availablesudo apt-get upgrade libstdc++6
]
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
```]
sudo apt-get dist-upgrade
]blogdown::install_hugo()