An intuitive thought is, uncompress your csv file via bash utility *zcat*, 
pipe it to STDIN and use* readline(STDIN) *in julia.


On Monday, January 5, 2015 7:51:18 AM UTC+8, ivo welch wrote:
>
>
> dear julia users:  beginner's question (apologies, more will be coming). 
>  it's probably obvious.
>
> I am storing files in compressed csv form.  I want to use the built-in 
> julia readcsv() function.  but I also need to pipe through a decompressor 
> first.  so, I tried a variety of forms, like
>
>    d= readcsv("/usr/bin/gzcat ./myfile.csv.gz |")
>    d= readcsv("`/usr/bin/gzcat ./myfile.csv.gz`")
>
> I can type the file with run(`/usr/bin/gzcat ./crsp90.csv.gz"), but 
> wrapping a readcsv around it does not capture it.  how does one do this?
>
> regards,
>
> /iaw
>
>

Reply via email to