bind.cols(mtcars,carb.per.cyl=carb/cyl)
This works perfectly. (y)
inp =make.input.format("csv",sep = ",",stringsAsFactors = FALSE)
inpu <- from.dfs("/user/yanish/sampledata/a.csv",format = inp)
Here i'm getting error.
#########3
Simillarly i try
data=to.dfs(as.data.frame(read.csv("/usr/local/hadoop/hadoop/sample_data/a.csv",header=TRUE)))
bind.cols(data,something=somethin+somethi)
Error in UseMethod("bind.cols") :
no applicable method for 'bind.cols' applied to an object of class "function"
Even I try with iris dataset it's work.
How can i perform plyrmr or any mapreduce as a data set for csv file what I can do.
Or do i have to make my csv file as a data set to deal with plyrmr.
Some suggestion and guideline plz.