[Rhadoop-commits] using file in hdfs for data mining algorithms in r

Karthi KN me2kathick at gmail.com
Mon Feb 6 12:42:57 CET 2012


hi all, i am new to r , i am trying to run data mining algorithms using map
reduce framework.. *
*i have few basic doubts*

*1. can i give file in hdfs to kmeans( ) ?  ?I tried as
> file1 = hdfs.file("testdata/synthetic_control.data")
> isf = hdfs.read(lsf,5242880,0)
>l = kmeans(isf,2,10)

its not working..  please help

2. How to access the file in hdfs and give as input to algorithms ?

please reply..

Regards,
./T.karthik*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rhadoop-commits/attachments/20120206/ab81f7a7/attachment.html>


More information about the Rhadoop-commits mailing list