0 jupyter notebook r - smart1004/ReadTheDocs GitHub Wiki
R์ ๋ฐ๋ก ์ค์นํ ๊ฒฝ์ฐ
R์์ ์คํํด์ผํ ์ฝ๋๋ Rstudio๊ฐ ์๋ R ์์ฒด์์ ์ฌ์ฉํด์ผ ํ๋ค.
Windows 10 install.packages('devtools') devtools::install_github('IRkernel/IRkernel') IRkernel::installspec()
Python -m pip install --upgrade pip
Quoting from https://pip.pypa.io/en/stable/user_guide/#config-file
On Windows the configuration file is %APPDATA%\pip\pip.ini.
C:\Users\poscouser\AppData\Roaming\pip
C:\Users\poscouser\AppData\Roaming\Python\Python36\Scripts
py -m virtualenv C:\ProgramData\venv36_2
C:\ProgramData\venv36_2\Scripts\activate
C:\Program Files\R\R-3.5.1\bin\x64
R์ ๋ฐ๋ก ์ค์นํ ๊ฒฝ์ฐ
R์์ ์คํํด์ผํ ์ฝ๋๋ Rstudio๊ฐ ์๋ R ์์ฒด์์ ์ฌ์ฉํด์ผ ํ๋ค. https://irkernel.github.io/installation/
Windows 10
install.packages('devtools') #devtools::install_github('IRkernel/IRkernel') install.packages('IRkernel') # Donโt forget step 2/2! IRkernel::installspec()
์ด๋ด ๊ฒฝ์ฐ์๋ ํ๊ฒฝ๋ณ์ PATH์ anaconda๋ฅผ ์ถ๊ฐํด์ผ ํ๋ค.
๋ด PC - ์ฐํด๋ฆญ - ์์ฑ - ๊ณ ๊ธ ์์คํ ์ค์ - ํ๊ฒฝ ๋ณ์ - ์์คํ ๋ณ์ ์ค Path ํธ์ง
venv/ Anaconda(Miniconda) ์ค์น ๊ฒฝ๋ก + @ ์ด 3๊ฐ์ง๋ฅผ ์ง์ ํด์ค๋ค.
C:\ProgramData\venv36_2\Scripts; C:\ProgramData\venv36_2\Lib\site-packages; C:\ProgramData\venv36_2\Lib; C:\ProgramData\venv36_2\Lib\site-packages\jupyter_client
C:\ProgramData\venv36_2\
IRkernel::installspec() [InstallKernelSpec] Installed kernelspec ir in C:\Users\poscouser\AppData\Roaming\jupyter\kernels\ir
(venv36_2) poscouser@POSCOPO-A3EK623 C:\Users\poscouser
cd C:\Program Files\R\R-3.5.1\bin\x64
(venv36_2) poscouser@POSCOPO-A3EK623 C:\Program Files\R\R-3.5.1\bin\x64