Tôi muốn thay đổi trình soạn thảo mặc định trong RStudio (Windows 7) thành notepad ++.Thay đổi trình soạn thảo mặc định trong RStudio thành notepad ++
Tôi biết rằng tôi nên sử dụng
options(editor = "notepad")
và sau đó chạy, ví dụ:
mean <- edit(mean)
nhưng khi tôi gõ notepad ++ Tôi nhận được lỗi này
options(editor = "notepad++")
mean <- edit(mean)
Error in edit(name, file, title, editor) :
unable to run editor 'notepad++'
Tôi Windows tôi có thể chạy notepad ++ trong giao diện điều khiển bằng cách gõ "start notepad ++".
Tôi sẽ rất biết ơn sự giúp đỡ!
Dưới đây là thông tin phiên của tôi:
> 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
Và bạn đã thử 'options (editor =" start notepad ++ ")'? – juba
Có, tôi gặp lỗi tương tự. – Maciej