this is my problemgetStockHist <- function(x,start,end) {+ y <<- getSymbols(x, from=start, to=end, adjust=TRUE)+ fmt <- toupper(gsub("\\^","",x))+ as <<- transform(get(fmt),COMP=y)+ write.csv(+ data.frame( date=index(as), coredata(as) ),+ row.names=FALSE, quote=FALSE,+ file=pipe(paste0("hadoop dfs -put - /user/root/stock/",y,".csv"))+ )+ }; y <- "a"> as <- xts()> getStockHist("YHOO",start="2013-12-01",end="2013-12-05")sh: hadoop: command not foundsmall.ints = to.dfs(1:10)Exception in thread "main" java.io.IOException: Permission deniedat java.io.UnixFileSystem.createFileExclusively(Native Method)at java.io.File.createNewFile(File.java:1006)at java.io.File.createTempFile(File.java:1989)at org.apache.hadoop.util.RunJar.main(RunJar.java:119)
I don't know. what Error?