Section 13 Read and Save Data

13.1 A quick look

  • Work with the data
    • Download the Microsoft Excel data file: BP.xlsx
    • Open the file in Excel, check that the file is downloaded correctly
    • Save the data as a comma-separated csv file: “BP.csv”.
    • Go to Rstudio
    • Set the working directory to the folder where you saved the data
    • read the csv file in R as a data.frame object: BP
    • Save the data as an R data object: “BP.RData”