I am using Sublime Text as my editor. If I run `subl -n .Rprofile` in bash, a file would be opened in a new window.
Back in R, if I run this > file.edit(".Rprofile", editor="'subl -n'") sh: 'subl -n': command not found Warning message: error in running command However, the interesting bit happens when I run edit(1:10, editor="'subl -n’") It does open Sublime Text. It seems that `file.edit` and `edit` are behaving differently when “editor” has additional arguments. Randy
signature.asc
Description: Message signed with OpenPGP
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel