From: Adriano Pascoletti on
Try

ReadList["sample.dat"]


Adriano Pascoletti

2010/3/10 Artur <grafix(a)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
>
>