Import example file

  1. Download the .csv files from https://github.com/krlmlr/vistransrep/tree/master/data.

    Hint: Use the “Raw” button to get access to the raw data, then save the file to your local disk.

  2. Use RStudio’s import assistant (File → Import Dataset → From Text (readr)) to import the data with the likely most suitable settings. Copy the code that the import assistent generates to a script.

  3. Import one of your own datasets with RStudio’s import assistant (if possible) or with a helper package (example: the pxR package reads the PC-Axis format).

    install.packages("pxR")
    library(pxR)
    ?read.px
  4. Install the rio package, explore its capabilities.

    install.packages("rio")
    library(rio)
    ?import
  5. Try the readit package.

Copyright © 2018 Kirill Müller. Licensed under CC BY-NC 4.0.