I am new to Jupyter Notebook --I am using Anaconda 3 with Windows 7 and Internet Explorer-- and I have been trying to paste text that I copied from a text file into a Jupyter notebook cell (I.e. some code). However when I right click my mouse, the pop-up window that appears does not list copy and paste options but rather the following:
Back
Search using copied text
Select all All
Accelerator
Create shortcuts
Add to favorites
View source
Inspect element
Encoding
Print
Print Preview
Refresh
Export to Excel
Send to One Note
Properties.
I have tried the shortcut control V and it does not work. Moreover, I tried opening the Jupyter Notebook with Chrome and again I don't see the copy - paste options.
I run the Jupyter notebook by typing 'ipython notebook' in Windows Commander.
So my question is: what should I do to paste text into my Jupyter Notebook cell?
Regarding the version of Jupyter Notebook:
About Jupyter Notebook
Server Information:
You are using Jupyter notebook.
The version of the notebook server is 4.3.1 and is running on:
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)]
Current Kernel Information:
R version 3.3.2 (2016-10-31)
Your advice will be appreciated.
Related
Let's say that you have two windows open in VS Code, one is a Jupyter notebook, and the other is the Python interactive window. Both are running the same kernel. Is there a way to link these two windows, so when cells are run in the notebook, the interactive window will know about the resulting variables?
I'm aware that VS Code has a Python code format that can be linked to the interactive window, and that Jupyter notebooks can be converted into this format. Is it possible to directly link a Jupyter notebook to the interactive window without first doing this conversion?
With JupyterLab the is accomplished with the New Console for Notebook command.
I have installed Sage using the latest installer and I can open a Sage terminal (by clicking on it from the start menu...not by entering 'sage' in Windows command line).
I have then installed Anaconda. I can enter 'python' in Windows command line and it works. But the puzzling part is jupyter notebooks. By my understanding, it comes with Anaconda so, I should be able to open my Sage console and type some version of 'n jupyter' or 'njupyter' or '-n jupyter' etc to get a sage Jupyter notebook running.
This is NOT happening at all. Instead I get
Edit: I would like to get Sage to open a Jupyter notebook on my computer but the commands I tried (in the screenshot provided) just keep failing. I got a version of these commands from the Sage tutorial itself and still, it doesn't work.
Any suggestions on how to get this working are much appreciated.
The Sage-Windows installer installs three shortcuts for you:
"SageMath x.y" -- to use SageMath in the (Cygwin) command line
"SageMath x.y Notebook" -- to use SageMath in Jupyter
"SageMath x.y shell" -- to access a Cygwin terminal where Sage has not been started
Have you tried using the "SageMath 9.3 Notebook" shortcut?
See a guide at
https://wiki.sagemath.org/SageWindows
Installed WSL on Windows 10.
Installed Anaconda according to the Anaconda documentation with the following commands:
bash Anaconda3-2020.02-Linux-x86_64.sh
source ~/.bashrc
You can see the '(base)' in the beginning of each command input line, indicating the conda is activated.
Then I run jupyter notebook by typing:
jupyter notebook
Then I see the following changes as shown in the screen record.
Briefly, the WSL terminal window showed some information very quickly, but is changed to the windows powershell window before you could even tell the information that showed up. I know those information should contain a file and url for opening the jupyter notebook in the web browser. But they flashed out so quickly. Does anyone know why this happens?
Here is a dynamic graph of the Screen record of this issue:
Solved:
1. Wait for a bit more time on the windows cmd and the jupyter notebook running information will show up, where includes the url to open jupyter notebook in the web browser.
OR
Open up another wsl terminal, activate the same environment and type jupyter notebook list, which will show the current running jupyter notebook server. The url is also can be found there.
i never did anything but type the command conda update --all, when all finished, my jupyter notebook start to display Chinese on toolbar, but i hope it can still display English.
what can i do to restore this change, but keep the newest version of jupyter? my interface of jupyter notebook are look as the pic below(sorry that i can't post pic temporarily):
The default R Notebook has a lot of prepopulated text. Is there a way to change this, so that when a new R Notebook is created, it is just a blank notebook?
On my machine (OSX) I can edit the template r_markdown_notebook.Rmd found at this location:
/Applications/RStudio.app/Contents/Resources/resources/templates
On Windows look inside the RStudio folder:
C:\Program Files\RStudio\resources\templates
On Ubuntu/Mint (Linux), you will need sudo:
/usr/lib/rstudio/resources/templates