如何使用jupyter运行R语言

2024-11-04 00:44:05

1、首先去下载安装anaconda软件,默认安装,勾选添加路径path。打开R语言安装几个软件包。

如何使用jupyter运行R语言

3、测试:运行下面命令可以得到示例结果:

如何使用jupyter运行R语言如何使用jupyter运行R语言

4、seppd效果图:

如何使用jupyter运行R语言

5、使用命令额鹿赤柝画出曲线:plot>##DiscreteDistributionPlot: plot>plot(table(rpois(100,5)),type="h",col="red",lwd=10, plot+main="rpois(100,lambda=5)")

如何使用jupyter运行R语言

6、使用命令画出走势图:plot>##Simplequantiles/ECDF,seeecdf(){librar烤恤鹇灭y(stats)}forabetterone: plot>plot(x<-sort(rnorm(47)),type="s",main="plot(x,type=\"s\")")

如何使用jupyter运行R语言
猜你喜欢