filesstrings: An R package for file and string manipulation

View Researcher's Other Codes

Disclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).

Authors Rory Nolan, Sergi Padilla-Parra
Journal/Conference Name J. Open Source Software
Paper Category
Paper Abstract filesstrings is an R package providing convenient functions for moving files, deleting directories, and a variety of string operations that facilitate manipulating file names and extracting information from strings. For example, R has no file.move(), just file.copy() and file.rename(), so the best way to move a file was to unintuitively rename it. filesstrings provides file.move(). The package’s string operations mostly pertain to dealing with numbers contained within strings. It has a function NiceFileNums() for fixing file names such that their numbering is consistent with alphabetical order. For example, ‘file10.txt’ comes before ‘file9.txt’ in alphabetical order, so NiceFileNums() recognises this and renames them to ‘file10.txt’ and ‘file09.txt’ respectively. See documentation at
Date of publication 2017
Code Programming Language R

Copyright Researcher 2021