The 2022-12 version of Rstudio is here and it's calling me to upgrade

1. Rstudio calls me to upgrade

Every time I open Rstudio recently, it always pushes me the latest version of Rstudio:

It was not like this before. At that time, the company it was in was called Rstudio. Now it is renamed Posit, and it started to push. Maybe it thinks it is a major update. Maybe it can better support Python. After all, the introduction of the official website is now :

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.

  • Support R language and Python
  • syntax highlighting
  • Through code, direct interactive execution
  • Can draw, view historical commands, debug
  • Manage work items

Generally, I don't like to upgrade directly, but it is Rstudio after all, and it is the first upgrade of Posit, I still have to give face, let's see what surprises:

Function introduction: https://www.rstudio.com/products/rstudio/release-notes/

2. R has been upgraded a lot

There are a lot of descriptions, and after reading it, I don’t understand anything...

Whether pending console input is discarded on error can

3. Python supports shiny

From the perspective of the update direction, it wants to treat Python like R language, such as identifying the version, such as running shiny, which is also very suitable for R language users. Sometimes we have to write python scripts, and Rstudio is useful at this time ...

  • Automatically find the python version, just like treating the R language...
  • The shiny that supports the Python language has been developed, which is the same as the shiny of the R language...

4. Upgrade, upgrade!

Try the following python code:

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

### 创建x和y
x = np.arange(-2, 2, 0.01)
y = np.sin(x)

### 对x和y作图
plt.plot(x, y, color="r", linestyle="-", linewidth=1)
plt.show()


When running the python script, reticulatethe package will be automatically upgraded, just click Y.

Python syntax completion test:



Overall, the experience is good.

Guess you like

Origin blog.csdn.net/yijiaobani/article/details/128448062