<div dir="ltr">Thomas: Thanks for picking this up!<br><div><br>Inline:<br><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">
> 1b) What if the user choses not to save the workspace. Will we prompt<br>
> about the output, separately (as we do for script files)? Or better,<br>
> yet, what would a _unified_ do you want to save<br>
> workspace/output/workplace/files dialog look like?<br>
<br>
</span>could this be made quicker by checkboxes in the dialog? something like<br>
<br>
"There are unsaved changes in this session. Please check if you would<br>
like to keep them:<br>
<br>
[ ] Save workspace<br>
[ ] Save output<br>
[ ] Save script files<br>
<br>
[Save chosen changes, discard the rest] [Cancel]"<br></blockquote><br></div><div>In this case, would all of that go into a handy folder?<br> <br><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">
> 1c) On a more general note: Will we retain the option to save/load<br>
> output _independently_ of an R workspace? How exactly?<br>
<br>
</span> file -> export -> save current output (HTML)<br></blockquote><div><br></div><div>The issue with this, though, is that all the graphics are still saved in an invisible directory in the user directory. You're not really exporting the output at all. You're exporting the textual elements of the output. And you're exporting everything you have ever done since last time you flushed the output.<br><br></div><div>The current output is more like a tickertape than something to be used for reporting results, etc. It's a record.<br><br></div><div>As for loading an output independently, I am still basically arguing that the output should be tied to a workspace.<br><br></div>I guess I just think that if you want to save your output, you should save your workspace. <br></div><div class="gmail_quote"><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> 2a) When loading a workspace, doing work, then closing it, without<br>
> saving, all data changes will be discarded. Would we also want discard<br>
> changes in the output file, then?<br>
<br>
</span>if they're not saved, i'd vote yes.<br></blockquote><div><br></div><div>Seconded.<br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">
> 2b) When saving over an existing workspace, will we also overwrite the<br>
> associated output (without additional prompt)?<br>
<br>
</span>that is what i would expect if i checked the "save output" option.<br>
<br>
how do you propose to store the files? additional separate files? personally,<br>
i would prefer having everything in one file, like somehow appended to the<br>
.RData file or all files in one zipped archive (except the scripts, although i<br>
also like the idea of being able to store a "session-to-go" archive i could<br>
send someone, including all currently open script files).<br></blockquote><div><br></div><div>I was thinking that instead of just spitting out two naked files (.RData and .rworkplace), saving should create a directory that includes those two, plus rk_out.html, and then maybe an images directory for the graphic outputs, just to clean it up a bit. Clean and organized, but everything gets its own file, so it's easy to go digging in there if one has to (I don't like archives or databases... I like to be able to dig.).<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">
</span>we could save every<br>
result to a separate HTML file, so that the current TOC would link to those<br>
individual files and not jump between sections in one large file. this would<br>
also make it easily possible to discard individual results from the "global"<br>
output. maybe the TOC could be replaced by the file browser, by adding a new<br>
shortcut button there to the current output directory. or something more<br>
fancy.<br></blockquote><div><br></div><div>That is a really cool idea. <br></div></div><br></div></div>