concept file in category R

This is an excerpt from Manning's book Exploring Data with R.
RStudio has a customizable, four-pane workspace. It has a collection of useful features that help with R coding such as syntax highlighting, autocomplete, file and project management, and much more (Figure 1.1).
In case we don’t fully believe the message given by dataset_to_csv(), we can have a look at the Files tab in RStudio (in the lower-right pane, first tab). The file should be there. If it isn’t, we can try two things. We should check that the path above the file view is same as that given in the message received after executing the dataset_to_csv() function. If it’s different for whatever reason, we could navigate back to the project directory by clicking on the icon to the right of the path (the blue, R-in-cube icon). One last thing to try is clicking the refresh button just above (it could be that, on some file systems, a refresh of the directory listing is necessary).

This is an excerpt from Manning's book Practical Data Science with R, Second Edition.
We strongly encourage you to avoid performing steps “by hand” outside of R when importing data. It’s tempting to use an editor to add a header line to a file, as we did in our example. A better strategy is to write an R script to perform any necessary reformatting. Automating these steps greatly reduces the amount of trauma and work during the inevitable data refresh. Receiving new, better data should always feel like good news, and writing automated and replicable procedures is a big step in this direction.
Our example in section 2.2.2 will show how to add headers without editing files by hand as we did in this example.

This is an excerpt from Manning's book Beyond Spreadsheets with R.
Have you ever received a file with a filename like mydata_final_Thurs20May_phil_fixed_final_v2.xlsx? Not the most succinct name, but it hints at something much worse — that multiple copies of the file are floating around, each with a different version of the data, most of which is out of date due to some corrections or updates, and with unknown changes between versions. If someone presented a graph produced from one of these files, could you be certain which version it came from? Or if presented with the most recent graph and the one that preceded it, could you tell what had changed?
xyz_data <- read.csv("xyzdata.csv") #1 #1 In this case, the file xyzdata.csv is a file in the current working directory: for example, /home/user/xyzdata.csv.