MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 100/3 in a file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50729] Re: 100/3 in a file
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 18 Sep 2004 05:48:29 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <cidv0e$cau$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

if you just need the data in a file to read it later
back to Mathematica use Put[] and Get[], that write a
Mathematica expression and read back the Mathematica
expression.

Regards
  Jens

Ran wrote:
> 
> Hi,
> 
> I have a list I define : A=Table[i*100/3,{i,1,3}]
> which gives me output of - {100/3,200/3,100}
> Mathematica, as expected, refer to all the cells as numbers.
> 
> the problem begins after saving to a file like this :
> Export["A.dat",A]
> and then Import["A.dat", "Table"].
> 
> After I upload the data from file,  all the (XX / XX) are not treated
> as number any more (the 100 does!).
> 
> DOes someone has a solution to this simple problem?
> I know I can estimate with "N" function, and only then save to file,
> but i would like if possible to not to lose information - save it as
> it is.
> 
> I would be very happy to hear opinions from you,
> 
> thanks,
> 
> - Ran


  • Prev by Date: Re: Statistics`NormalDistribution` doesn't work?
  • Next by Date: Re: Please, can someone explain this small function?
  • Previous by thread: 100/3 in a file
  • Next by thread: Re: 100/3 in a file