Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

file_chown

Change owner or group of a file


Description

Change owner or group of a file

Usage

file_chown(path, user_id = NULL, group_id = NULL)

Arguments

path

A character vector of one or more paths.

user_id

The user id of the new owner, specified as a numeric ID or name. The R process must be privileged to change this.

group_id

The group id of the new owner, specified as a numeric ID or name.


fs

Cross-Platform File System Operations Based on 'libuv'

v1.5.0
GPL-3
Authors
Jim Hester [aut, cre], Hadley Wickham [aut], libuv project contributors [cph] (libuv library), Joyent, Inc. and other Node contributors [cph] (libuv library), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.