This I put as 'continued' because the old thread:
is the same subject but does not quite cover the case I'm asking about.
My rmarkdown output is html , creating a website using blogdown. I load the libraries at the top of each Rmd page by sourcing a script where they are listed. So when I end up with say 30 Rmd pages, that is loading the libraries 30 times whenever I build the site (which I appreciate I don't have to every time I update a file, but I do it regularly). As far as I have been able to work out there is no alternative to this - but I wonder if I am missing something obvious? Many thanks