Applies a function to each pair of file in two file sets
Applies a function to each pair of file in two file sets.
## S3 method for class 'GenericDataFileSet' dsApplyInPairs(ds1, ds2, FUN, ..., args=list(), skip=FALSE, verbose=FALSE, .parallel=NULL, .control=NULL)
WARNING: dsApplyInPairs() is deprecated; instead use
future.apply::future_mapply().
Returns a named list where the names are those of argument IDXS.
Henrik Bengtsson
## Not run: # - - - - - - - - - - - - - - - - - - - - - - - - # Setting up a file set # - - - - - - - - - - - - - - - - - - - - - - - - path <- system.file(package="R.filesets") ds <- GenericDataFileSet$byPath(path) # - - - - - - - - - - - - - - - - - - - - - - - - # Get the size of each file # - - - - - - - - - - - - - - - - - - - - - - - - sizes <- lapply(ds, FUN=getFileSize) str(sizes) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.