Skip to main content

Timeline for problem loading data into R

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jun 28, 2016 at 6:12 comment added Thomas Kiehne Those are escaped quotes; if you remove the quote parameter from read.table above it would eliminate those - except for the fact that the data contain mismatched quotes somewhere in the document and will fail without it. Again, there is probably a solve with respect to encoding.
Jun 27, 2016 at 15:18 comment added Hamideh You are right. Now C# is read correctly but there are extra \" at the beginning and the end of my strings.
Jun 26, 2016 at 13:18 review Suggested edits
Jun 26, 2016 at 22:04
Jun 26, 2016 at 1:31 comment added Thomas Kiehne It doesn't necessarily solve the character encoding issues, but I realized that "#" is the default comment character; comment processing should be ignored: dev <- read.table("iran_it_status_1394_detail_data_jadi_net.tsv", header=TRUE, sep="\t", na.strings="", encoding="UTF-8", stringsAsFactors=FALSE, skipNul = TRUE, fill=T, quote="", comment.char="")
Jun 25, 2016 at 15:56 comment added Hamideh The data is loaded by your script but there is a problem with one of my text variables: language . see my edit.
Jun 25, 2016 at 10:35 vote accept Hamideh
Jun 24, 2016 at 16:52 comment added Thomas Kiehne Yes, when using the read.table() call above I get 1217 observations of 33 variables
Jun 24, 2016 at 13:13 comment added Hamideh Please see my edit.
Jun 24, 2016 at 5:45 review First posts
Jun 24, 2016 at 7:06
Jun 24, 2016 at 5:36 history answered Thomas Kiehne CC BY-SA 3.0