R and Python with Rstudio

R Notebook

```{r}
library(reticulate)
use_python("/usr/bin/python")
data(mtcars)
head(mtcars)
```

```{python}
import numpy
import pandas
print(numpy.pi)
print(type(r.mtcars))
print(pandas.DataFrame.describe(r.mtcars))
print(r.mtcars.describe())
```

评论

此博客中的热门博文

V2ray websocket(ws)+tls+nginx分流

Rstudio 使用代理