我尝试使用一个非常轻的加权编辑器来编辑和运行代码。
以运行R为例,它已经添加到Windows环境变量D:\R\R-3.6.2\bin\x64中
我试着采取以下步骤:
我构建了一个test.r,将一些测试行代码编写为1+2; plot(1:10)
菜单->运行->配置自定义命令
命令名:run R
命令行:D:\R\R-3.6.2\bin\R.exe $(SEL_TEXT)
$(LINE) The line where the cursor is
$(POS) the position where the cursor is