Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14088

Re: Packages with data sets

From Vince Virgilio <blueschi@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Packages with data sets
Date 2013-04-06 09:09 +0000
Message-ID <kjooor$oif$1@smc.vnet.net> (permalink)
References <kje14f$guq$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web