Conversion csv into time series ts R Studio

My gut says this is an "accidentally a factor" problem. You should run the line of code that reads the table, and then inspect the output. Use functions like summary(dane) and str(dane). Does the structure match what you expect?

But a reproducible example (reprex) would really help us debug with you. This thread can help you make one: FAQ: What's a reproducible example (reprex) and how do I do one? This is also the type of problem in which, by writing a reprex, you might stumble onto the cause yourself.

Also, I'd like to clear up a common confusion: R and R Studio are separate things. R often refers to both the programming language and the interpreter that runs the code. R Studio is a development tool for editing files and managing code projects.