Package: R.filesets 2.15.1

R.filesets: Easy Handling of and Access to Files Organized in Structured Directories

A file set refers to a set of files located in one or more directories on the file system. This package provides classes and methods to locate, setup, subset, navigate and iterate such sets. The API is designed such that these classes can be extended via inheritance to provide a richer API for special file formats. Moreover, a specific name format is defined such that filenames and directories can be considered to have full names which consists of a name followed by comma-separated tags. This adds additional flexibility to identify file sets and individual files. NOTE: This package's API should be considered to be in an beta stage. Its main purpose is currently to support the aroma.* packages, where it is one of the main core components; if you decide to build on top of this package, please contact the author first.

Authors:Henrik Bengtsson [aut, cre, cph]

R.filesets_2.15.1.tar.gz
R.filesets_2.15.1.zip(r-4.5)R.filesets_2.15.1.zip(r-4.4)R.filesets_2.15.1.zip(r-4.3)
R.filesets_2.15.1.tgz(r-4.4-any)R.filesets_2.15.1.tgz(r-4.3-any)
R.filesets_2.15.1.tar.gz(r-4.5-noble)R.filesets_2.15.1.tar.gz(r-4.4-noble)
R.filesets_2.15.1.tgz(r-4.4-emscripten)R.filesets_2.15.1.tgz(r-4.3-emscripten)
R.filesets.pdf |R.filesets.html
R.filesets/json (API)
NEWS

# Install 'R.filesets' in R:
install.packages('R.filesets', repos = c('https://henrikbengtsson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/henrikbengtsson/r.filesets/issues

On CRAN:

files

4.66 score 2 stars 7 packages 22 scripts 826 downloads 402 exports 5 dependencies

Last updated 10 months agofrom:0a2d371874 (on master). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:[.GenericDataFileSet[.GenericTabularFile[[.GenericDataFileSetanyDuplicated.GenericDataFileSetanyNA.GenericDataFileSetappendappend.defaultappend.GenericDataFileSetappendColumnNamesTranslatorappendColumnNamesTranslator.ColumnNamesInterfaceappendColumnNamesTranslatorBycharacterappendColumnNamesTranslatorBycharacter.ColumnNamesInterfaceappendColumnNamesTranslatorByfunctionappendColumnNamesTranslatorByfunction.ColumnNamesInterfaceappendColumnNamesTranslatorBylistappendColumnNamesTranslatorBylist.ColumnNamesInterfaceappendColumnNamesTranslatorByNULLappendColumnNamesTranslatorByNULL.ColumnNamesInterfaceappendFilesappendFiles.GenericDataFileSetappendFullNamesTranslatorappendFullNamesTranslator.GenericDataFileSetappendFullNamesTranslatorBydata.frameappendFullNamesTranslatorBydata.frame.GenericDataFileSetappendFullNamesTranslatorByfunctionappendFullNamesTranslatorByfunction.GenericDataFileSetappendFullNamesTranslatorBylistappendFullNamesTranslatorBylist.GenericDataFileSetappendFullNamesTranslatorByNULLappendFullNamesTranslatorByNULL.GenericDataFileSetappendFullNamesTranslatorByTabularTextFileappendFullNamesTranslatorByTabularTextFile.GenericDataFileSetappendFullNamesTranslatorByTabularTextFileSetappendFullNamesTranslatorByTabularTextFileSet.GenericDataFileSetappendFullNameTranslatorappendFullNameTranslator.FullNameInterfaceappendFullNameTranslatorBycharacterappendFullNameTranslatorBycharacter.FullNameInterfaceappendFullNameTranslatorBydata.frameappendFullNameTranslatorBydata.frame.FullNameInterfaceappendFullNameTranslatorByfunctionappendFullNameTranslatorByfunction.FullNameInterfaceappendFullNameTranslatorBylistappendFullNameTranslatorBylist.FullNameInterfaceappendFullNameTranslatorByNULLappendFullNameTranslatorByNULL.FullNameInterfaceappendFullNameTranslatorByTabularTextFileappendFullNameTranslatorByTabularTextFile.FullNameInterfaceappendFullNameTranslatorByTabularTextFileSetappendFullNameTranslatorByTabularTextFileSet.FullNameInterfaceas.character.ChecksumFileas.character.GenericDataFileas.character.GenericDataFileSetas.character.GenericDataFileSetListas.character.GenericTabularFileas.character.TabularTextFileas.data.frame.GenericDataFileSetListas.GenericDataFileSetListas.GenericDataFileSetList.GenericDataFileSetListas.list.GenericDataFileSetas.list.GenericDataFileSetListassertDuplicatesassertDuplicates.GenericDataFileSetListbyNamebyName.GenericDataFileSetbyPathbyPath.GenericDataFileSetbyPath.RDataFileSetbyPath.RdsFileSetc.GenericDataFileSetChecksumFileChecksumFileSetclearCacheclearCache.GenericDataFileSetclearColumnNamesTranslatorclearColumnNamesTranslator.ColumnNamesInterfaceclearFullNamesTranslatorclearFullNamesTranslator.GenericDataFileSetclearFullNameTranslatorclearFullNameTranslator.FullNameInterfaceclearListOfColumnNamesTranslatorsclearListOfColumnNamesTranslators.ColumnNamesInterfaceclearListOfFullNameTranslatorsclearListOfFullNameTranslators.FullNameInterfacecloneclone.GenericDataFileclone.GenericDataFileSetclone.GenericDataFileSetListColumnNamesInterfacecompareChecksumcompareChecksum.GenericDataFilecopyTocopyTo.GenericDataFilecopyTo.GenericDataFileSetcreatecreate.ChecksumFiledim.GenericTabularFiledimension.TabularTextFiledropRootPathTagsdropRootPathTags.defaultdropTagsdropTags.defaultdsApplyInPairsdsApplyInPairs.GenericDataFileSetduplicated.GenericDataFileSetequalsequals.GenericDataFileequals.GenericDataFileSetextractextract.GenericDataFileSetextract.GenericDataFileSetListextractMatrixextractMatrix.GenericTabularFileextractMatrix.GenericTabularFileSetfindByNamefindByName.GenericDataFileSetfindDuplicatedfindDuplicated.GenericDataFileSetfromFilefromFile.GenericDataFilefullnamefullname.defaultFullNameInterfaceGenericDataFileGenericDataFileListGenericDataFileSetGenericDataFileSetListGenericTabularFileGenericTabularFileSetgetAsteriskTagsgetAsteriskTags.GenericDataFileSetListgetAttributegetAttribute.GenericDataFilegetAttributesgetAttributes.GenericDataFilegetChecksumgetChecksum.ChecksumFilegetChecksum.GenericDataFilegetChecksum.GenericDataFileSetgetChecksumFilegetChecksumFile.defaultgetChecksumFile.GenericDataFilegetChecksumFileSetgetChecksumFileSet.GenericDataFileSetgetChecksumObjectsgetChecksumObjects.GenericDataFileSetgetColumnNamesgetColumnNames.ColumnNamesInterfacegetColumnNamesTranslatorgetColumnNamesTranslator.ColumnNamesInterfacegetCommentChargetCommentChar.TabularTextFilegetCreatedOngetCreatedOn.GenericDataFilegetDefaultColumnClassesgetDefaultColumnClasses.TabularTextFilegetDefaultColumnClassPatternsgetDefaultColumnClassPatterns.TabularTextFilegetDefaultColumnNamesgetDefaultColumnNames.ColumnNamesInterfacegetDefaultColumnNames.TabularTextFilegetDefaultFullNamegetDefaultFullName.FullNameInterfacegetDefaultFullName.GenericDataFilegetDefaultFullName.GenericDataFileSetgetDefaultFullName.GenericDataFileSetListgetDepthgetDepth.GenericDataFileSetgetExtensiongetExtension.GenericDataFilegetExtensionPatterngetExtensionPattern.GenericDataFilegetFilegetFile.GenericDataFileSetgetFileClassgetFileClass.GenericDataFileSetgetFileListgetFileList.GenericDataFileSetListgetFileListClassgetFileListClass.GenericDataFileSetListgetFilenamegetFilename.GenericDataFilegetFilenameExtensiongetFilenameExtension.GenericDataFilegetFilesgetFiles.GenericDataFileSetgetFileSizegetFileSize.GenericDataFilegetFileSize.GenericDataFileSetgetFileTypegetFileType.GenericDataFilegetFullNamegetFullName.FullNameInterfacegetFullNamesgetFullNames.GenericDataFileSetgetFullNames.GenericDataFileSetListgetFullNameTranslatorgetFullNameTranslator.FullNameInterfacegetHeadergetHeader.TabularTextFilegetLastAccessedOngetLastAccessedOn.GenericDataFilegetLastModifiedOngetLastModifiedOn.GenericDataFilegetListOfColumnNamesTranslatorsgetListOfColumnNamesTranslators.ColumnNamesInterfacegetListOfFullNameTranslatorsgetListOfFullNameTranslators.FullNameInterfacegetMainFilegetMainFile.ChecksumFilegetNamegetName.FullNameInterfacegetNamesgetNames.GenericDataFileSetgetNames.GenericDataFileSetListgetOneFilegetOneFile.GenericDataFileSetgetOutputExtensiongetOutputExtension.GenericDataFilegetPathgetPath.GenericDataFilegetPath.GenericDataFileSetgetPathnamegetPathname.GenericDataFilegetPathnamesgetPathnames.GenericDataFileSetgetReadArgumentsgetReadArguments.TabularTextFilegetSetgetSet.GenericDataFileSetListgetSetsgetSets.GenericDataFileSetListgetSubdirsgetSubdirs.GenericDataFileSetgetTagsgetTags.ArgumentsgetTags.FullNameInterfacegetTags.GenericDataFileSetListgunzipgunzip.GenericDataFilegunzip.GenericDataFileSetgzipgzip.GenericDataFilegzip.GenericDataFileSethasBeenModifiedhasBeenModified.GenericDataFilehasChecksumFilehasChecksumFile.defaulthasColumnHeaderhasColumnHeader.TabularTextFilehasFilehasFile.GenericDataFileSethasTaghasTag.FullNameInterfacehasTagshasTags.FullNameInterfacehead.GenericTabularFileindexOfindexOf.GenericDataFileSetindexOf.GenericDataFileSetListis.na.GenericDataFileis.na.GenericDataFileSetisFileisFile.GenericDataFileisGzippedisGzipped.GenericDataFileisOldisOld.ChecksumFilelength.GenericDataFileSetlength.GenericDataFileSetListlinkTolinkTo.GenericDataFileloadObjectloadObject.RDataFileloadObject.RdsFileloadRDSloadRDS.defaultloadRDS.RdsFileloadToEnv.RDataFilenamename.defaultnames.GenericDataFileSetnbrOfColumnsnbrOfColumns.ColumnNamesInterfacenbrOfColumns.GenericTabularFilenbrOfFilesnbrOfFiles.GenericDataFileSetnbrOfFiles.GenericDataFileSetListnbrOfLinesnbrOfLines.TabularTextFilenbrOfRowsnbrOfRows.GenericTabularFilenbrOfRows.TabularTextFilenbrOfSetsnbrOfSets.GenericDataFileSetListR.filesetsRDataFileRDataFileSetRdsFileRdsFileSetreadChecksumreadChecksum.ChecksumFilereadChecksum.GenericDataFilereadChecksumsreadChecksums.ChecksumFileSetreadColumnNamesreadColumnNames.TabularTextFilereadColumnsreadColumns.GenericTabularFilereadColumns.TabularTextFilereadDataFramereadDataFrame.defaultreadDataFrame.GenericTabularFilereadDataFrame.TabularTextFilereadDataFrame.TabularTextFileSetreadLinesreadLines.defaultreadLines.TabularTextFilereadRawHeaderreadRawHeader.TabularTextFilereadTableHeaderreadTableHeader.defaultrenameTorenameTo.GenericDataFilerenameToUpperCaseExtrenameToUpperCaseExt.GenericDataFilereorder.GenericDataFileSetrep.GenericDataFileSetresetFullNameresetFullName.FullNameInterfaceresetFullNamesresetFullNames.GenericDataFileSetsetAttributesetAttribute.GenericDataFilesetAttributessetAttributes.GenericDataFilesetAttributesBysetAttributesBy.GenericDataFilesetAttributesByTagssetAttributesByTags.GenericDataFilesetColumnNamessetColumnNames.ColumnNamesInterfacesetColumnNamesTranslatorsetColumnNamesTranslator.ColumnNamesInterfacesetCommentCharsetCommentChar.TabularTextFilesetDepthsetDepth.GenericDataFileSetsetExtensionPatternsetExtensionPattern.GenericDataFilesetFullNamesetFullName.FullNameInterfacesetFullNamesTranslatorsetFullNamesTranslator.GenericDataFileSetsetFullNameTranslatorsetFullNameTranslator.FullNameInterfacesetListOfColumnNamesTranslatorssetListOfColumnNamesTranslators.ColumnNamesInterfacesetListOfFullNameTranslatorssetListOfFullNameTranslators.FullNameInterfacesetNamesetName.FullNameInterfacesetTagssetTags.FullNameInterfacesetTags.GenericDataFileSetListsortBysortBy.GenericDataFileSetTabularTextFileTabularTextFileSettagstags.defaulttail.GenericTabularFiletestAttributestestAttributes.GenericDataFiletranslateColumnNamestranslateColumnNames.ColumnNamesInterfacetranslateFullNametranslateFullName.FullNameInterfaceunique.GenericDataFileSetupdate2update2.GenericDataFileSetupdateColumnNamesupdateColumnNames.ColumnNamesInterfaceupdateFullNameupdateFullName.FullNameInterfaceupdateFullName.GenericDataFileSetupdateFullNamesupdateFullNames.GenericDataFileSetvalidatevalidate.ChecksumFilevalidate.ChecksumFileSetvalidate.GenericDataFilevalidate.GenericDataFileSetvalidateChecksumvalidateChecksum.GenericDataFileverifyverify.GenericTabularFileverify.TabularTextFilewriteChecksumwriteChecksum.GenericDataFilewriteColumnsToFileswriteColumnsToFiles.GenericTabularFile

Dependencies:digestR.cacheR.methodsS3R.ooR.utils

Readme and manuals

Help Manual

Help pageTopics
Package R.filesetsR.filesets-package R.filesets
The ChecksumFile classChecksumFile ChecksumFile.getChecksum getChecksum,ChecksumFile-method getChecksum.ChecksumFile
The ChecksumFileSet classChecksumFileSet
The ColumnNamesInterface class interfaceColumnNamesInterface
The FullNameInterface class interfaceFullNameInterface
The abstract GenericDataFile classGenericDataFile
The GenericDataFileSet classGenericDataFileSet
The GenericDataFileSetList classGenericDataFileSetList
The abstract GenericTabularFile classGenericTabularFile
The GenericTabularFileSet classGenericTabularFileSet
Reads data from a RDS fileloadRDS loadRDS.default loadRDS.RdsFile
Reads data from a RDS fileloadToEnv loadToEnv.RDataFile
The RDataFile classloadObject loadObject.RDataFile RDataFile
The RDataFileSet classbyPath.RDataFileSet RDataFileSet
The RdsFile classloadObject.RdsFile RdsFile
The RdsFileSet classbyPath.RdsFileSet RdsFileSet
Reads data from a tabular filereadDataFrame readDataFrame.default
The TabularTextFile classTabularTextFile
The TabularTextFileSet classTabularTextFileSet