Blog Archives

Setting up an R Admin Group

April 10, 2019
By

When I set up an R server for clients they often want to be able to install packages so that all users on the machine have access to them. This requires them to be able to install the packages onto the root filesystem rather that under their individual home directories. It would be easy enough to give them su access,...

Read more »

Integrating Qlik Sense and R

March 21, 2019
By
Integrating Qlik Sense and R

Components Qlik Sense is a tool for exploratory data analysis and visualisation. It’s powerful and versatile. It’s can, however, be significantly enhanced by interfacing with R. Qlik Sense does not currently integrate directly with R. However, it’s not too tricky to get the two systems talking to each other. We’ll need two things to make this happen: Rserve — A TCP/IP...

Read more »

Docker Images for R: r-base versus r-apt

January 20, 2019
By

I need to deploy a Plumber API in a Docker container. The API has some R package dependencies which need to be baked into the Docker image. There are a few options for the base image: r-base tidyverse or r-apt. The first option, r-base, would require building the dependencies from source, a somewhat time consuming operation. The last option, r-apt, makes it possible...

Read more »

Where does .Renviron live on Citrix?

January 7, 2019
By
Where does .Renviron live on Citrix?

At one of my clients I run RStudio under Citrix in order to have access to their data. For the most part this works fine. However, every time I visit them I spend the first few minutes of my day installing packages because my environment does not seem to be persisted from one session to the next. I finally had a...

Read more »

Survey Raking: An Illustration

December 25, 2018
By
Survey Raking: An Illustration

Analysing survey data can be tricky. There’s often a mismatch between the characteristics of the survey respondents and and those of the general population. If the discrepancies are not accounted for then the survey results can (and generally will!) be misleading. A common approach to this problem is to weight the individual survey responses so that the marginal proportions of...

Read more »

Scraping the Turkey Accordion

December 11, 2018
By
Scraping the Turkey Accordion

Read more »

Installing RStudio & Shiny Servers

November 12, 2018
By

I did a remote install of Ubuntu Server today. This was somewhat novel because it’s the first time that I have not had physical access to the machine I was installing on. The server install went very smoothly indeed. The next tasks were to install RStudio Server and Shiny Server. The installation process for each of these is well documented...

Read more »

Diagnosing RStudio Startup Issues

September 6, 2018
By

Yesterday I tried to start RStudio and something weird happened: the window launched but it was blank and unresponsive. I tried dpkg --remove and then re-installed. Same problem. I tried dpkg --remove followed by dpkg --purge and then re-installed. S...

Read more »

Updating R on Ubuntu

July 8, 2018
By

Today I finally got around to updating my R to 3.5 (or, more specifically, 3.5.1). The complete instructions for doing the update on Ubuntu are available here. I’ve paraphrased them below. Authentication Key To ensure the integrity of files, add the appropriate public key to your system. You may have already done this, in which case you can skip this step. sudo...

Read more »

eRum (2018) Top Twenty

May 17, 2018
By
eRum (2018) Top Twenty

My Top 20 highlights about eRum (2018) in Budapest. In no particular order: Returning to my favourite European city after so many years. Discovering the cheap and efficient bus 100E, which shuttles back and forth between the airport and city. I have previously only made this trip by car. Partial support from Toptal to attend the conference. Thank you, @AsiaLindsay. Partial support from...

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)