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


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

Re: Sharing numerical data along with a Mathematica notebook

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Sharing numerical data along with a Mathematica notebook
Date 2011-04-17 11:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ioek6e$mt3$1@smc.vnet.net> (permalink)
References <ioburt$bbc$1@smc.vnet.net>

Show all headers | View raw


On 4/16/2011 4:34 AM, Andrew DeYoung wrote:
> Hi,
>
> I use Mathematica a lot to manipulate large lists of numerical data
> (rather than another system, because I find Mathematica's plot options much
> easier to understand and use).  Often, I like to share my Mathematica
> plots (including the raw data) with others.  I typically send the raw
> data (such as an Excel file or CSV file) and the Mathematica notebook
> with the import commands and the plotted data.  However, this can be a
> little complicated, because then my collaborators have to either make
> sure to put the Excel file in the same directory as the Mathematica
> notebook when they detach it from my email, or I have to put a command
> like:
>
> fileName=SystemDialogInput["FileOpen"]
> Import[fileName]
>
> which allows the user to use the Windows interface to select where on
> their hard drives the Excel file is.  The slight problem with this is
> that the user cannot then simply re-execute the entire notebook (to
> update the plot after changing their parameters) without again using
> the Windows interface to set fileName every time.
>
> Of course, another option is to include the raw data in the same
> Mathematica notebook, but this can lead to large and cluttered
> notebooks.
>
> My question is, is there any better way that I can saving my numerical
> data and sharing it with collaborators?
>
> Thank you,
>
> Andrew DeYoung
> Carnegie Mellon University
>

May be put your data in some central location on the internet,
and in the notebook use Import[] to read it?  Import can read ftp
and http. Import can also read zip compressed data.

So, when someone runs your notebook, the data is automatically
downloaded.

--Nasser



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


Thread

Sharing numerical data along with a Mathematica notebook Andrew DeYoung <adeyoung@andrew.cmu.edu> - 2011-04-16 11:34 +0000
  Re: Sharing numerical data along with a Mathematica notebook Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-04-17 11:53 +0000
  Re: Sharing numerical data along with a Mathematica notebook "Nasser M. Abbasi" <nma@12000.org> - 2011-04-17 11:50 +0000

csiph-web