MathGroup Archive 2010

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

Search the Archive

Re: Import data as vector (not two dimensional Table)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108210] Re: Import data as vector (not two dimensional Table)
  • From: Adriano Pascoletti <adriano.pascoletti at dimi.uniud.it>
  • Date: Wed, 10 Mar 2010 06:29:30 -0500 (EST)
  • References: <201003100643.BAA02869@smc.vnet.net>

Try

ReadList["sample.dat"]


Adriano Pascoletti

2010/3/10 Artur <grafix at csl.pl>

> Dear Mathematica Gurus,
> Who know how import data from file "sample.dat"
> when file is of the form
> 2
> 3
> 5
> 7
>
> directly as vector {2,3,5,7}
> Because after procedure
> Import["sample.dat",'Table"]
> we have two dimensional
> {{2},{3},{5},{7}}
> Is any patent to import sample.dat directly as vector (without use next
> procedure to convert from Table on Vector )
>
> Best wishes
> Artur
>
>


  • Prev by Date: Re: Import data as vecotor (not two dimensional Table)
  • Next by Date: Re: reading expressions in a file
  • Previous by thread: Import data as vector (not two dimensional Table)
  • Next by thread: 3D graphing from text file?