All Posts

RNews - 2018-01-31

Some interesting Data Science stuff found between 2018-01-16 and 2018-01-31. - (by Rafael Irizarry) package dslab containing datasets for teaching data science. install.packages(“dslabs”) #CopyAndInstall #applyrds #rstats #datascience - a general purpose #NLP library from @fb_research. For now, it works only from a command line. However, it’s easy to build and use from command line. #FacebookResearch #applyrds - Facebook open sources Detectron, a platform for object detection running on the top of Caffe2.

RNews - 2018-01-16

Some interesting Data Science stuff found between 2018-01-16 and 2018-01-16. - a new version of the database backend for dplyr. It allows using stringr functions in the mutate statements, and the operations are evaluated directly on the database. #applyrds #db #rstats - new package for anomaly detection in R. #rstats #pkg #applyrds - an alternative for xtable? I hope so:) Conditional formatting (e.g., make background red if the value is larger than 3) seems to be very easily achievable.

Call R from C#

R has various packages to call other languages, like Rccp, rJava or sparklyr. Those tools significantly expand R’s capabilities, because the user doesn’t need to learn a lot of different stuff. Everything is nicely integrated into R. However, sometimes the problem is different - there’s an existing system written in some language, and R can be used to expand its possibilities. So in that scenario R must be called. In that post, I’ll describe how R can be integrated with C# program using Microsoft.

Dynamic modules in shiny - Part I

The best way to organize shiny app is to use modules. They are also an excellent choice when you need to replicate some functionality few times. For example, when you want to compare some plots with different parameters, the modules are your way to go. In basic usage, modules require a direct call of callModule in a server and a place in UI. However, sometimes you don’t know how many instances of a given module are needed.

RNews - 2017-12-19

This is the last (planned) RNews in 2017. In this week there’s something about reproducible research (anyone should do this!), and deep learning - one tutorial, and one general article about image classification in radiology. Books - this book is a guide to writing reproducible code using R. There’s an in Ecology and Evolution in the title, but the scope of this writing should not be limited to only that areas:) Articles: https://tensorflow.

RNews - 2017-12-12

This list is quite small because I hit the history limit on Twitter:( Nevertheless, there are some exciting things - e.g. videos from H2O World 2017. Videos - list of all videos from H2O World 2017. There are at least a few videos which seem to be worth watching. Unfortunately, I didn’t have time to do so:(. Articles: - this article claims that installing keras (for deep learning) is as simple as calling keras::install_keras().

RNews - 2017-12-05

Another pack of news from R’s world. Aggregators: - this is a great aggregator - even better than mine;) Articles: - a quick summary of the packages which can be used to explain the results of various models (lm, glm, xgboost, etc.). Unfortunately, there’s nothing about LIME, which is more general purpose package for explaining models ( - an online book about explaining models predictions.

RNews - 2017-11-27

Next portion of exciting information from R’s world (in fact, not only R’s but it’s the main thing here). Aggregators: - a huge collection of the resources related to the Data Science (R, Python, Big Data, and so on). Articles: - long post about visualization of the residuals. The “Multiple Regression” section is worth to check - the analysis is quite impressive. - the old saga about why p-values are evil continues.

Drag and Drop in Shiny

Shiny application is a great way to deliver the result of statistical analysis, especially when it must be reproducible. I don’t know why, but people prefer to use graphic interface, rather than run scripts;) One of my clients recently requested to have an ability to move around elements in the dashboard. There are some R packages to attain such effect, and possibly it would be a bit easier to use them, but I had an unfinished project called dragulaR.

RNews - 2017-11-19

Here is a small pack of some engaging news from R’s world gathered from Twitter in the last week. R Tips - title speaks for itself - it shows how to convert GoogleDocs to Rmarkdown format. - in short - options(Ncpus = 6) - allows to use multicores in install.packages, which can significantly speed up the packages’ installation process. Packages - allows a user to call code in a special environment with some global variables alerted.