Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14018 > unrolled thread
| Started by | Brentt <brenttnewman@gmail.com> |
|---|---|
| First post | 2013-04-02 07:25 +0000 |
| Last post | 2013-04-06 09:09 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Packages with data sets Brentt <brenttnewman@gmail.com> - 2013-04-02 07:25 +0000
Re: Packages with data sets Peter Pein <petsie@dordos.net> - 2013-04-03 08:07 +0000
Re: Packages with data sets Vince Virgilio <blueschi@gmail.com> - 2013-04-06 09:09 +0000
| From | Brentt <brenttnewman@gmail.com> |
|---|---|
| Date | 2013-04-02 07:25 +0000 |
| Subject | Packages with data sets |
| Message-ID | <kje14f$guq$1@smc.vnet.net> |
Hi, I am writing a package which requires for its use access to a 80 mb data set. Is there a standard way to associate a package with a set of data? I figured out a way that involves pulling the data from dat files available online and parsing them into a more readily available mathematica form. But I'd rather be able to have the user just have the data with the package. What is the best way to go about this? I thought .mx files but I noticed the docs say that they don't work across platforms.
[toc] | [next] | [standalone]
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Date | 2013-04-03 08:07 +0000 |
| Message-ID | <kjgo01$pu0$1@smc.vnet.net> |
| In reply to | #14018 |
Am 02.04.2013 09:25, schrieb Brentt: > Hi, I am writing a package which requires for its use access to a 80 mb > data set. > ... I thought .mx files but I noticed > the docs say that they don't work across platforms. > > You might want to give "Wolfram Data eXchange" (http://reference.wolfram.com/mathematica/ref/format/WDX.html) a try.
[toc] | [prev] | [next] | [standalone]
| From | Vince Virgilio <blueschi@gmail.com> |
|---|---|
| Date | 2013-04-06 09:09 +0000 |
| Message-ID | <kjooor$oif$1@smc.vnet.net> |
| In reply to | #14018 |
Brentt, You could put all data files in a subdirectory of your package dir, named "Data". Then use $InputFileName in your package file to create a variable named "dataDirectory". Directory and variables names at your discretion of course. I've been keeping a variety of data this way for years, with extensions like XLS, MAT , WDX, and CSV. I avoid MX files because of their unportability (though I admire their speed). Vince On Tuesday, April 2, 2013 3:25:03 AM UTC-4, Brentt wrote: > Hi, I am writing a package which requires for its use access to a 80 mb > > data set. > > > > Is there a standard way to associate a package with a set of data? I > > figured out a way that involves pulling the data from dat files available > > online and parsing them into a more readily available mathematica form. But > > I'd rather be able to have the user just have the data with the package. > > What is the best way to go about this? I thought .mx files but I noticed > > the docs say that they don't work across platforms.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web