-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggested feature: antsSaveAll #16
Comments
That's a good idea. Shouldn't be too hard to do. I almost never save my 2015-03-03 9:55 GMT-05:00 dorianps [email protected]:
|
There are multiple benefits:
Last night there were multiple network interruptions, so Rstudio died. I spent 2 hours this morning just to reach the same state I had when I started the analysis last night. |
Just as a practical matter--do you mount the cluster drive? Mounting the 2015-03-03 10:18 GMT-05:00 dorianps [email protected]:
|
Hmmm, I only mount it as external drive. You mean I might be able to point my Windows Rstudio to the cluster R in linux and make it work? That would be great. Let me know if you do that. |
Hmm...no, that would probably be worse. I'm a bit surprised then that 2015-03-03 10:36 GMT-05:00 dorianps [email protected]:
|
Yes, off topic, but the way I use it is by calling Rstudio from cluster in an X-server. If the connection to the cluster breaks, Rstudio can't push the display, so it dies. There is an rstudio-server supposed to be better, I am waiting for Michael to install it. Nevertheless, a save function for antsR will be necessary sooner or later. |
Ah, OK. So what I was suggesting was to run RStudio on your local machine, 2015-03-03 11:07 GMT-05:00 dorianps [email protected]:
|
Problem is there is no antsR in Windows, haven't figured out a way to install it. |
Just pushed save.ANTsR and load.ANTsR, which should solve this problem. It works for my test cases, but if you could make sure it works for you that would be helpful. Ended up being a little trickier than I thought it would be. |
generated a new warning from R CMD check
load.ANTsR: no visible binding for global variable ‘ANTsRImageData’ Found the following assignments to the global environment: File ‘ANTsR/R/save.ANTsR.R’: assign(as.character(ANTsRImageData$names[ii]),
brian On Thu, Mar 5, 2015 at 10:58 PM, bkandel [email protected] wrote:
|
Shoot. Sorry about that. Should be fixed now. 2015-03-06 16:14 GMT-05:00 stnava [email protected]:
|
still seeing: Found the following assignments to the global environment: |
i think you need something like this: http://www.talkstats.com/showthread.php/38050-CRAN-submission-problem-help-brainstorming |
Ah, that's a good idea. Should've realized that would be considered 2015-03-08 13:02 GMT-04:00 stnava [email protected]:
|
It would be extremely useful to have a function that can save the entire workspace in a single line. Right now is very difficult to keep track of what is a pointer and what is not, then save them separately, then write code again to load them on new session. A save-all function can take this burden away, create cleaner code with one-line saving, and offer to restart at different levels of a script. Of course, this should be complemented with a load function.
The text was updated successfully, but these errors were encountered: