very high-level IO functions?

York yorklee70 at gmail.com
Mon Sep 19 23:09:06 CEST 2005


Caleb Hattingh wrote:
> York
> 
> Short answer: yes
> 

Brilliant! and what are they?

> We use python and R at work, and in general you will find python syntax 
> a  little cleaner for functionality they have in common.  R is better 
> for  some of the more hard-wired stats stuff, though.

I love python. However, as a biologist, I like some high-levels 
functions in R. I don't want to spend my time on parse a data file. Then 
in my python script, I call R to read data file and write them into an 
MySQL table. If python can do this easily, I don't need R at all.

Cheers,

-York


> 
> On Mon, 19 Sep 2005 20:04:37 +0200, York <yorklee70 at gmail.com> wrote:
> 
>> Hi,
>>
>> R language has very high-level IO functions, its read.table can read 
>> a  total .csv file and recogonize the types of each column. 
>> write.table can  do the reverse.
>>
>> R's MySQL interface has high-level functions, too, e.g. dbWriteTable 
>> can         automatically build a MySQL table and write a table of R 
>> data  into it.
>>
>> Is there any python packages do similar things?
>>
>>
>> -York
> 
> 



More information about the Python-list mailing list