Re:R adds native pipe and lambda syntax
by em500 on Saturday December 05, 2020 @02:53PM
(#25317715)
IMO they should just bite the bullet and learn proper SQL. I say this as a data scientist who learned SQL later than C, Matlab, R, Python/Pandas (though earlier than PySpark).
[ Parent
| on HN ]
Re:R adds native pipe and lambda syntax
by civilized on Saturday December 05, 2020 @02:57PM
(#25317746)
I agree. SQL is nothing to be afraid of, and there's no happier place to be analyzing huge tabular datasets than in a modern columnar database
Re:R adds native pipe and lambda syntax
by orhmeh09 on Saturday December 05, 2020 @04:12PM
(#25318410)
R’s data.table package is faster at these things out of the box than any single instance of a database server I’ve encountered. This is frustrating because I’m trying to explain some systemic issues we suffer by not using a relational database, but it’s really hard to make my case when data.table is one install.packages away and a version upgrade from Postgres 9 to something a little faster is gatekept by bureaucracy. I’ve been trying for months!
Re:R adds native pipe and lambda syntax
by civilized on Saturday December 05, 2020 @04:39PM
(#25318656)
You need a columnar database for good performance. Try DuckDB to ease them into it, it's a columnar SQLite.