Skip to content
Prev 142726 / 398498 Next

Factor to numeric

On Thu, 24 Apr 2008, Jojje Andersson wrote:

            
Then we will need a reproducible example, as requested in the message 
footer.

BTW, your example is a perfect illustration of the problem.  Unless spaces 
are significant (and they are not in general in R nor in most computer 
languages)

1,00, 0,54, 0,00

looks just like

1, 00, 0, 54, 0, 00

and R's parser takes it as such.