Skip to contents

Acts as a minimal wrapper around file.access(mode = 2) to test whether R has permission to write to files and/or directories.

Usage

write_access(names)

Arguments

names

character vector containing file names. Tilde-expansion will be done: see path.expand.

Value

Logical vector of length equal to names. NOTE that this differs from base::file.access() which returns an integer vector.