Tools for creating presentation slides with Julia code?

482 views
Skip to first unread message

Douglas Bates

unread,
Mar 22, 2016, 11:46:56 AM3/22/16
to julia-users
This issue comes up in various forms from time to time.  I will be giving a presentation in a few days about mixed-effects models in R and Julia.  If it was an R-only presentation I would probably use the the RStudio tools to create slides from .Rmd (R Markdown) sources.  I would appreciate descriptions of how others create presentations slides with Julia code.

Mauro

unread,
Mar 22, 2016, 12:00:13 PM3/22/16
to julia...@googlegroups.com
I think you can do it with Jupyter notebooks, which also work with R.

Douglas Bates

unread,
Mar 22, 2016, 12:32:05 PM3/22/16
to julia-users
On Tuesday, March 22, 2016 at 11:00:13 AM UTC-5, Mauro wrote:
I think you can do it with Jupyter notebooks, which also work with R.

Are you thinking of the RISE extension (https://github.com/damianavila/RISE.git) for Jupyter notebooks?

I think I would need to use more than one notebook to incorporate both Julia and R cells in a notebook, unless I use the RCall package for Julia.  But that solution doesn't highlight R code.

Mauro

unread,
Mar 22, 2016, 12:48:14 PM3/22/16
to julia...@googlegroups.com
> On Tuesday, March 22, 2016 at 11:00:13 AM UTC-5, Mauro wrote:
>
> I think you can do it with Jupyter notebooks, which also work with R.
>
>
> Are you thinking of the RISE extension (https://github.com/damianavila/
> RISE.git) for Jupyter notebooks?

I couldn't say whether RISE is what is needed as I haven't used it
myself, I just saw others using it. So, this was really not helpful,
sorry!

> I think I would need to use more than one notebook to incorporate both Julia
> and R cells in a notebook, unless I use the RCall package for Julia. But that
> solution doesn't highlight R code.

To geek-out, you could use emacs orgmode + babel +
https://github.com/eschulte/epresent. Although, last time I tried it
(JuliaCon 2015), Julia code blocks didn't work well. And just having
checked, the required emacs-package has not been updated in a long time:
https://github.com/gjkerns/ob-julia/blob/master/ob-julia-doc.org

Douglas Bates

unread,
Mar 22, 2016, 12:53:33 PM3/22/16
to julia-users
On Tuesday, March 22, 2016 at 11:48:14 AM UTC-5, Mauro wrote:
> On Tuesday, March 22, 2016 at 11:00:13 AM UTC-5, Mauro wrote:
>
>     I think you can do it with Jupyter notebooks, which also work with R.
>
>
> Are you thinking of the RISE extension (https://github.com/damianavila/
> RISE.git) for Jupyter notebooks?

I couldn't say whether RISE is what is needed as I haven't used it
myself, I just saw others using it.  So, this was really not helpful,
sorry!

> I think I would need to use more than one notebook to incorporate both Julia
> and R cells in a notebook, unless I use the RCall package for Julia. But that
> solution doesn't highlight R code.

To geek-out, you could use emacs orgmode + babel +
https://github.com/eschulte/epresent.  Although, last time I tried it
(JuliaCon 2015), Julia code blocks didn't work well.  And just having
checked, the required emacs-package has not been updated in a long time:
https://github.com/gjkerns/ob-julia/blob/master/ob-julia-doc.org

Been there, done that.  Didn't really have a whole lot of fun.

Jeffrey Sarnoff

unread,
Mar 22, 2016, 1:19:40 PM3/22/16
to julia-users
I have been using Beamer in LaTeX with minted:
copied or transcribed sections from the REPL into
nice looking code using the minted environment.

Cedric St-Jean

unread,
Mar 22, 2016, 4:50:58 PM3/22/16
to julia-users
I don't know about R code, but Jupyter can do a slideshow out of the box. On my vanilla setup, in the toolbar, "Cell Toolbar" has a slideshow option, and there is a `--to slides` option in nbconvert's man page.

Please post your slides! I just made it through Gelman and Hill's book, and I could use more material on `lmer`

Chris Rackauckas

unread,
Mar 25, 2016, 10:48:42 AM3/25/16
to julia-users
I've used Beamer with LaTeX and a custom program listing for syntax highlighting with success.

Ken B

unread,
Mar 27, 2016, 8:26:52 PM3/27/16
to julia-users
I've used RISE for a Julia presentation before and I was very happy with that, you can easily switch between presentation style and notebook style for live coding.
Reply all
Reply to author
Forward
0 new messages