Learn R Programming

HadoopStreaming (version 0.1)

hsWriteTable: Calls write.table with defaults sensible for Hadoop streaming.

Description

Calls write.table without row names or column names, without string quotes, and with tab as the default separator.

Usage

hsWriteTable(d, file = "", sep = "")
d{A data frame}
  file{A connection, as taken by write.table()}
  sep{The column separator, defaults to a tab character.}
No return value.
[object Object]
write.table
d=data.frame(a=c('hi','yes','no'),b=c(1,2,3))
rownames(d) <- c('row1','row2','row3')
write.table(d)
hsWriteTable(d)

Arguments