Open volloholic opened 7 years ago
Genstat has both "Restart Server" and "Restart Session". In Genstat this is at the bottom of the Run menu.
Close file now added to the menu. What do we want on restarting for 0.4?
Minimum open new Instat Object (New name?) ideal would be to also enable the opening of a new independent instance of R-Instat but that could wait if it's not trivial or doesn't use a separate RDotNet instance. On that note have we check that multiple instances of R-Instat work with separate RDotNet instances?
I can open a new instance with Process.Start(Application.ExecutablePath)
. Although this gives errors in R when I try it through Visual Studio. When I run multiple instances of my installed 0.3.3 it works fine. I'm not sure about the RDotNet connection though.
When you open an instat object you have the option to clear the existing data frames. But that's not very obvious. A simpler Open/Close would be useful but not sure how it fits in with what's there already.
We can now close the instat object on the file menu. We could also have a reset environment which is essentially the same thing but would run through the setup and sourcing packages again.
I would like that. It is essentially a restart session and I would like that. Incidentally when I close R-Instat (click close at the top right-hand corner) and then restart - which I sometimes do, then it assumes I closed unnaturally and asks me the questions as though I crashed. Perhaps that is only because I am using it from VBNet?
I have now changed the milestone to Pending, but hope it might be an easy addition. I would still find it to be very useful.
We can't restart the R link without starting a new instance of R-Instat but we can easily simply close the Instat object.
We could also reset the global environment but would probably then have to rerun the Rsetup.