Learn R Programming

polymapR (version 1.0.17)

checkFilename: checkFilename ***********************************************************

Description

Check if a filename is valid for writing by trying to create the file. If the filename contains a path, result will only be TRUE if the whole path already exists

Usage

checkFilename(filename, overwrite = TRUE)

Arguments

filename

The filename to check

overwrite

if TRUE (default) an existing file of that name will be deleted (if it is not protected by being locked, read-only, owned by another user etc)