I installed fortran kernel in jupyter notebook and It is possible to write and run fortran codes in Jupyter. I have some fortran files with *.FOR extension, Is it possible to run this files from jupyter notebook?
I wanted to ask how to repair kernel connection for R in jupyter notebook,
I am able to run R in Rstudio and python in jupyter notebook, I used to write R in jupyter notebook but after some updates(I dont know what updates) R stop working in jupyter notebook.
I would like to ask for some advices - I would like to run it without reinstalling it
I also folled some question on stackoverflow and on google but it was not helpfull.
I attached images of what errors it returns
I did try: $ conda install -c r r-irkernel
I am looking for a way to get the path of current working notebook on jupyter notebook irkernel in order to do setwd() easier.
Using reticulate and call python os does not work. Although it works in a python notebook.
library(reticulate)
os <- import("os")
os$listdir(".")
Does R kernel in Jupyter use iPython notebook? Or some form of knitr/ rmd?
No matter which kernel you use (Python, R, etc.), Jupyter uses its own open source notebook format that is JSON-based. It does not use knitr or R Markdown.
https://nbformat.readthedocs.io/en/latest/
I have an R notebook that I am trying to make into a Jupyter notebook using IRkernel, which I downloaded via Anaconda.
Everything works fine except when I try to use dygraphs, which just won't display the graph.
The only thing close to an answer I could find online is: https://doc.dataiku.com/dss/latest/R/dygraphs.html but I am not able to download the dataiku library for some reason.
I tried using conda install -c r r-dygraphs but it has made no difference.
On the dygraphs website they don't mention anything about using it in a Jupyter notebook so I'm not sure what to do. If it isn't supported on Jupyter, can someone point me to a close alternative to dygraphs that will work on Jupyter? The time series visualisation is really great on it which is why I want to implement it in my Jupyter notebook.
Thanks in advance!
If your error is something like:
ERROR while rich displaying an object: Error in file(file, "rb"): invalid 'description' argument
Then I think it's referring to not being able to plot the dygraphs in Jupyter. I would suggest checking out the "using" section on the documentation for R dygraphs. Although it doesn't strictly mention using dygraphs in Jupyter notebooks, it gives pointers for using them in R Console, R Markdown, and R Shiny. Lately I've been using them in an R shiny application and they've worked flawlessly, just as long as you set them up correctly. Also, just use:
install.packages('dygraphs')
in Jupyter notebooks to ensure successful installation and use. I've noticed that there are inconsistencies when running conda install commands (i.e. whether or not the package will end up working in Jupyter notebooks, RStudio, or both).
I think the problem is not in the install dygraphs, but it depends on jupyter notebook, this one can't appear dynamic graphic such as in RMarkdown.