Academia.eduAcademia.edu

In order to read the data file, point R to the directory where it is located. R uses forward slashes for reading directory structures (1e., how UNIX- type systems store files) or double backslash, e.g., C:\\Regression\\Data.csv. As an example, say a dataset with variable names in the first row is stored in a filenamed data.csv that is located in a folder called name, which is in a folder called file. R can read the file using the following syntaxes:

Table 2 In order to read the data file, point R to the directory where it is located. R uses forward slashes for reading directory structures (1e., how UNIX- type systems store files) or double backslash, e.g., C:\\Regression\\Data.csv. As an example, say a dataset with variable names in the first row is stored in a filenamed data.csv that is located in a folder called name, which is in a folder called file. R can read the file using the following syntaxes: