Blog Archives

Post to Mastodon from R

February 15, 2019
By
Post to Mastodon from R

Mastodon is a decentralized microblogging platform. We can analyse some data and directly post our findings to a Mastodon instance. For example we can plot the different TLDs used by the Mastodon Fediverse. Before posting we have to create an authorization token once. Login We can then post the created image and its accompanying status.

Read more »

Generate multiple language version plots

February 13, 2019
By
Generate multiple language version plots

The use case is to create the same plot in different languages. I used this technique for Wikipedia plots. We are going to build a list containing all translations, we will then loop over each language, generating and saving the plot. Our plots as a nice gallery :

Read more »

Mapping multiple trends with confidence

February 6, 2019
By
Mapping multiple trends with confidence

A tutorial to compute trends by groups and plot/map the results We will use dplyr::nest to create a list-column and will apply a model (with purrr::map) to each row, then we will extract each slope and its p-value with map and broom::tidy. Setup Data Map data. Départements polygons from OSM. Population data by département 1990-2008

Read more »

Bibliography with knitr : cite your references and packages

February 2, 2019
By
Bibliography with knitr : cite your references and packages

A tutorial to use your Zotero references with rmarkdown, easily add the references, automatically generate your bibliography, including the packages used in your document. It’s a good practice to cite the R packages you use in your analysis. However it can be cumbersome to maintain the list of your package’s references in Zotero while the

Read more »

Developing a user-friendly regular expression function (easyGregexpr)

May 4, 2010
By

In the past few months, I've developed a set of functions for automating model estimation and interpretation using Mplus, an outstanding latent variable modeling program that has unparalleled flexibility for complex models (e.g., factor mixture models). I recently rolled these functions into an R package called MplusAutomation. Because the package focuses on extracting various parameters from text output files,...

Read more »

Using MKL-Linked R in Eclipse

April 12, 2010
By
Using MKL-Linked R in Eclipse

Setting up Eclipse to use MKL-Linked RIn my previous post, I showed how to compile R 2.10.1 using Intel's Math Kernel Library for the BLAS/LAPACK interface. Even though it takes a bit of time to setup, I think the noticeably improved calculation speed justifies the effort. Although I'm happy to use R from the command line for basic stuff,...

Read more »

Compiling 64-bit R 2.10.1 with MKL in Linux

April 10, 2010
By

The rationale for compiling R using the Intel Math Kernel LibraryRecently, there has been a surge in the use of Intel's Math Kernel Library (MKL; http://software.intel.com/en-us/intel-mkl/) among data analysis packages. MKL is a highly optimized set of...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)