Working directory

How can I change working directory using R function (which function need to be used) before importing a .csv file using read_csv function

setwd()

You don't necessarily need to change the working directory. You can specify the path in read_csv(). Better still, use projects:
8 Workflow: projects | R for Data Science (had.co.nz)

thanks for the support

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.