R is dead in Jupyter - macos

I have instaled R in my jupyter through anaconda and It was working fine. Today I found this message when I opened R form Jupyter and I don't know what is the problem ?
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
I'm using Mac OSX

I had the same problem in Mac OSX when R is installed before Anaconda. The fix is to:
1. Uninstall R and Anaconda
2. Install Anaconda
3. Install R

Related

Can Jupyter Notebook run on Windows 10

I installed Jupyter Notebook on Windows 10. But I got an error when launching it in Visual Studio Code as:
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
After searching online, I decided to install Anaconda first and run Jupyter from it. But launching it from Anaconda was directed to a web address. It looks like Jupyter is only a web application.
I wonder if it is possible to run the Jupyter Notebook as a desktop application on Windows.
There is a JupyterLab Desktop App, see here and here. I don't know how old of a version of Windows works for it.
Rest was built from discussion in comments:
On Jupyter with VS Code:
Jupyter itself works with VScode to run Jupyter notebooks in VScode. You wouldn't need the JupyterLab Desktop App in that case. You do need Jupyter though. See here if you are interested in using Jupyter notebooks in VSCode.
On installing packages that worked before installed Anaconda:
The easiest solution would be to reinstall them. It is possible you could add the already installed ones to your path, but if you have room it is easiest to keep your Anaconda installed stuff where it is and separate from what you had. The easiest way to sort where to install them is to let Jupyter handle it. For example, if you want to work with Pandas in a notebook, in that notebook run %conda install -c anaconda pandas, based on here and the magic install command. For the packages that conda cannot install, and only for those, use %pip install <package_name>.
You can delete the install commands out of the notebook after if you want. You may just want to comment them out so you remember. For the short term you are fine re-running the commands because if the package is already installed by conda or pip it won't get reinstalled; however, if the package gets a new release and you aren't specifying versions, you'll get the latest when that install command next runs and if there is an error or incompatibility, then you'll have caused yourself an issue you could have avoided.

Ubuntu 22.04 Anaconda - clicking Jupyter tile launches other programs instead of Jupyter: pgadmin4, calibre

I have a new install of Ubuntu 22.04. I installed Anaconda. However, clicking the Jupyter tile launches other programs such as pgadmin.
Setting pgadmin to a fixed port fixes nothing. Removing pgadmin completely, and clicking the Jupyter tile then launches calibre.
Can someone tell me how to fix this?

Unable to run jupyter notebook

cannot open juypter notebook from terminal or anaconda app
terminal shows notebook as already open, running
uninstall/reinstall (x3) hasn’t fixed it
cannot access notebook from any ports, or 127.0.0.1
upgrading pyzmq doesn’t resolve the issue
removing and reinstalling pyzmq doesn’t resolve the issue
using windows 10
any sugggestions much appreciated, thank you

kernel crash after opening R in jupyter

I start using R in jupyter, and I tried to install the library tidyverse from anaconda prompt. since then whene ever I open R in jupyter the kernel crash. but python's kernel works.

Issue in launching spyder that was installed using pip install on Python 3.6.1

I have windows-7 64 bit machine and Python3.6.1(32-bit) installed on it. I wanted to try spyder as IDE for python. I don't have Anaconda or anything like that. So, I installed spyder from command line (cmd.exe) and it did install successfully and prompt returned.
I think it is installed because
I can see spyder3.exe under C:\Users\UserName\AppData\Local\Programs\Python\Python36-32\Scripts
From cmd.exe when I enter spyder3 it doesn't throw any error and a rotating circle appears which indicates something is processing. But nothing is launched.
After running spyder3 from cmd.exe though nothing gets launched except the rotating circle for couple of seconds, I see spyder.lock folder under C:\Users\UserName\.spyder-py3
When I delete spyder.lock folder under C:\Users\UserName\.spyder-py3 and run spyder3 again in cmd.exe the folder is created again.
Question: How can I make spyder launch? Did I do something wrong while installing spyder or am I trying to launch it with an incorrect method?
I had to install PyQt5. It is a requirement for spyder on windows and I was missing it. After I installed it I can launch spyder3 from cmd.exe

Resources