Re: Alternative to DumpSave
- To: mathgroup at smc.vnet.net
- Subject: [mg116913] Re: Alternative to DumpSave
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Fri, 4 Mar 2011 03:39:43 -0500 (EST)
- References: <iknsch$k9h$1@smc.vnet.net>
Save instead of DumpSave should work, although perhaps somewhat slower and less compact. Cheers -- Sjoerd On Mar 3, 12:00 pm, Thomas Muench <thomas.mue... at gmail.com> wrote: > Dear Mathgroup, > > Can anybody suggest an elegant alternative to the DumpSave[] command? > I like DumpSave because it gives a compact (=small file size) > representation of variables and their definitions. However, the format > is not portable across systems. For example, I cannot load the > DumpSave-ed data from a Win-XP system into a Win-7-64bit system. > > To describe the problem more explicitely: I have created data in a > lengthy computation that is saved in a couple of variables. These > variables each have relatively complex definitions, for example many > variations of var1["descriptor"]={something}. I then save the > definitions of these variables with DumpSave like that: > DumpSave["filename.mx",{var1,var2,var3}]; > In a later session, I can re-load them with Get["filename.mx"], which > works wonderfully and amazingly fast. > > How can I achieve something equivalent accross systems? > > This in in Mathematica 8. > > Thank you! > thomas