# Is there anything similar to Rstudio?

**URL:** <https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976>\
**Category:** New to Julia\
**Created:** [December 15, 2016, 6:49pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976 "2016-12-15T18:49:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ford](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ford/32/1741_2.png) [@Ford](https://discourse.julialang.org/u/Ford)\
**Post date:** [December 15, 2016, 6:49pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/1 "2016-12-15T18:49:06Z")

</div>

Is there anything like R studio with [R Markdown](http://rmarkdown.rstudio.com/) for julia?  
I would like to write a homework in julia. It should involve formatted text, math equation (Latex) and images (graphs / plots).

On top of that the Julia code ( that I use to plot the graphs ) should not be visible and it must be possible to export the document into PDF. In other words it should look like a scientific paper, not a programmer workstation…

I have tried Jupyter but it feels like source code presentation tool at best.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [December 15, 2016, 7:00pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/2 "2016-12-15T19:00:29Z")

</div>

[Weave.jl?](https://github.com/mpastell/Weave.jl) Not sure if it can do all of what you want (i.e. make it look like a TeX’d result).

You can output Jupyter to TeX. Did that not look right?

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [December 15, 2016, 7:21pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/3 "2016-12-15T19:21:32Z")

</div>

You can also use templates for `nbconvert` to output Jupyter notebooks without showing the Julia code, I believe. (I’m not saying that it’s “easy” to do so at the moment, though.)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [December 15, 2016, 7:27pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/4 "2016-12-15T19:27:04Z")

</div>

Oh, I forgot that I made this repo for doing this kind of stuff in Jupyter easier:

[https://github.com/ChrisRackauckas/JupyterSite](https://github.com/ChrisRackauckas/JupyterSite)

It’s used to build this website from Jupyter notebooks:

[http://ucidatascienceinitiative.github.io/IntroToJulia/](http://ucidatascienceinitiative.github.io/IntroToJulia/)

but also outputs PDFs. The PDFs look like this:

[https://github.com/ChrisRackauckas/JupyterSite/blob/master/Pdfs/GithubIntroductionNoPNG.pdf](https://github.com/ChrisRackauckas/JupyterSite/blob/master/Pdfs/GithubIntroductionNoPNG.pdf)

You can change the `publish.sh` file to get rid of everything but the PDF outputs if you like (or just use the TeX output to then manually finish it in TeX). Note that I never did get it outputting graphs figures though. The figures would show up everywhere except the PDFs.

---

<div class="post-metadata">

**Author:** ![mpastell](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mpastell/32/350_2.png) [@mpastell](https://discourse.julialang.org/u/mpastell)\
**Post date:** [December 19, 2016, 8:29pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/5 "2016-12-19T20:29:19Z")

</div>

All of the features you asked for are supported by [Weave.jl](https://github.com/mpastell/Weave.jl). I just tagged a 0.3.0 release with improved templates.

Have a look at the [getting started](http://weavejl.mpastell.com/stable/getting_started/) page and [chunk options](http://weavejl.mpastell.com/stable/chunk_options/) in the docs.

Let me know if you have any questions and open issues in the repo for missing features.

---

<div class="post-metadata">

**Author:** ![Ford](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ford/32/1741_2.png) [@Ford](https://discourse.julialang.org/u/Ford)\
**Post date:** [December 20, 2016, 10:38am UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/6 "2016-12-20T10:38:48Z")

</div>

That is actually exactly what I was looking for… Impressive work!

Only few nitpicks / questions :

- I am not sure how much powerful julia macros are, but could it be possible to use the syntax available in `.jmd` also in vanilla `.jl` file just by calling a `@weave` at the very first line of `.jl` file?

- Since `#'` contains just a plain text on multiple lines, could it be possible to use syntax similar to documentation `@...""" """`?

---

<div class="post-metadata">

**Author:** ![mpastell](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mpastell/32/350_2.png) [@mpastell](https://discourse.julialang.org/u/mpastell)\
**Post date:** [December 20, 2016, 6:01pm UTC](https://discourse.julialang.org/t/is-there-anything-similar-to-rstudio/976/7 "2016-12-20T18:01:52Z")

</div>

Using a string macro like `w""" """` would be possible and I may implement it at some point. I don’t think I’d use that format myself. I plan to add a `weave_include` function analog to `include_string` for Weave docs, which would make it easier to just run code instead of weaving to a document.
