Kevin,
Thank you so much for your help. The name issue makes sense now. The issue with the R kernel is that it doesn’t generate any errors. It just simply will not run the code and suddenly, instead of the active kernel is R, changes to no kernel. Julia, on the other hand, generates messages but I don’t understand them and don’t want to post the whole page of messages because it may not be appropriate to do so. Here are the listed kernels Available kernels: ir C:\Users\eesawi\AppData\Roaming\jupyter\kernels\ir julia-1.7 C:\Users\eesawi\AppData\Roaming\jupyter\kernels\julia-1.7 python3 c:\users\eesawi\appdata\local\programs\python\python39\share\jupyter\kernels\python3 I looked at each kernel json file, but I don’t know how to change them to run the kernels properly. Here are the 2 json files { "argv": ["C:/PROGRA~1/R/R-41~1.0/bin/x64/R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"], "display_name": "R", "language": "R" } { "display_name": "Julia 1.7.3", "interrupt_mode": "message", "argv": [ "C:\\Users\\eesawi\\Downloads\\julia-1.7.3-win32\\julia-1.7.3\\bin\\julia.exe", "-i", "--color=yes", "--project=@.", "C:\\Users\\eesawi\\.julia\\packages\\IJulia\\AQu2H\\src\\kernel.jl", "{connection_file}" ], "env": {}, "language": "julia" } EK On Mon, Jul 25, 2022 at 5:06 PM Kevin Bates <kbat...@gmail.com> wrote: > Hello EK. > > The ".ipynb" extension is not meant to indicate the type of kernel to > which the notebook file is associated, it's purely an indicator that this > is a Jupyter notebook and is more a function of the project having been > originally named IPython. Had the project been named Jupyter from the > start, I imagine the extension would have been ".jnb". > > I suspect your R and Julia kernels are not correctly configured since it > appears the server knows about them (as they are selectable) but is > encountering an error during their startup. I recommend looking at your > server's console (where the Lab instance was started) since there should be > some information specific to the failed start attempts. You probably have > some additional dependencies missing. You will likely need to look at the > `argv` stanza of the `kernel.json` file associated with your R and/or Julia > kernels since that is the command that is issued to start each kernel. > > Lastly, if you would like to change your "default" kernel, you can > configure 'MappingKernelManager.default_kernel_name=julia'. This can be > done within a configuration file via > 'c.MappingKernelManager.default_kernel_name=julia' or the command line via > '--MappingKernelManager.default_kernel_name=julia'. Note that I'm not > familiar with the Julia kernel or its default naming but am assuming its > configuration resides in the directory named 'julia' - which is the target > of the 'default_kernel_name' attribute I reference and where its > aforementioned `kernel.json` file will reside. > > Note that the directories for where the `kernel.json` files reside can be > found using `jupyter kernelspec list` and (for completeness) the left-hand > values of that output is the string that should be referenced in the > 'default_kernel_name' configuration option. > > Best regards, > Kevin. > > On Monday, July 25, 2022 at 2:22:20 PM UTC-7 esa...@gmail.com wrote: > >> Hi all-- >> >> I installed Jupyterlab with python3 and kernels installed. I added Julia >> kernel. Now, every time i open a new notebook, the file automatically >> given ipynb extension. When i change the kernel to R, the code does not run >> and the kernel on top right changes to no kernel and defaults back to >> Python3. >> >> If i chose Julia kernel, i get this error "error starting kernel, >> unhandled error" >> >> Any input is highly appreciated. >> >> EK >> > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jupyter+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/9be078cd-147d-49f7-97d1-94ccdff443b1n%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/9be078cd-147d-49f7-97d1-94ccdff443b1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CA%2BZkTxv9YxCK2umjCmjxrD9fa2JRKyPYB7NSgo%2BEk7KJeOko3Q%40mail.gmail.com.