> Space is an issue, yes, but I agree, I can process them one by one using 
> some sed scripting. I just thought there is a simple idiom corresponding to 
> Python's 2-liner above.
> In fact, I am wondering, how difficult would it be to make julia accept the 
> Fortran double precision format natively - is that a big change in Base?

I had a look: base/datafmt.jl does the file reading but it is quite
cryptic and I didn't quite figure out where the conversion from string
to float occurs.  But probably it's done with the float64 function in
base/string.jl which calls into C: src/builtins.c function jl_strtod.
So, if my digging is right then it's not so easy to change and would
change how strings are parsed into floats everywhere.  

Thus probably easiest to write a function which does the parsing.

> On a separate issue, is there an equivalent to numpy's *loadtxt*?

readdlm or readcsv do this.  How did you do it?

Reply via email to