Publications by Dean Attali's R Blog

{shinycssloaders} v1.0: You can now use your own image, plus 3 years’ worth of new features!

11.08.2020

The {shinycssloaders} package is a handy little tool that lets you easily add loading animations to a Shiny output (a plot, a table, etc.) while it’s recalculating. It’s extremely easy to use–all you need to do is wrap the output in withSpinner(). For example, plotOutput("plot") becomes plotOutput("plot") %>% withSpinner(). Version 1.0.0 i...

4920 sym 2 img

{shinycssloaders} v1.0: You can now use your own image, plus 3 years’ worth of new features!

11.08.2020

The {shinycssloaders} package is a handy little tool that lets you easily add loading animations to a Shiny output (a plot, a table, etc.) while it’s recalculating. It’s extremely easy to use–all you need to do is wrap the output in withSpinner(). For example, plotOutput("plot") becomes plotOutput("plot") %>% withSpinner(). Version 1.0.0 i...

4920 sym 2 img

Exciting updates to my top 4 Shiny packages

29.09.2020

Building new packages in R is a lot of fun for me, and if I could then I would spend all day just doing that. But after the initial relese comes the endless maintenance, which mostly involves adding new features requested by users and fixing bugs. Releasing an update to a package is much less glamorous than releasing a brand new one, but it’s j...

5094 sym

Exciting updates to my top 4 Shiny packages

29.09.2020

Building new packages in R is a lot of fun for me, and if I could then I would spend all day just doing that. But after the initial relese comes the endless maintenance, which mostly involves adding new features requested by users and fixing bugs. Releasing an update to a package is much less glamorous than releasing a brand new one, but it’s j...

5094 sym

“package ‘foo’ is not available” – What to do when R tells you it can’t install a package

05.10.2020

This common error means the package you’re looking for can’t be installed from CRAN. This is how you solve it. – The R language is infamous among its users for often having unhelpful error messages. One of the error messages that almost any R user in history has seen is “package ‘foo’ is not available (for R versi...

7024 sym

“package ‘foo’ is not available” – What to do when R tells you it can’t install a package

05.10.2020

This common error means the package you’re looking for can’t be installed from CRAN. This is how you solve it. – The R language is infamous among its users for often having unhelpful error messages. One of the error messages that almost any R user in history has seen is “package ‘foo’ is not available (for R versi...

7024 sym

Debugging with Dean: My first YouTube screencast

29.10.2020

I wanted to solve a real bug in real-time, to show you my thought process. Here’s how it turned out. – If you’re impatient and want to watch the video immediately, you can watch it directly on YouTube. Just remember to subscribe so you won’t miss my next videos! Table of contents Background A typical Saturday morning...

5932 sym

Debugging with Dean: My first YouTube screencast

29.10.2020

I wanted to solve a real bug in real-time, to show you my thought process. Here’s how it turned out. – If you’re impatient and want to watch the video immediately, you can watch it directly on YouTube. Table of contents Background A typical Saturday morning To share or not to share? The initial response My whoopsie It�...

5803 sym

{shinyscreenshot}: Finally, an easy way to take screenshots in Shiny apps!

05.11.2020

{shinyscreenshot} has finally been released, two entire years (sorry!) after I began working on it. It allows you to capture screenshots of entire pages or parts of pages in Shiny apps, and have the image downloaded as a PNG automatically. It can be used to capture the current state of a Shiny app, including interactive widgets (such as plotly, t...

5592 sym R (376 sym/3 pcs)

{shinyscreenshot}: Finally, an easy way to take screenshots in Shiny apps!

05.11.2020

{shinyscreenshot} has finally been released, two entire years (sorry!) after I began working on it. It allows you to capture screenshots of entire pages or parts of pages in Shiny apps, and have the image downloaded as a PNG automatically. It can be used to capture the current state of a Shiny app, including interactive widgets (such as plotly, t...

5592 sym R (376 sym/3 pcs)