Difference between revisions of "R: Import"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " # Read tab separated values read.delim(file.choose()) # Read comma (",") separated values read.csv(file.choose()) # Read semicolon (";") separated values read.csv2(file...")
 
Line 1: Line 1:
 +
==Normal==
  
 
  # Read tab separated values
 
  # Read tab separated values
Line 6: Line 7:
 
  # Read semicolon (";") separated values
 
  # Read semicolon (";") separated values
 
  read.csv2(file.choose()
 
  read.csv2(file.choose()
 +
 +
==Fast Read==
 +
 +
library("readr")
 +
# Read tab separated values
 +
read_tsv(file.choose())
 +
# Read comma (",") separated values
 +
read_csv(file.choose())
 +
# Read semicolon (";") separated values
 +
read_csv2(file.choose())
  
  

Revision as of 10:30, 28 November 2019

Normal

# Read tab separated values
read.delim(file.choose())
# Read comma (",") separated values
read.csv(file.choose())
# Read semicolon (";") separated values
read.csv2(file.choose()

Fast Read

library("readr")
# Read tab separated values
read_tsv(file.choose())
# Read comma (",") separated values
read_csv(file.choose())
# Read semicolon (";") separated values
read_csv2(file.choose()) 


Pranala Menarik