Re: Alternative to DumpSave
- To: mathgroup at smc.vnet.net
- Subject: [mg116924] Re: Alternative to DumpSave
- From: Yves Klett <yves.klett at googlemail.com>
- Date: Fri, 4 Mar 2011 03:41:43 -0500 (EST)
- References: <iknsch$k9h$1@smc.vnet.net>
What about Save[]? No compression and only standard speed, though... Probably exporting/importing definitions via the WDX or another compressed formats could help as well. Regards, Yves Am 03.03.2011 12:00, schrieb Thomas Muench: > 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 >