Open emiliom opened 6 years ago
2017-08-01-xtractoR.ipynb
with no problem.2017-11-30-rerddap.ipynb
I get a ModuleNotFound
error for rpy2
I tried installing rpy2
and re-run the notebook, but now I get ImportError: libicuuc.so.54: cannot open shared object file: No such file or directory
.filipe_fernandes_intro_errdapy.ipynb
runs fine after I installed cartopy
.Hi @emiliom,
Thank you for getting this organized. I'll do a deep dive on these tomorrow.
Thank you for getting this organized. I'll do a deep dive on these tomorrow.
Thanks @bbest. If you can focus on the non-notebook R scripts/vignettes/stuff, that'd be optimal. The rest of us are already handling the Jupyter-notebook sample code.
@lsetiawan, with PR #20 merged, have you tried 2017-11-30-rerddap.ipynb
again?
(Just checking while I wait for some other stuff to finish :smile_cat:)
The kernel keeps dying on me now when I try to run 2017-11-30-rerddap.ipynb
The kernel keeps dying on me now when I try to run 2017-11-30-rerddap.ipynb
Oh well. Maybe @ocefpaf can look into it on Wednesday once he's here in Seattle, since he had a role in creating the notebook. Right now I think he's up in the air somewhere.
Thanks for testing.
Per Roy Mendel's https://github.com/ioos/BioData-Training-Workshop/issues/13#issuecomment-363248885, these notebooks are worth checking out for using xtractomatic, rerddap and rerddapXtracto:
@bbest, can you clarify (for me at least!) what is a "notebook" in a non-Jupyter R context? I see in Roy's page he points to several "vignette RNotebooks", and see that the downloadable Rmd
files look like mostly Markdown with a bit of magic thrown in. Are these "vignette RNotebooks" Rmd files executable (say, in Rstudio) the same way a Jupyter notebook ipynb
file is in Jupyter?
Hi @emiliom, the R notebooks are newer than typical Rmarkdown documents and meant to be similar in functionality as Python notebooks which both contain the reproducible code and rendered output. To be honest, I haven't been using them yet, but here's the minor extra functionality I gleaned...
nb.html
, so you don't need to distribute two seperate files as with typical Rmarkdown (ie source *.Rmd
and rendered *.html
).
Preview is instantaneously updated. There is also a slightly different workflow allowing for instant preview of html result in the Viewer pane as you execute lines (or chunks) of code, whereas with typical Rmarkdown you need to Knit (ie render()
) the whole document in order to see the updated html result in the Viewer.
Format Summary. Many other extremely useful Rmarkdown output formats (PDF, Word, beamer, Websites...) work in the more typical fashion of needing to Knit first and don't have the source embedded.
*.Rmd
rendered to *.nb.html
using output: html_notebook
in front matter*.Rmd
rendered to *.html
using output: html_document
in front matterReferences:
Wow, thanks for that rich background @bbest !
So, what I'm hearing (and also saw at http://rmarkdown.rstudio.com/r_notebooks.html) is that an *.Rmd
document that was created as an R notebook can in fact be opened and executed in RStudio, much like an *.ipynb
jupyter notebook document in Jupyter. Great.
We now have two code/script directories ready:
We already have 3 jupyter notebooks in the
notebooks
directory (thanks to @ocepaf for uploading hiserddapy
notebook!). I mentioned I loaded a relevant "R vignette" from Roy Mendelsohn and Scott Chamberlain into thercode
directory, but we'll need an R person to test it, or even tell us/me if that's something that's actually meant to be run as is (I have no clue).I'm starting this issue to discuss and track the loading of additional samples, plus testing them to ensure they actually run with our setups.
Next steps:
obistools
test jupyter notebook in thetests
directory, https://github.com/ioos/BioData-Training-Workshop/blob/master/tests/test_obistools.ipynb. Looks cool! Let's copy it into thenotebooks
folder and tweak it if needed!R
R
side of things?? That includes loading a couple of R scripts/vignettes/notebooks you think would be appropriate and of interest