
Kun Ren's Blog Posts
Dec 11, 2019 · 2023 webR performance 2023-03-12 Learning data.table: helper functions 2023-02-21 Learning data.table: Reference semantics and its pros and cons 2023-02-17 Learning data.table: the syntax and its design 2023-02-08 2022 Why I switched from RStudio to VS Code 2022-03-06 My recommendations of VS Code extensions for R 2022-03-06 2020 Using parse data to analyze R code 2020-11-08 Debugging R in ...
Writing R in VSCode: A Fresh Start - Kun Ren's Blog Posts
Dec 11, 2019 · 3 min read Writing R in VSCode: A Fresh Start 2019-12-11
About - Kun Ren's Blog Posts
I’m a hedge fund researcher, architect, and developer. I specialize in quantitative research and related development of framework and tooling using R and C/C++. I was a former Microsoft MVP (retired in July 2024). I love coding and enjoy participating in the open-source community on GitHub. Following are some major projects I spend time …
My recommendations of VS Code extensions for R - Kun Ren's …
Mar 6, 2022 · As I have been constantly using R in VS Code for more than two years, the following is a list of my recommendations for VS Code extensions to improve the experience of R development and data research. vscode-R The R extension for VS Code. It provides the R language support and interacting with R terminals. The project wiki is a good place to get started and know more about the features. R ...
Writing R in VSCode: Interacting with an R session - Kun Ren's …
Dec 26, 2019 · This article will be updated to reflect the latest vscode-R features. In the previous post, I introduced the features languageserver enables the code editor to provide when we are editing R scripts. But this is only part of the story. A major part of using R is about exploring data interactively, which requires some extent of interactivity …
R: Getting Started - Kun Ren's Blog Posts - renkun.me
Jan 24, 2014 · R rocks in both academia and industry nowadays. A rapidly increasing number of researchers choose R to be one of their productive tools for data analysis and data visualization. It is partially because the software is totally free and open-source but also because the community behind the stage who contributes to nearly 5000 packages remains growing, which results in an evolving and sustainable ...
Using parse data to analyze R code - Kun Ren's Blog Posts
Nov 8, 2020 · 13 min read Using parse data to analyze R code 2020-11-08
R: Essentials - Kun Ren's Blog Posts
Jan 26, 2014 · It is quite easy to get started with R. The very first step is to download R from the official website , and install it. I suggest that you install both 32-bit and 64-bit versions for greater compatibility if you are running a 64-bit operating system. For typical statistical programming, if your dataset is not huge, it does not matter which one you run; if you try to process a …
Learning data.table: helper functions - Kun Ren's Blog Posts
Feb 21, 2023 · One of my favorite parts of data.table is that it provides a collection of helper functions that are essential in many use cases. Sometimes I wonder why such basic functions are not provided by base R in the first place. Following are some of the helper functions I find most useful in my every day use.
Debugging R in VSCode - Kun Ren's Blog Posts - renkun.me
Sep 13, 2020 · R terminal supports interactive debugging via browser() command. When browser() is hit, the R terminal enters the debugging mode so that user could evaluate any R expression in the current environment, e.g. inspect the variables (ls.str()), or run commands such as print the calling stack (where), continue excution (c), go to next statement (n), step into function calls (s), etc. If you want to ...