Async Task with Progress Reporting and Cancellation
While building a WinForms application, I needed to run a calculation that could take a long time. I wanted the main form to stay responsive while a separate dialog showed progress and gave …
Imported notes from the previous homepage.
While building a WinForms application, I needed to run a calculation that could take a long time. I wanted the main form to stay responsive while a separate dialog showed progress and gave …
By default, the Knit button renders R Markdown output into the same folder as the source .Rmd file. The R Markdown Cookbook shows how to change that behavior by defining a custom knit …
I have used fread() and fwrite() from the data.table package for years. Recently, I noticed that a change introduced in version 1.11.0 broke some old code. The change was: Numeric data that …
The Problem Importing SAS data into R is straightforward: the haven package provides read_sas(), which reads *.sas7bdat files into an R data frame. Going the other direction is harder. In my …
Unlike SAS, which can host an R session after the right setup, R cannot host a SAS session directly. R can, however, call operating-system commands with system(). SAS can also run a .sas …
SAS can run R code inside a SAS program, but only after R support is enabled. The setup has two parts: turn on R integration in SAS, and tell SAS where R is installed. Set Up R Support in …