[Hadoopstreaming-commits] r6 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 21 06:18:54 CET 2009


Author: drosen
Date: 2009-03-21 06:18:54 +0100 (Sat, 21 Mar 2009)
New Revision: 6

Added:
   pkg/man/hsWriteTable.Rd
Log:
added hsWriteTable.Rd

Added: pkg/man/hsWriteTable.Rd
===================================================================
--- pkg/man/hsWriteTable.Rd	                        (rev 0)
+++ pkg/man/hsWriteTable.Rd	2009-03-21 05:18:54 UTC (rev 6)
@@ -0,0 +1,26 @@
+\name{hsWriteTable}
+\alias{hsWriteTable}
+\title{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 = "\t")
+}
+\arguments{
+  \item{d}{A data frame}
+  \item{file}{A connection, as taken by write.table()}
+  \item{sep}{The column separator, defaults to '\t'}
+}
+\value{
+  No return value.
+}
+\author{David S. Rosenberg <drosen at sensenetworks.com> }
+\seealso{\code{\link{write.table}} }
+\examples{
+d=data.frame(a=c('hi','yes','no'),b=c(1,2,3))
+rownames(d) <- c('row1','row2','row3')
+write.table(d)
+hsWriteTable(d)
+}



More information about the Hadoopstreaming-commits mailing list