Re: [R] speed issue: gsub on large data frame

2013-11-06 Thread SPi
I'll answer myself: using strsplit with fixed=true took like 2minutes! -- View this message in context: http://r.789695.n4.nabble.com/speed-issue-gsub-on-large-data-frame-tp4679747p4679905.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] speed issue: gsub on large data frame

2013-11-06 Thread SPi
Good idea! I'm trying your approach right now, but I am wondering if using str_split (package: 'stringr') or strsplit is the right way to go in terms of speed? I ran str_split over the text column of the data frame and it's processing for 2 hours now..? I did: splittedStrings<-str_split(datafr