I have the following code:
unlink(dir, recursive = true)
And I am getting this error message:
* object 'true' not found
What is the cause of the error message?
I have the following code:
unlink(dir, recursive = true)
And I am getting this error message:
* object 'true' not found
What is the cause of the error message?
Boolean constants are in all caps - use TRUE/FALSE. Other languages usually define them as true/false. So the correct code would be:
unlink(dir, recursive = TRUE)