R will normally assume 2,5 is a character string, for better interpretation 'as number' a decimal point is preferred. i.e. 2.5
I mean for your raw data, I assume you loaded your excel file into R, and relied on R's interpretation of the text seen in the excel