Mudanças entre as edições de "Jupyter"
Ir para navegação
Ir para pesquisar
| Linha 35: | Linha 35: | ||
== Composer == | == Composer == | ||
apt-get install composer | apt-get install composer | ||
| + | |||
| + | == Jupyter com o R == | ||
| + | R | ||
| + | install.packages('IRkernel') | ||
| + | IRkernel::installspec(user = FALSE) | ||
| + | |||
| + | Source: [[https://developers.refinitiv.com/en/article-catalog/article/setup-jupyter-notebook-r]] | ||
== Jupyter with PHP == | == Jupyter with PHP == | ||
Necessário instalar o Composer e o php-zmg | Necessário instalar o Composer e o php-zmg | ||
| + | apt-get install php-zmq | ||
| + | |||
| + | wget https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.phar | ||
| + | php ./jupyter-php-installer.phar install. | ||
| + | |||
| − | + | [[https://litipk.github.io/Jupyter-PHP-Installer/ Jupyter-PHP's Installer]] | |
| − | |||
| − | |||
== Outros pacotes == | == Outros pacotes == | ||
GitHub jupyter/nbgraber | GitHub jupyter/nbgraber | ||
Edição das 02h03min de 25 de julho de 2021
O Jupyter Hub da Plataforma de Ciência de Dados aplicada à Saúde (PCDaS), disponível para usiários de projetos parceiros, roda kernels em Python e R conectados ao dados já indexados em Elaticserach.
Índice
Checar Versão
jupyter --version
Instalação Jupyter Hub
Using pip JupyterHub can be installed with pip, and the proxy with npm:
npm install -g configurable-http-proxy python3 -m pip install jupyterhub
If you plan to run notebook servers locally, you will need to install the Jupyter notebook package:
python3 -m pip install --upgrade notebook
Start the Hub To start the Hub on a specific url and port 10.0.1.2:443 with https:
jupyterhub --ip 10.0.1.2 --port 443 --ssl-key my_ssl.key --ssl-cert my_ssl.cert
R with JupyterHub
GitHub R
Acesse o R
R
Instale os pacote
install.packages('IRkernel')
IRkernel::installspec() # to register the kernel in the current R installation
Composer
apt-get install composer
Jupyter com o R
R
install.packages('IRkernel')
IRkernel::installspec(user = FALSE)
Source: [[1]]
Jupyter with PHP
Necessário instalar o Composer e o php-zmg
apt-get install php-zmq
wget https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.phar php ./jupyter-php-installer.phar install.
[Jupyter-PHP's Installer]
Outros pacotes
GitHub jupyter/nbgraber