Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 09 23:04

    apreshill on master

    Update README.md (compare)

  • Jan 16 23:00
    apreshill closed #25
  • Jan 16 23:00
    apreshill edited #22
  • Jan 16 22:59
    apreshill closed #21
  • Jan 16 22:57

    apreshill on master

    put the bookdown slides downloa… (compare)

  • Jan 16 22:50

    apreshill on master

    add more detail re image sizing… (compare)

  • Jan 16 22:45

    apreshill on master

    woops had deleted an important … (compare)

  • Jan 16 22:14
    apreshill edited #22
  • Jan 16 22:13

    apreshill on master

    update xaringan 2 column slides (compare)

  • Jan 16 21:25

    apreshill on master

    add some labels for links in da… (compare)

  • Jan 16 21:25
    rpodcast opened #35
  • Jan 16 21:24

    apreshill on master

    add download link for full work… (compare)

  • Jan 16 21:20

    apreshill on master

    add chat to navbar, should have… (compare)

  • Jan 16 21:06
    apreshill opened #34
  • Jan 16 18:17

    apreshill on master

    update download links to day 1 … (compare)

  • Jan 16 18:13
    apreshill edited #33
  • Jan 16 18:12
    apreshill edited #23
  • Jan 16 18:05
    apreshill assigned #29
  • Jan 16 18:05
    apreshill labeled #30
  • Jan 16 18:05
    apreshill assigned #30
Josh Goldberg
@GoldbergData
@statik You’re welcome
Elliot Murphy
@statik
I was able to get bookdown to work with references to unnumbered chapters like this # Prerequisites {.unnumbered #pre}
so I used .unnumbered instead of -
Eric Nantz
@rpodcast
Just in case: My officer slides can be found at rpodcast.github.io/officer-advrmarkdown and the GitHub repo is at github.com/rpodcast/officer-advrmarkdown
chuck-fcas
@chuck-fcas
Thank you @statik ! Unnumbering for the win.
Alison Presmanes Hill
@apreshill
nice @statik! I'm adding to my issues so it makes it in the slides: rstudio-education/arm-workshop-rsc2019#23
@GoldbergData wow! thanks for sharing that, added for future wisdom rstudio-education/arm-workshop-rsc2019#23
Josh Goldberg
@GoldbergData
@apreshill you can also type html/css directly in the .Rmd files for bookdown. Here is an example using inline style adjustments to change the PART section of the toc.
# (PART\*) <i style="font-size: 30px; color:#990017; opacity:1;">Act One</i> {-}
You can also assign html id’s directly and then modify in CSS directly pretty easily:
<i id="test">Act One</i>
#test {
  color: green;
}
Elliot Murphy
@statik
here is the wrapper script I’m using to pass data files in to rmarkdown renders in a background job in a SaaS application (from the discussion in classroom just now) https://talks.kindlyops.com/reporter/presentation.html#8
Zhi Yang
@zhiiiyang_twitter
Hi, does anyone know where to download Yihui's slides code? I can see the slides but not the R Markdown file. Thank you!
Elliot Murphy
@statik
Elliot Murphy
@statik
link to the RMarkdown book https://bookdown.org/yihui/rmarkdown/
Alison Presmanes Hill
@apreshill
This is also linked on the landing page for the website: http://arm.rbind.io/
Also linked with other online books in the readings recommended in our prework: http://arm.rbind.io/prework/resources/
Alison Presmanes Hill
@apreshill
Nascent thoughts here on choosing a Hugo theme: apreshill/ada-blog#1
Alison Presmanes Hill
@apreshill
My new link after changing .Rmd file name to index: https://confident-payne-845b21.netlify.com/#1
My new link after changing Netlify custom domain: https://armday2deck.netlify.com/#1
Alison Presmanes Hill
@apreshill
Alison Presmanes Hill
@apreshill
what my blogdown gitignore file SHOULD have looked like: https://github.com/rbind/apreshill/blob/master/.gitignore
Alison Presmanes Hill
@apreshill
FYI when I use a netlify.toml this prints in my deploy log: Found netlify.toml. Overriding site configuration
here is an example R package, with a pkgdown site: https://github.com/apreshill/bakeoff
Note the netlify.toml that changes the publish directory to docs
Here is the published pkgdown site: https://bakeoff.netlify.com/
Alison Presmanes Hill
@apreshill
Wrote up an issue with links for how to deploy to netlify with pkgdown, blogdown, xaringan, and bookdown (+ or - Travis CI): rstudio-education/arm-workshop-rsc2019#34
Zhi Yang
@zhiiiyang_twitter
@statik thank you!
Alison Presmanes Hill
@apreshill
Hi folks- friendly reminder to maybe use this next break to export work from RStudio Server Pro, instructions here: http://arm.rbind.io/days/day1/day1-am/#export
On the main page of the website there is now a large DOWNLOAD WORKSHOP FILES button: http://arm.rbind.io/
This will download a zip file with the entire workshop website in it (get ready- it is BIG!)
Elliot Murphy
@statik
thank you! this workshop has been sooo excellent
after the last session I am wondering about accessing params from LaTeX
I have a .Rmd with a params section
and in my output I have includes: in_header: custom.tex
I would like to access and use one of the params from inside my custom.tex. Curious whether this is possible or if I have to define a whole custom output format.
Benjamin
@guiastrennec
Is it possible to have shiny apps running in xaringan (i.e. like in ioslide)?
Jeremy
@jeremy-allen
pretty please?
Yihui Xie
@yihui
@statik One way to do it is through knit_expand(). For example, you can have a custom.txt that uses params, e.g. \whatever\latex\command{{params$foo}}. Then in the main Rmd document, you do writeLines(knitr::knit_expand('custom.txt'), 'custom.tex'). In other words, your custom.tex is generated dynamically.
Yihui Xie
@yihui
@jeremy-allen @guiastrennec Unfortunately, no; xaringan doesn't support runtime: shiny. The only way to embed a Shiny app in xaringan slides is through <iframe>, i.e., you have to deploy the app to a certain server, and embed it via <iframe src="url-of-your-app"></iframe>.
Elliot Murphy
@statik
thank you!
Benjamin
@guiastrennec
@yihui thanks !
Eric Nantz
@rpodcast
@yihui could you share with us how you were able to get users to view the source of your rmd slides when changing the end of the url to be .Rmd? I would like to try that for my slides in the future.
Hao Zhu
@haozhu233_twitter
@rpodcast Hi Eric, I think if you put your html and Rmd under the same folder (as default), you should be able to get that. For example, for the slide @apreshill was using, http://arm.rbind.io/slides/bookdown.Rmd
Michael Laviolette
@mlaviolet
How do you get the fontawesome package? It's not on CRAN and I couldn't find it the usual way with devtools.
Yihui Xie
@yihui
@rpodcast The answer is here: https://yihui.name/en/2018/03/pres-rmd-source/
Michael Laviolette
@mlaviolet
For some reason I was getting an unfamiliar menu installing fontawesome. I succeeded with the current development version using devtools::install_github("rstudio/fontawesome")
lixingguang
@lixingguang
is there anyone good at data visualiz