Something explainable to me is going on. I have a dataframe:
> head(df)
id lon lat temp month year hr prec ws
1 1 27.75 -22.25 295.35 9 2018 0.00007675205 401.1297 12.88135
2 2 28.25 -22.25 295.95 9 2018 0.00008084041 426.3411 12.89902
3 3 28.75 -22.25 296.25 9 2018 0.00008487972 449.7063 12.63242
4 4 29.25 -22.25 296.45 9 2018 0.00009112679 484.3495 12.59484
5 5 29.75 -22.25 296.65 9 2018 0.00009995372 533.0175 12.28485
6 6 30.25 -22.25 296.95 9 2018 0.00010895965 583.8255 11.80009
it looks like this:
> nrow(df)
[1] 607
> ncol(df)
[1] 9
when I do write.csv(df, /data/df.csv) it writes a humongous csv with tens of columns and thousands of rows. Has anyone experienced this kind of behavior? I rebooted my machine, restarted R, updated everything, and still persistently malicious, this keeps happening.
Output of dput(df):
https://drive.google.com/file/d/1AkGK9Svwi9mSAcB0G3Ecx7aDC6ccnYRg/view?usp=sharing