Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 601 Bytes
#remove os objetos que estão na memória
rm(list = ls ())
#Pega o path do work directory
getwd()
#Define o path do work directory
setwd("C:/Users/toti.cavalcanti/Documents/MyProjects/R_projects/curso_r/")
df <- read.table(file = "drinks.txt", header = TRUE, sep = ",", quote = "\"",
na.strings = TRUE, strip.white = TRUE, comment.char = "$",
blank.lines.skip = TRUE)
df2 <- read.csv(file = "drinks.csv",header = TRUE, sep = ",", quote = "\"",
na.strings = TRUE, strip.white = TRUE, comment.char = "$",
blank.lines.skip = TRUE)
You can’t perform that action at this time.