Question: how to make rproj file?
Answer: RProj file. When you open a project (using File/Open Project in RStudio or by double–clicking on the . Rproj file outside of R), the working directory will automatically be set to the directory that the . RProj file is located in.