[H5r-commits] r60 - man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 3 23:59:01 CEST 2011


Author: malinka
Date: 2011-08-03 23:59:00 +0200 (Wed, 03 Aug 2011)
New Revision: 60

Added:
   man/read1DSlabs.Rd
Log:
added documentation for h5r function read1DSlabs


Added: man/read1DSlabs.Rd
===================================================================
--- man/read1DSlabs.Rd	                        (rev 0)
+++ man/read1DSlabs.Rd	2011-08-03 21:59:00 UTC (rev 60)
@@ -0,0 +1,42 @@
+\name{read1DSlabs}
+\alias{read1DSlabs}
+\title{
+ A Function that Selects Specified Portions or Strings of Data from an
+ H5 Dataset.
+}
+\description{
+  'read1DSlabs' is a funtion that pulls out strings (or portions) of
+  data, where the starting point and dimension of strings/portions can be
+  specified by the user.  
+}
+\usage{
+read1DSlabs(h5Dataset, offsets, dims)
+}
+\arguments{
+  \item{h5Dataset}{
+  Specify H5 dataset.
+}
+  \item{offsets}{
+  Specify offsets i.e. the points at which the data strings (or data
+  portions) begin. 
+}
+  \item{dims}{
+  Specify dimensions of dataset string or portion.
+}
+}
+\value{
+  The values returned depend on H5 dataset data type.
+}
+\seealso{
+  \link{readSlab}
+}
+\examples{
+  file <- system.file("h5_files", "ex_1.h5", package = 'h5r')
+  f <- H5File(file)
+  g <- getH5Group(f, "group_1")
+  ds6 <- getH5Dataset(g, "ds_6", inMemory = FALSE)
+  r1 <- read1DSlabs(ds6,1:10,rep(5,10))
+  r1
+}
+\keyword{datasets}
+



More information about the H5r-commits mailing list