unlink Function in R – Delete Folder Using RStudio (Example Code)

In this R tutorial you’ll learn how to remove working directories on a computer.

Example: Apply unlink() Function to Remove Working Directory

unlink("C:/Users/Data Hacks/example directory/example subdirectory",   # Apply unlink()
       recursive = TRUE)

Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Menu
Top