can_write.Rd
If the file exists, check if we have write permissions on it.
can_write(filename)
filename | filename to test for write access |
---|
TRUE if the file can be opened for writing, FALSE otherwise
If the file does not exist, try creating a file of that name, and then remove it.