Reputation: 4996
When I execute the edit()
function in RStudio I am receiving the following error message.
Error in .External2(C_edit, name, file, title, editor) : problem with running editor vi
When I execute R
directly from a terminal and run the edit()
function it opens vi. I'm not sure why this is happening rather than opening the R Data Editor
Upvotes: 1
Views: 797
Reputation: 24945
edit()
uses the default system editor by default on non-windows systems, yours seem to be vi and incorrectly configured.
Try:
edit(x, editor="internal")
for the RStudio one.
Upvotes: 1