[Genabel-commits] r794 - pkg/DatABEL/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Oct 13 16:46:20 CEST 2011
Author: lckarssen
Date: 2011-10-13 16:46:19 +0200 (Thu, 13 Oct 2011)
New Revision: 794
Modified:
pkg/DatABEL/R/text2databel.R
Log:
Small fixes to the documentation of text2databel.R
Modified: pkg/DatABEL/R/text2databel.R
===================================================================
--- pkg/DatABEL/R/text2databel.R 2011-10-09 21:38:20 UTC (rev 793)
+++ pkg/DatABEL/R/text2databel.R 2011-10-13 14:46:19 UTC (rev 794)
@@ -14,8 +14,8 @@
#' option is provided, it is assumed that both column and row
#' names are provided in the file, and the first line contains
#' one column less than other lines (such is the case with
-#' file produced from R using function
-#' "write.table(...,col.mnames=TRUE,row.names=TRUE)"
+#' files produced from R using the function
+#' \code{write.table(...,col.names=TRUE,row.names=TRUE)}.
#'
#' @param infile input text file name
#' @param outfile output filevector file name; if missing,
@@ -35,7 +35,7 @@
#' @param transpose whether the file is to be transposed
#' @param R_matrix if true, the file format is assumed to follow
#' the format of R data matrix produced with
-#' "write.table(...,col.mnames=TRUE,row.names=TRUE)"
+#' \code{write.table(...,col.names=TRUE,row.names=TRUE)}
#' @param type data DatABEL type to use ("DOUBLE", "FLOAT", "INT",
#' "UNSIGNED_INT", "UNSIGNED_SHORT_INT", "SHORT_INT", "CHAR", "UNSIGNED_CHAR")
#' @param cachesizeMb cache size for the resulting 'databel-class' object
@@ -45,8 +45,8 @@
#'
#' @author Yurii Aulchenko
#'
-#' @return file converted is stored in file system, \link{databel-class}
-#' object connection to the file
+#' @return The converted file is stored in the file system, a \link{databel-class}
+#' object connection to the file is returned.
#'
#' @examples
#'
@@ -156,4 +156,4 @@
#print(intnames)
tmp <- .Call("text2fvf_R",charnames,intnames,package="DatABEL")
return(databel(outfile,cachesizeMb=cachesizeMb,readonly=readonly))
-}
\ No newline at end of file
+}
More information about the Genabel-commits
mailing list