R displays numbers in scientific notation [duplicate]

You can do:

format(functionResult, scientific=FALSE);

or:

as.integer(functionResult);

Leave a Comment