Data into R

There are four options to get data into R / JGR:

Enter manually

Copy and Paste

Import spreadsheet (CSV, or Excel files)

Open RDA files

There should be no spaces in variable names. In a spreadsheet, the variable names are stored in the first row. If the variable name contains a space, this space will be converted to a full stop “.”.  However, it is generally preferable not to use spaces in variable names.

See also:

Importing and Cleaning Data in R