Kun Ren

Results 365 comments of Kun Ren

OK. I can reproduce what you have observed. Looks like the rmd syntax defined for code chunks is too strict: https://github.com/REditorSupport/vscode-R/blob/6547330cb10a16f7bd3cdd578139cabf27f82ac0/syntax/Markdown%20Redcarpet.json#L44-L51

I tried boost shared memory between R sessions and C++ program before. I'm curious about how you allow R functions to work with vectors in shared memory without creating a...

@MarcusKlik Thanks for your detailed explanation. In my example, `dt` is created with `key="group"`, which makes `group` have a monotonic order. ```r dt

`DT[, .(x, y, z)]` indeed makes a copy of each vector. Imagine we need to write 300 columns of a 301-column `DT` of many many rows. A simple subsetting method...

In my recent work, selecting both columns and rows are needed. I have a big `data.table` of nearly 100M rows and 1000+ columns. The data is a 1-sec snapshot of...

The `return_type` idea looks nice. I believe this solves the problem of both sides.

The downside of `auto` is obvious: the subsequent data operations are very different depending on whether the object is `data.frame`, `data.table`, or `tibble`. If the author of code is not...

Sorry, `date` should be `id`. I just copy and simplify my real code. Each `id` corresponds to a file.

You may checkout [qs](https://github.com/traversc/qs).