0

I'm having some troubles with fields formats in a table. I have a field that is called "ticket number" which contains data in the following format: "0123456789012", but in my table it looks like "1.23457E+11".

Does anyone know how to fix it?

Thanks!

gobaldia
  • 420
  • 4
  • 13
  • 1
    Try `options(scipen=999)`, or `format(x, scientific=FALSE)` – Steven Beaupré Apr 30 '15 at 14:48
  • 1
    possible duplicate of [Force R not to use exponential notation (e.g. e+10)?](http://stackoverflow.com/questions/9397664/force-r-not-to-use-exponential-notation-e-g-e10) – nrussell Apr 30 '15 at 14:49
  • Would suggest posting an example, as it depends how the number was created. If you are reading from a file/table, you need to use the colClasses argument to read as character. If it is created in code, one possible answer is using as.character() – Chris Apr 30 '15 at 16:02

0 Answers0