{
  "title": "How do you reuse project code and data for a blog post? Check out my new post on how to use git and knitr to blog(down) about your #rstats project. Thanks to @xieyihui for blogdown, @JennyBryan for her git tutorial, and @dataandme for her blogdown roundup! https://t.co/PVaHaIQcf0",
  "date": "2018-01-25"
}

# blogdown

> **Tim Mastny** (@TimothyMastny; 26/7): How do you reuse project code and data for a blog post? Check out my new post on how to use git and knitr to blog(down) about your #rstats project. Thanks to @xieyihui for blogdown, @JennyBryan for her git tutorial, and @dataandme for her blogdown roundup! https://t.co/PVaHaIQcf0  [&#8618;](https://twitter.com/xieyihui/status/955986274632036352)

<!-- -->


> **Mara Averick** (@dataandme; 25/8): Git going w/ version control, &amp; code chunks... "Use git to Blog(down) About Your Projects" 🖊 @TimothyMastny https://t.co/aCKdeQvYYW #rstats https://t.co/jizbjGEGuq  [&#8618;](https://twitter.com/xieyihui/status/956225847127609344)

<!-- -->


> **Mike Treglia** (@MikeTreglia; 25/3): finally got something written up about getting started #hugo via #blogdown/#rstats/github pages: https://t.co/gT1bOYBpMP 
>
Hope it's useful for some folks!  [&#8618;](https://twitter.com/xieyihui/status/956018327670939654)

<!-- -->


> **Bruno Vilela** (@Bruno__Vilela; 9/9): I just started to write some tutorials for #rstats in macroecology using blogdown package. The first one is: A guide to transform species distributions into a presence absence matrix based on a user-defined grid in R. https://t.co/tv4TslIfHv  [&#8618;](https://twitter.com/xieyihui/status/956239280246001665)

<!-- -->


> **Steph Locke** (@SteffLocke; 4/0): Using #blogdown on an existing #hugo site with #ci https://t.co/cywAq7fPdO https://t.co/ul8dBWcPbd  [&#8618;](https://twitter.com/xieyihui/status/956279504951021569)

<!-- -->


> **Taras Kaduk** (@taraskaduk; 2/1): The never ending struggle of #blogdown. This time around: trying to figure out how to fix the xml Atom/RSS feed. #rstats  [&#8618;](https://twitter.com/xieyihui/status/955982255050186752)

<!-- -->


> **Marie Dussault 💀** (@londonaesthetik; 2/0): @taraskaduk @ma_salmon Ive got a loose outline of a little post, just an intro/hi to how I got here... And a draft version of a blogdown site... Just need to put it on github... Overcome the fear.  [&#8618;](https://twitter.com/xieyihui/status/956232711609438209)

<!-- -->


> **Taras Kaduk** (@taraskaduk; 2/0): @londonaesthetik @ma_salmon I hear your pain. I went through this recently, but not it consumes less and less time (aside from constant "things I need to figure out / fix in my blogdown site)  [&#8618;](https://twitter.com/xieyihui/status/956225922167918593)

<!-- -->


> **Bruno Rodrigues** (@brodriguesco; 1/1): @Gui42 Glad you enjoy it! I did some python dev in the past and do it still occasionally... have you looked at  https://t.co/40NXiBw3Pe ? maybe you could generate the html files with blogdown (for rmd) and the above link for jupyter and then push it all to github pages?  [&#8618;](https://twitter.com/xieyihui/status/956132970628354048)

<!-- -->


> **CRAN Package Updates** (@CRANberriesFeed; 0/0): CRAN updates: blockcluster blogdown FedData hms kerasformula krm lidR RInno RJDBC tufte https://t.co/y5W2NTKSXT #rstats  [&#8618;](https://twitter.com/xieyihui/status/956240902938415104)

<!-- -->


> **Taras Kaduk** (@taraskaduk; 0/0): @xieyihui How does one control the index.xml? Can't see it in the blogdown manual. Do you do it in config.toml? Or need to create layouts? (looking through your Github repo, I see rss.xml in layouts, but where does it link to?)  [&#8618;](https://twitter.com/xieyihui/status/955989153644273672)

<!-- -->


# bookdown

> **BountyBot** (@BountyBot; 0/0): `bookdown`/`rmarkdown`/`knitr`: Child documents and path definition in `YAML` headers https://t.co/wvmnb3tjkB Amt:500 #R  [&#8618;](https://twitter.com/xieyihui/status/955983495716892672)

<!-- -->


# knitr

> **Tim Mastny** (@TimothyMastny; 26/7): How do you reuse project code and data for a blog post? Check out my new post on how to use git and knitr to blog(down) about your #rstats project. Thanks to @xieyihui for blogdown, @JennyBryan for her git tutorial, and @dataandme for her blogdown roundup! https://t.co/PVaHaIQcf0  [&#8618;](https://twitter.com/xieyihui/status/955986274632036352)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 2/0): @VizMonkey @MilesMcBain You can actually do this with spin() from knitr! Try `knitr::spin("script.R", knit = FALSE)` and it will give you script.Rmd. By default turns roxygen comments to text, but you can customize with `doc` param.  [&#8618;](https://twitter.com/xieyihui/status/956190966809055233)

<!-- -->


> **Caroline Bartman** (@Caroline_Bartma; 0/0): @michaelhoffman @arjunrajlab i'm not familiar with knitr! so far just using R (with dplyr/ggplot2)  [&#8618;](https://twitter.com/xieyihui/status/956298524014063616)

<!-- -->


> **Michael Hoffman** (@michaelhoffman; 0/0): @Caroline_Bartma @arjunrajlab That is great! Are you using something like knitr?  [&#8618;](https://twitter.com/xieyihui/status/956298272091459585)

<!-- -->


> **ljw** (@levijohnwolf; 0/0): @darribas If you use jupyter yeah. I'm referring to the knitr stuff  [&#8618;](https://twitter.com/xieyihui/status/956198059880452097)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 0/0): @VizMonkey @MilesMcBain @daattali called it "knitr's best hidden gem" https://t.co/bIiBmkyPsp  [&#8618;](https://twitter.com/xieyihui/status/956191648693800961)

<!-- -->


> **BountyBot** (@BountyBot; 0/0): `bookdown`/`rmarkdown`/`knitr`: Child documents and path definition in `YAML` headers https://t.co/wvmnb3tjkB Amt:500 #R  [&#8618;](https://twitter.com/xieyihui/status/955983495716892672)

<!-- -->


# yihui.name

> **Yihui Xie** (@xieyihui; 0/0): @znmeb @ma_salmon @shoilipal You don't have to, if your Linux distro is Debian/Ubuntu. See FAQ 9: https://t.co/FKcvDWa6Xi  [&#8618;](https://twitter.com/xieyihui/status/956309064178388994)

<!-- -->


> **Yihui Xie** (@xieyihui; 0/0): @znmeb @ma_salmon @shoilipal No! Burn all your existing LaTeX distributions, and install TinyTeX. No more Step 1 2 3. There is only Step 1: devtools::install_github(c('yihui/tinytex', 'rstudio/rmarkdown');
tinytex::install_tinytex(), and done, forever. https://t.co/8RunnVDowm  [&#8618;](https://twitter.com/xieyihui/status/956303773076516864)

<!-- -->


