Tag: rstudio

Nginx 502: Bad Gateway with rstudio server

Hi I’m trying to set up RStudio server with a reverse proxy. Here is my Nginx config user nginx; worker_processes 1; # Defines a file that will store the process ID of the main process. pid /var/run/nginx.pid; events { # Sets the maximum number of simultaneous connections that can be opened by a worker process. […]

Docker – Rstudio – R old version running together

I’m working with docker since approximately a week and I don’t understand some of the linking containers stuff. I’ve downloaded from rocker, the latest images of Rstudio. It work nicely, everything is ok. I have one own made container with an old R version (let’s say humm 3.1.0-1 for example). What I want to do […]

Docker, EC2 and Rstudio

I run Rstudio server mostly from an EC2 instance. However, I´d also like to run it from a cluster at work. They tell me that I can setup docker with rstudio and make it run. Now, I´d also like the Rstudios both on EC2 and work to have the same packages and the same versions […]

Building a Docker Image with rstan on rocker/verse

I am planning to run a customized Rstudio with both tidyverse, rmarkdown and rstan pre-installed on Digital Ocean’s Docker 17.03.0-ce on 16.04. On Docker Hub, there is already a pre-built image: Rocker/verse that has tidyverse and rmarkdown functionality. So my plan was to simply get the latest version of Rocker/verse and add a new layer […]

Install package png on Rstudio on Docker,but failed

I install rstudio server on Docker. When I want to install package png, I got a wrong message that `* installing *source* package ‘png’ … ** package ‘png’ successfully unpacked and MD5 sums checked ** libs gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include `libpng-config –cflags` -fpic -g -O2 -fstack-protector-strong -Wformat – Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c read.c […]

How to set proxy on rstudio from dockerhub behind a proxy?

I downloaded rocker/tidyverse from dockerhub. I tried installing a package and was greeted with: URL ‘https://cran.rstudio.com/src/contrib/PACKAGES.rds’: status was ‘Couldn’t connect to server’ After logging into rstudio, I tried executing all the commands shown here: https://support.rstudio.com/hc/en-us/articles/226914208-Installing-packages-on-RStudio-Connect-from-behind-a-proxy Though I still get the same error. How can I set my proxy to be able to install packages? Update: […]

Can RStudio (IDE NOT server) be configured to use remote R setup?

I am transitioning my debian setup into one where all debian-repository external apps run in dedicated docker containers. In this context rstudio, of which I am a heavy user, has me puzzled … does anybody have insight into whether it’s possible to run it as a client to remote R installation?

Services in CentOS 7 Docker image without systemd

I’m trying to create a Docker container based on CentOS 7 that will host R, shiny-server, and rstudio-server, but to I need to have systemd in order for the services to start. I can use the systemd enabled centos image as a basis, but then I need to run the container in privileged mode and […]

Running RStudio Shiny as a Docker container on AWS?

Has anybody looked into the possibility of running an instance of a RStudio Shiny server as a Docker container on the Amazon AWS cloud? I have seen a document specifying how to instantiate RStudio on a different cloud provider here: http://www.r-bloggers.com/running-rstudio-via-docker-in-the-cloud http://www.magesblog.com/2014/09/running-rstudio-via-docker-in-cloud.html What I would like to know, more specifically, is if there are any […]

Installing packages for Rstudio Docker

I’m trying to use Rstudio on a DigitalOcean server using the Rstudio docker. Since my experience with linux servers is limited, it’s been a bit of a challenge for me. I’m able to get Rstudio up and running with: docker run -dp 8787:8787 -v /root:/home/rstudio/ -e ROOT=TRUE rocker/hadleyverse However, I’d like to be able to […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.