IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Closing Data file and restarting environment? #3604

Open volloholic opened 7 years ago

volloholic commented 7 years ago

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.

rdstern commented 7 years ago

Genstat has both "Restart Server" and "Restart Session". In Genstat this is at the bottom of the Run menu.

dannyparsons commented 7 years ago

Close file now added to the menu. What do we want on restarting for 0.4?

volloholic commented 7 years ago

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?

dannyparsons commented 7 years ago

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.

dannyparsons commented 7 years ago

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.

rdstern commented 7 years ago

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?

rdstern commented 6 years ago

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.