[R] using file in hdfs for data mining algorithms in r
ligges at statistik.tu-dortmund.de
Wed Feb 8 20:40:46 CET 2012
On 06.02.2012 12:29, Karthi KN wrote:
> hi all, i am new to r
It is called R - well, everything lower case, shift key is broken?
, 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")
R> file1 = hdfs.file("testdata/synthetic_control.data")
Error: could not find function "hdfs.file"
>> 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..
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help