class: center, middle, inverse, title-slide # Online publishing with R Markdown ###
Dr. Priyanga D. Talagala
###
Research Lounge Meet, University of Moratuwa
###
18/10/2022
--- ## Research blogging - Research blogging is a form of knowledge mobilization that can help get the right information to the right people at the right time. -- - Blogging your research can reduce research waste, improve access, build awareness, and increase connections. -- - Encourage you to express your ideas, be creative, develop confidence in writing, to communicate and collaborate with other. -- - Work on your online presence and become reflective in your learning .footnote[Source: Blogging your research: Tips for getting started https://www.lib.sfu.ca/help/publish/scholarly-publishing/radical-access/blogging-research#:~:text=Research%20blogging%20is%20a%20form,build%20awareness%2C%20and%20increase%20connections.] --- ## Deciding where to blog - The best place to start blogging will depend on your time, budget, skills, experience, and goals. - A few common options include: - **Create your own blog:** If you plan to do a lot of blogging, consider starting your own website - **Blog on a third-party platform:** If you only plan to blog from time to time, posting on a third-party site can be a good option .footnote[Source: Blogging your research: Tips for getting started https://www.lib.sfu.ca/help/publish/scholarly-publishing/radical-access/blogging-research#:~:text=Research%20blogging%20is%20a%20form,build%20awareness%2C%20and%20increase%20connections.] --- class: inverse, middle, center ## Create your own blog with <img src="fig/logo.png" width="30%" style="display: block; margin: auto;" /> --- ## Blogdown - `blogdown` allows you to create websites using R Markdown and Hugo. - By default, blogdown uses Hugo, a popular open-source static website generator, which provides a fast and flexible way to build your site content to be shared online. - Other website generators like Jekyll and Hexo are also supported. --- #### Research Lounge website [hellormd.netlify.app](https://hellormd.netlify.app/) <img src="fig/hellormd.png" width="80%" style="display: block; margin: auto;" /> --- ## Installation You can install the package via CRAN as follows: `install.packages('blogdown')` --- ## Creating websites with blogdown File -> New Project <img src="fig/blogdown1.png" width="40%" style="display: block; margin: auto;" /> --- ## Creating websites with blogdown New Directory <img src="fig/blogdown2.png" width="60%" style="display: block; margin: auto;" /> --- ## Creating websites with blogdown Website using blogdown <img src="fig/blogdown3.png" width="60%" style="display: block; margin: auto;" /> --- ## Creating websites with blogdown <img src="fig/blogdown4.png" width="60%" style="display: block; margin: auto;" /> --- ## Directory structure <img src="fig/blogdown5.png" width="90%" style="display: block; margin: auto;" /> --- ## Creating websites with blogdown <img src="fig/blogdown6.png" width="65%" style="display: block; margin: auto;" /> --- ## Creating websites with blogdown <img src="fig/blogdown7.png" width="80%" style="display: block; margin: auto;" /> --- <!-- You may not be satisfied with the default site created from the default setting--> # Advanced features .pull-left[ <img src="fig/cover.png" width="60%" style="display: block; margin: auto;" /> ].pull-right[ https://bookdown.org/yihui/blogdown/ <img src="fig/book.png" width="100%" style="display: block; margin: auto;" /> ] --- class: inverse, middle, center
pridiltal and thiyangt # Acknowledgements: This work was supported in part by RETINA research lab funded by the OWSD, a program unit of United Nations Educational, Scientific and Cultural Organization (UNESCO). All rights reserved by Thiyanga S. Talagala and Priyanga D Talagala