Package: fs 1.6.4.9000

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.4.9000.tar.gz
fs_1.6.4.9000.zip(r-4.5)fs_1.6.4.9000.zip(r-4.4)fs_1.6.4.9000.zip(r-4.3)
fs_1.6.4.9000.tgz(r-4.4-arm64)fs_1.6.4.9000.tgz(r-4.4-x86_64)fs_1.6.4.9000.tgz(r-4.3-arm64)fs_1.6.4.9000.tgz(r-4.3-x86_64)
fs_1.6.4.9000.tar.gz(r-4.5-noble)fs_1.6.4.9000.tar.gz(r-4.4-noble)
fs.pdf |fs.html
fs/json (API)
NEWS

# Install fs in R:
install.packages('fs', repos = c('https://r-lib.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

On CRAN:

filesystemlibuv

67 exports 361 stars 18.20 score 0 dependencies 5757 dependents 20 mentions 905.8k downloads

Last updated 14 days agofrom:714990b50a

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 Jun 19 2024.

Last update: 2021-03-23
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