小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

2022-12版本的Rstudio它來(lái)喊我升級(jí)了

 育種數(shù)據(jù)分析 2022-12-26 發(fā)布于河南

大家好,我是鄧飛,你的Rstudio升級(jí)了嗎?

1. Rstudio喊我升級(jí)

最近每一次打開Rstudio,總是推送給我最新版的Rstudio:

它之前不是這樣的,那時(shí)候它所在的公司還叫Rstudio,現(xiàn)在改名叫Posit了,就開始推送了,也許它認(rèn)為是重大的更新,也許他能更好的支持Python,畢竟官網(wǎng)的介紹現(xiàn)在是:

?

Used by millions of people weekly, the RStudio integrated development environment (IDE) is a set of tools built to help you be more productive with R and Python. It includes a console, syntax-highlighting editor that supports direct code execution. It also features tools for plotting, viewing history, debugging and managing your workspace.

?
  • 支持R語(yǔ)言和Python
  • 語(yǔ)法高亮
  • 通過(guò)代碼,直接交互式執(zhí)行
  • 可以作圖,查看歷史命令,debug
  • 管理工作項(xiàng)目

一般,我是不喜歡直接升級(jí)的,但是它畢竟是Rstudio,而且是Posit的第一次升級(jí),面子還是要給的,看看有什么驚喜吧:

功能介紹:https://www./products/rstudio/release-notes/

2. R升級(jí)了很多

描述內(nèi)容一大堆,看完了,什么也沒看懂……

?

Whether pending console input is discarded on error can

?

3. Python支持shiny

從更新的方向上來(lái)看,它是想對(duì)待R語(yǔ)言一樣對(duì)待Python,比如識(shí)別版本,比如運(yùn)行shiny,這也是非常適合R語(yǔ)言用戶的地方,有時(shí)候我們不得不寫python腳本,這時(shí)候Rstudio就有用了……

  • 自動(dòng)查找python版本,像對(duì)待R語(yǔ)言一樣了……
  • 支持Python語(yǔ)言的shiny開發(fā)了,和R語(yǔ)言的shiny一樣了……

4. 升級(jí)吧,升級(jí)喲!

試一下下面的python代碼:

# test python in rstudio
import numpy as np
import matplotlib.pyplot as plt

### 創(chuàng)建x和y
x = np.arange(-220.01)
y = np.sin(x)

### 對(duì)x和y作圖
plt.plot(x, y, color="r", linestyle="-", linewidth=1)
plt.show()


運(yùn)行python腳本時(shí),會(huì)自動(dòng)升級(jí)reticulate包,點(diǎn)擊Y即可。

python語(yǔ)法補(bǔ)全測(cè)試:

整體而言,體驗(yàn)不錯(cuò)。

    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多