Mac*_*iej 6 r notepad++ rstudio
我想将RStudio(Windows 7)中的默认编辑器更改为记事本++.
我知道我应该用
options(editor = "notepad")
Run Code Online (Sandbox Code Playgroud)
然后运行,例如:
mean <- edit(mean)
Run Code Online (Sandbox Code Playgroud)
但是当我键入notepad ++时,我得到了这个错误
options(editor = "notepad++")
mean <- edit(mean)
Error in edit(name, file, title, editor) :
unable to run editor 'notepad++'
Run Code Online (Sandbox Code Playgroud)
I Windows我可以通过输入"start notepad ++"在控制台中运行notepad ++.
我非常感谢你的帮助!
这是我的会话信息:
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Polish_Poland.1250 LC_CTYPE=Polish_Poland.1250 LC_MONETARY=Polish_Poland.1250
[4] LC_NUMERIC=C LC_TIME=Polish_Poland.1250
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.15.2
Run Code Online (Sandbox Code Playgroud)
Mac*_*iej 12
好的,这很简单:
options(editor = "C:/Program Files (x86)/Notepad++/notepad++.exe")
Run Code Online (Sandbox Code Playgroud)
抱歉,这个问题.