日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

将VScdoe的R终端替换为radian

發布時間:2023/12/13 综合教程 32 生活家
生活随笔 收集整理的這篇文章主要介紹了 将VScdoe的R终端替换为radian 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Miniconda介紹

Miniconda is a free minimal installer for conda. It is a small, bootstrap version of Anaconda that includes only conda, Python, the packages they depend on, and a small number of other useful packages, including pip, zlib and a few others.

Miniconda 主頁
Miniconda 歷史版本

radian介紹

radian is an alternative console for the R program with multiline editing and rich syntax highlight. One would consider radian as a ipython clone for R, though its design is more aligned to julia.

radian主頁

以下操作均是在Windows 10 LTSC 2019環境

安裝radian

安裝Minicoda 3(python 3.8支持tensorflow)。
根據清華鏡像(https://mirror.tuna.tsinghua.edu.cn/help/anaconda/)提示操作。
運行 conda powershell propmt(以下均在此環境)
用coda命令管理庫

查看已經安裝的庫:coda list
安裝庫:coda install 庫名

安裝常用的庫

scipy conda install scipy

安裝radian
pip install -U radian
或安裝開發版
pip install -U git+https://github.com/randy3k/radian
運行radian radian

在VScode中用radian替換rterm

ctrl+,打開設置,左側“擴展->R”然后設置如下:(R安裝在D:ProgramFilesACsoftR)

"Rpath: Windows"設為D:ProgramFilesACsoftRinx64R.exe
"Rterm: Windows"中將默認的rterm(D:ProgramFilesACsoftRinx64R.exe)替換為radian.exe的路徑D:ProgramFilesCodingMiniconda3Scriptsadian.exe。(Minicoda安裝在D:ProgramFilesCodingMiniconda3)
"Rterm: Option"去掉--no-save--no-store
重新啟動VScode
發送R代碼到控制臺,Radian出現
右側的窗口顯示作圖、幫助等信息(類似Rstudio的界面)

上面設置在setting.json中如下:

    "r.rterm.windows": "D:\ProgramFiles\Coding\Miniconda3\Scripts\radian.exe",
    "r.rpath.windows": "D:\ProgramFiles\ACsoft\R\bin\x64\R.exe",
    "r.lsp.debug": true,
    "r.bracketedPaste": true,   //使用radian設置
    "r.sessionWatcher": true,   //使用radian設置
    "r.rterm.option": [],       //使用radian設置

打賞支持!

感謝閱讀!

總結

以上是生活随笔為你收集整理的将VScdoe的R终端替换为radian的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。