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(".")
I have jupyter notebook installed, I also have R installed. Both work fine independently.
When I run jupyter with jupyter notebook, then try to open an ipynb file, I see
The only option in the dropdown is Python 3 (R is not an option).
Question
How do you open a jupyter notebook with an R kernel (on mac)?
Note
I tried jupyter notebook --runtime-dir /usr/local/bin/R but that was just guessing
Looks like the R kernel could be installed via pip?
Open any R session (e.g. in RStudio is fine, or open terminal/bash and type R to start an R session).
Install the kernel with:
install.packages("devtools")
devtools::install_github("IRkernel/IRkernel")
IRkernel::installspec()
Close and reopen the notebook and the R kernel will now be available.
If the R kernel does not appear as an option within a Jupyter notebook even after installing R, and one is using Anaconda, bringing up the conda prompt from the Start menu (Windows 10), and running the following commands may do the trick:
conda config --add channels r
conda install --yes r-irkernel
Credit to this post.
Is there a way to have / run Stata code inside Julia?
Something like this exists for IPython via Jupyter Notebooks.