search for: removecomma

Displaying 1 result from an estimated 1 matches for "removecomma".

2011 Jun 13
4
remove commas in a number when reading a text file
Hello, I'm running version R x64 v2.12.2 on a 64bit windows 7 PC. I'm trying to read a text file using read.table where the values have a format like "1,234,567". What I want is "1234567". Is there a quick way to strip out the commas? I can use strsplit and paste, but the file is quite large and would take some time. Thanks. Eric [[alternative HTML version