R

Capture message, warnings and errors from a R function

During development the web platform PhenoCopter to process images captured by UAV, I need to capture all logs (i.e. message, warning and error) of R scripts for data processing, and then store into the database which are rendered by web interface and allows user to view all logs in real time.

JS updates position of TOC for Rmarkdown file in blogdown

The TOC is rendered underneath when using blogdown 0.20 to write Rmarkdown file. However, the current version of hugo academic theme is rendered TOC at the right hand side and always keep on the screen which would be more useful.

Interactive correlation plot

Correlation figure is very useful to show correlation for all variables in a data frame. There are several ways to draw a correlation plot in R.