microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

Load .Rdata file via drag & drop/context menu option? #4276

Closed mkoohafkan closed 6 years ago

mkoohafkan commented 6 years ago

Currently, you can load an Rdata file via the load workspace button in the R Interactive Pane or by typing load(path/to/file.Rdata) in the interpreter. Dragging and dropping an Rdata file into the interactive pane writes the full path of the Rdata file to the current line of the interpreter. Double clicking on an RData file opens a new R GUI to load the RData file (outside of VS).

It would be nice if any one of the following features could be added:

  1. dragging and dropping an R data file into the interactive pane automatically loads the workspace.
  2. Right-clicking on an Rdata file gives the option: load workspace.
  3. Double-clicking an Rdata file loads it into the active R interpreter.
mkoohafkan commented 6 years ago

Looks like option 3 has been implemented.