I'm working in RStudio and prefer having a full-window editor separate from the console. By default, when I run:
file.edit(c("script1.R", "script2.R"))
The files open as tabs in the docked Source pane of RStudio. Although I can manually detach the Source pane (or move an individual file to a new window), each new file still opens in the docked pane by default. This forces me to manually reassign each file to my separate editor window...
Is there a configuration option in RStudio to force all files opened via file.edit() to automatically appear in a separate, undocked window (or a single detached window with multiple tabs)?
If no such built-in option exists, what workarounds are available? Would switching to an external editor (or setting one via options(editor=...)) be a viable alternative, and what external editors integrate well with R for this purpose?
I've reviewed the Global Options and Pane Layout settings but haven’t found a way to influence this behavior directly for file.edit().
