GithubHelp home page GithubHelp logo

maelle / rmd-blogging-course Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 3.0 778 KB

Scientific blogging with R Markdown (Course Website)

Home Page: https://scientific-rmd-blogging.netlify.app/

HTML 45.14% CSS 38.74% JavaScript 16.12%
r-markdown rmarkdown blogging rstats

rmd-blogging-course's Introduction

Bonjour, I'm Maëlle! 👋

I am a R(esearch) Software Engineer, part-time with rOpenSci where I, among other things, maintain the guide rOpenSci Packages: Development, Maintenance, and Peer Review. I also created the R-hub blog and co-wrote the online book HTTP testing in R with Scott Chamberlain. I regularly contract for various organizations, including research institutions, for developing or strengthening R packages. I have a PhD in Statistics. I live in Nancy, France.

© Profile picture by Julie Noury Soyer

rmd-blogging-course's People

Contributors

maelle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rmd-blogging-course's Issues

questions

Q (distill): Is there a difference between knitting and using the build tab?
Maëlle: apparently from RStudio the website gets built when one edits the site configuration, and when one knits a post. You need to knit posts; and if you edit about.Rmd you need to either knit it or re-build the website. My impression is that you need to knit with intent, but most often the build part happens magically.

Q: what is the difference (pros/cons) between hugo and distill?
Maëlle: I mentioned it a bit, distill is perfect for scientific/technical blogging but not very flexible. Hugo is very flexible which might be a curse. ;-) With Hugo you can really build any website: for this course website I mixed two Hugo themes, with a few custom layouts for instance (so even the slides used hugodown). But it requires time for learning.

Q: Is it possible to have one citation style file for all posts/folders with Hugo or does it need to be in the same folder as the post?
Maëlle: I'm exploring now. For distill apparently no rstudio/distill#82 For hugodown EDIT I had actually looked into it! r-lib/hugodown#28 So for both distill and hugodown, it's not possible yet but at least you can store .bib at the root and refer to it as ../../../refs.bib or so in your post YAML.

Q: How to limit the readership of your blog - if i want my website to only be viewable to the people in my company?
Maëlle: For WordPress websites having private posts seem to be built-in. For Hugo and distill it depends on how you deploy. I.e. from https://hugodown.r-lib.org/articles/deploy.html if you choose say Amazon S3 you could look for "Amazon S3 private website". Or you could deploy to a server that your team has?

Q: Regarding reproducibility: Do you have any thoughts on how to share your data belonging to the code in such a blogpost?
Maëlle: you could put it with your post in Hugo (in the post folder), otherwise sharing it in a GitHub repo works; but better for bigger datasets would be to use Figshare/Zenodo/etc.

Q: Using utterance.es, you have some sort of notification if someone comments on your post?
Maëlle: yes, same as other GitHub notifications (so email or web depending on your settings).

Q: Is there a way to collaborate on the same blog?
Maëlle: Yes definitely. At rOpenSci we use GitHub for that (we even have a guide, blogguide.ropensci.org), you could use GitLab too. Adding posts by pull requests is nice because of the pull requests review infrastructure. Without a git platform I think it might be less natural to edit collaboratively but you could still find an alternative workflow.

Q: Is it a good idea to use the distill format for the lab where you work instead of being a personal blog?
Maëlle: I've seen distill for groups (https://scientific-rmd-blogging.netlify.app/distill/further-resources/#websites-for-inspiration-), I think it works well for that too, if your colleagues are ok editing from R / letting you edit things.

Q: cheap hosting?

Comment: GDPR, privacy page, in Germany imprint.

knit problems new r

so error message

processing file: index.Rmd
|......................................................................| 100%
ordinary text without R code

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS index.utf8.md --to markdown_strict+pipe_tables+strikeout+autolink_bare_uris+task_lists+backtick_code_blocks+definition_lists+footnotes+smart+tex_math_dollars+native_divs+emoji --from markdown+autolink_bare_uris+tex_math_single_backslash+emoji --output index.md --wrap=none
output file: index.knit.md

pandoc.exe: Unknown extension: task_lists
Fehler: pandoc document conversion failed with error 9
Ausführung angehalten

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.