Question: Hello, I am using R studio, and am trying to read my data into R. I have a Mac, and I am having a hard
Hello,
I am using R studio, and am trying to read my data into R. I have a Mac, and I am having a hard time finding the path. I downloaded the data into a file onto my desktop called "Epi 551". I changed the ending to be .csv and then the professor thought it worked. Here is what I have so far
TG <- read.csv("~danylelee/Desktop/Epi 551/transgender_hc_ch2.csv", header=TRUE)
##Here is what I get when I read it in
Warning messages: 1: In read.table(file = file, header = header, sep = sep, quote = quote, : line 1 appears to contain embedded nulls 2: In read.table(file = file, header = header, sep = sep, quote = quote, : line 2 appears to contain embedded nulls 3: In read.table(file = file, header = header, sep = sep, quote = quote, : line 3 appears to contain embedded nulls 4: In read.table(file = file, header = header, sep = sep, quote = quote, : line 4 appears to contain embedded nulls 5: In read.table(file = file, header = header, sep = sep, quote = quote, : line 5 appears to contain embedded nulls 6: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : embedded nul(s) found in input
Thank you,
Dani
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
