0_R 3.5.2_jupyter - smart1004/ReadTheDocs GitHub Wiki

%windir%\System32\cmd.exe "/K" C:\ProgramData\Miniconda3\Scripts\activate.bat C:\ProgramData\Miniconda3

C:\Program Files\R\R-3.5.2\bin\x64\

activate tf3

@@@ path variable C:\ProgramData\Miniconda3\envs\tf3\Lib\site-packages\jupyter_client\

C:\Users[user name]\Anaconda3\Lib\site-packages\jupyter_client to my path variable. A video tutorial on how to add environment variables in Windows can be found here.

R-3.5.2 ๋กœ ํ•˜๋‹ˆ๊น ์ž˜ ๋‹ค์šด๋กœ๋“œ๋˜๊ณ  ์„ค์น˜๊ฐ€ ๋œ๋‹ค. ๋‹ค๋งŒ, ๋„์Šค ๋ช…๋ น์–ด์ฐฝ์—์„œ ์„ค์น˜๋ฅผ ํ•ด์•ผ ํ•œ๋‹ค.

IRkernel::installspec() [InstallKernelSpec] Installed kernelspec ir in C:\Users\Administrator\AppData\Roaming\jupyter\kernels\ir

install.packages('devtools') devtools::install_github('IRkernel/IRkernel') IRkernel::installspec() ์‹คํ–‰ ์‹œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ์ƒ๊ธธ ์ˆ˜ ์žˆ๋‹ค. jupyter-client has to be installed but "jupyter kernelspec --version" exited with code 127. : (): In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) : '"jupyter"' not found

C:\ProgramData\Miniconda3\envs\tf3; C:\ProgramData\Miniconda3\envs\tf3\Library\bin; C:\ProgramData\Miniconda3\envs\tf3\Scripts;

C:\ProgramData\Miniconda3\envs\tf3\Scripts\

C:\ProgramData\Miniconda3\envs\tf3;C:\ProgramData\Miniconda3\envs\tf3\Library\bin; C:\ProgramData\Miniconda3\envs\tf3\Scripts;C:_tools\GVim;C:\app\Administrator\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Citrix\System32;C:\PROGRA2\Comshare\SHARED1;c:\posutil;C:\Program Files\Citrix\ICAService;C:\Program Files\Citrix\Virtual Desktop Agent;%PYTHON_HOME%;%PIP3%;C:\Program Files\PuTTY;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;

C:\ProgramData\Miniconda3\envs\tf3\Scripts\jupyter-notebook.exe

IRkernel::installspec() Error in IRkernel::installspec() : jupyter-client has to be installed but "jupyter kernelspec --version" exited with code 127. : (): In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) : '"jupyter"' not found

Anaconda\Lib\site-packages\jupyter_client to my system PATH.

"C:\Program Files\R\R-3.5.2\bin\x64\Rgui.exe" --cd-to-userdocs

Error in loadNamespace(j <- i1L, c(lib.loc, .libPaths()), versionCheck = vIj) : 'Rcpp'

devtools::install_github('IRkernel/IRkernel') Error in loadNamespace(j <- i1L, c(lib.loc, .libPaths()), versionCheck = vIj) : 'Rcpp'


conda install r-irkernel conda uninstall -n tf3 r-irkernel

conda uninstall -n myenv scipy

์ด ์„ค์น˜๋งŒ์œผ๋กœ R์„ ๋ฐ”๋กœ Jupyter์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.

C:\ProgramData\Miniconda3\envs\tf3\Lib\R\bin\x64\

install.packages('devtools')

install.packages('devtools')

install.packages('reshape2') install.packages('dplyr')

library(reshape2) library(dplyr) library(stringr)