search for: librdata

Displaying 6 results from an estimated 6 matches for "librdata".

Did you mean: libdata
2018 Mar 14
2
truncation/rounding bug with write.csv
...all > intends and purposes a less-than-ideal format. If you have that much data, > you do generally not want to serialize it back and forth as that is slow, > and > may drop precision. The rds format is great for R alone; we now have C > code > to read it from other apps (in the librdata repo by Evan Miller). > Different > portable serializations work too (protocol buffer, msgpack, ...), there are > databases and on and on... ] > > Dirk > > > R> df <- data.frame(replicate(100, runif(1000000, 0,1))) > R> setwd("/tmp") > R> write.cs...
2018 Mar 14
2
truncation/rounding bug with write.csv
Hello, I have looked on https://www.r-project.org/bugs.html , but it seems that this is the only way to do it. The issue is that the precision used by write.csv is on consistant for big files. See the following code: First I create a large dataframe filled with random uniform values. Then I write it to .csv and print out the first and last lines. df = data.frame(replicate(100, runif(1000000,
2018 Mar 14
2
truncation/rounding bug with write.csv
...t;> intends and purposes a less-than-ideal format. If you have that much data, >> you do generally not want to serialize it back and forth as that is slow, and >> may drop precision. The rds format is great for R alone; we now have C code >> to read it from other apps (in the librdata repo by Evan Miller). Different >> portable serializations work too (protocol buffer, msgpack, ...), there are >> databases and on and on... ] >> >> Dirk >> >> >> R> df <- data.frame(replicate(100, runif(1000000, 0,1))) >> R> setwd("/tm...
2018 Mar 14
0
truncation/rounding bug with write.csv
...inority) view that csv is for all intends and purposes a less-than-ideal format. If you have that much data, you do generally not want to serialize it back and forth as that is slow, and may drop precision. The rds format is great for R alone; we now have C code to read it from other apps (in the librdata repo by Evan Miller). Different portable serializations work too (protocol buffer, msgpack, ...), there are databases and on and on... ] Dirk R> df <- data.frame(replicate(100, runif(1000000, 0,1))) R> setwd("/tmp") R> write.csv(df, "temp.csv") R> system('...
2018 Mar 14
0
truncation/rounding bug with write.csv
...sv is for all > intends and purposes a less-than-ideal format. If you have that much data, > you do generally not want to serialize it back and forth as that is slow, and > may drop precision. The rds format is great for R alone; we now have C code > to read it from other apps (in the librdata repo by Evan Miller). Different > portable serializations work too (protocol buffer, msgpack, ...), there are > databases and on and on... ] > > Dirk > > > R> df <- data.frame(replicate(100, runif(1000000, 0,1))) > R> setwd("/tmp") > R> write.csv...
2018 Mar 14
0
truncation/rounding bug with write.csv
...less-than-ideal format. If you have that much > data, > >> you do generally not want to serialize it back and forth as that is > slow, and > >> may drop precision. The rds format is great for R alone; we now have C > code > >> to read it from other apps (in the librdata repo by Evan Miller). > Different > >> portable serializations work too (protocol buffer, msgpack, ...), there > are > >> databases and on and on... ] > >> > >> Dirk > >> > >> > >> R> df <- data.frame(replicate(100, runif(10...