Package: fs 1.6.5

Gábor Csárdi

fs: Cross-Platform File System Operations Based on 'libuv'

A cross-platform interface to file system operations, built on top of the 'libuv' C library.

Authors:Jim Hester [aut], Hadley Wickham [aut], Gábor Csárdi [aut, cre], libuv project contributors [cph], Joyent, Inc. and other Node contributors [cph], Posit Software, PBC [cph, fnd]

fs_1.6.5.tar.gz
fs_1.6.5.tar.gz(r-4.5-noble)fs_1.6.5.tar.gz(r-4.4-noble)
fs.pdf |fs.html
fs/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/r-lib/fs/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

14.05 score 5.0k packages 7.7k scripts 973k downloads 20 mentions 67 exports 0 dependencies

Last updated 16 hours agofrom:5a423d3957. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-linux-x86_64OKOct 30 2024

Exports:as_fs_bytesas_fs_pathas_fs_permsdir_copydir_createdir_deletedir_existsdir_infodir_lsdir_mapdir_treedir_walkfile_accessfile_chmodfile_chownfile_copyfile_createfile_deletefile_existsfile_infofile_movefile_showfile_sizefile_tempfile_temp_popfile_temp_pushfile_touchfs_bytesfs_pathfs_permsgroup_idsis_absolute_pathis_diris_fileis_file_emptyis_linklink_copylink_createlink_deletelink_existslink_pathpathpath_abspath_commonpath_dirpath_expandpath_expand_rpath_extpath_ext_removepath_ext_setpath_ext<-path_filepath_filterpath_has_parentpath_homepath_home_rpath_joinpath_normpath_packagepath_realpath_relpath_sanitizepath_splitpath_temppath_tidypath_wduser_ids

Dependencies:

Comparison of fs functions, base R, and shell commands

Rendered fromfunction-comparisons.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2021-11-30
Started: 2019-03-19

Readme and manuals

Help Manual

Help pageTopics
Copy files, directories or linkscopy dir_copy file_copy link_copy
Create files, directories, or linkscreate dir_create file_create link_create
Delete files, directories, or linksdelete dir_delete file_delete link_delete
List filesdir_info dir_ls dir_map dir_walk
Print contents of directories in a tree-like formatdir_tree
Query for existence and access permissionsdir_exists file_access file_exists link_exists
Change file permissionsfile_chmod
Change owner or group of a filefile_chown
Query file metadatafile_info file_size
Move or rename filesfile_move
Open files or directoriesfile_show
Create names for temporary filesfile_temp file_temp_pop file_temp_push path_temp
Change file access and modification timesfile_touch
Human readable file sizesas_fs_bytes fs_bytes
File pathsas_fs_path fs_path
Create, modify and view file permissionsas_fs_perms fs_perms
Lookup Users and Groups on a systemgroup_ids id user_ids
Test if a path is an absolute pathis_absolute_path
Functions to test for file typesis_dir is_file is_file_empty is_link
Read the value of a symbolic linklink_path
Construct path to a file or directorypath path_wd
Finding the User Home Directorypath_expand path_expand_r path_home path_home_r
Manipulate file pathspath_dir path_ext path_ext<- path_ext_remove path_ext_set path_file
Filter pathspath_filter
Path computationspath_abs path_common path_has_parent path_join path_math path_norm path_real path_rel path_split
Construct a path to a location within an installed or development packagepath_package
Sanitize a filename by removing directory paths and invalid characterspath_sanitize
Tidy pathspath_tidy