https://nteract.io/ 首先官网在这里 https://github-releases.githubusercontent.com/37496521/61a31700-5f51-11eb-9c57-8a91e9bc881f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210730%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210730T105106Z&X-Amz-Expires=300&X-Amz-Signature=f0540e26d859394f539a69dd99a2bd8783373ab89330a12e7f1a04ef668b3358&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=37496521&response-content-disposition=attachment%3B%20filename%3Dnteract-Setup-0.28.0.exe&response-content-type=application%2Foctet-stream win系统的安装地址在这里 官方的介绍页面 如果觉得我上面的不爽,自己点这里下载 各种版本,自己看好下载 https://github.com/nteract/nteract/releases/tag/v0.28.0 事实上,还有很多的平台包可以使用 因为我们要打造一个多样的内核空间,这里再加一个R语言 https://www.rstudio.com/products/rstudio/download/#download 这里的话,R-stdio也安装一下 https://cran.r-project.org/bin/windows/base/ R的执行文件 如果你安装完成以后就是这样的 点运行,我们默认可以看到是启动了Node.js和Python 接下来我们安装一下相关的内核 https://nteract.io/kernels/r 你可以直接在这里打开这个网站: https://github.com/IRkernel/IRkernel GitHub的地址也可以打开,倒是都一样: 就按照这里进行安装就好 https://irkernel.github.io/installation/ 这里我们执行几个命令 安装的第一次,需要选择镜像服务器的地址 中国嘛,就中国。 日志 IRkernel::installspec() 执行 IRkernel::installspec(user = FALSE) 执行 在R里面运行一下这两条命令 在CMD里面运行一下笔记本 可以看到已经安装好了 install.packages('ggplot2') 先安装一下R中久负盛名的ggplot2包 library(ggplot2) 然后这里导入 qplot(wt, mpg, data=mtcars,geom = c('point','smooth'), methodd='lm',formula=y~x,color=cyl, main='Regression of MPG on Weight', xlab='Weight',ylab='Miles per Gallon') 写一点代码 然后出图了,很漂亮 导出一下 在我们的netacr里面打开一下,运行环境有R了 已经配置好了 就是这样的 这里安装Julia的内核: using Pkg Pkg.add("IJulia") https://github.com/jupyter/jupyter/wiki/Jupyter-kernels 在安装的中间,可以看看jupyter支持的计算内核 当然Python也是可以玩耍的 using IJulia IJulia.installkernel("Julia nteract") julia也是生效的 https://jupyter.readthedocs.io/en/latest/ Jupyter笔记本的文档 https://julialang.github.io/IJulia.jl/dev/manual/installation/ julia的内核的笔记本 https://docs.rstudio.com/ R-Stdio的文档 大家可以参考的学习 |
|