MathGroup Archive 2010

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108218] Re: Import data as vecotor (not two dimensional Table)
  • From: Raffy <adraffy at gmail.com>
  • Date: Wed, 10 Mar 2010 06:31:01 -0500 (EST)
  • References: <hn7euj$2o1$1@smc.vnet.net>

On Mar 9, 10:41 pm, Artur <gra... at csl.pl> wrote:
> 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

ReadList["sample.dat", Number]


  • Prev by Date: gaps in plot of piecewise function
  • Next by Date: Re: Import data as vector (not two dimensional Table)
  • Previous by thread: Re: Re: gaps in plot of piecewise function
  • Next by thread: Re: Import data as vecotor (not two dimensional Table)