rstudio-server

multiple Rstudio sessions following the use of the parallel package

不羁的心 提交于 2019-12-08 03:36:45
问题 I've recently run into an issue when using Rstudio-Server that multiple sessions are spawned instead of a single session. In my case (see below) five sessions are created instead of one. This happens even after trying the normal solutions: deleting ~/.rstudio , clearing .GlobalEnv , and restarting R. Note, there is no spawning issue when using the R command prompt. My belief about the source of this problem is that it is due to a prematurely terminated mclapply . Here are the relevant docs

Rstudio server installation el capitan

倖福魔咒の 提交于 2019-12-08 02:19:58
问题 I used to run a rstudio server on my mac about a year ago. However, I didnt use it much so I deleted it. However, now I need to set it up again. In the meantime, I´ve changed to el capitan and the instructions on https://iangow.wordpress.com/2013/05/01/rstudio-server-on-mac-os-x/ is failing. Any idea what went wrong here? The output from the installation is as follows: admins-macbook-pro-2:rstudio admin$ mkdir build mkdir: build: File exists admins-macbook-pro-2:rstudio admin$ cd build admins

R Shiny dev on RStudio server Shiny crashes when app launch

自作多情 提交于 2019-12-07 15:15:23
问题 I'm new to Shiny, but not new to R. Because of work, I'm now doing R development in RStudio server. It is running on Google Compute Engine, if that makes a difference. RStudio server runs just fine, but Shiny is having problems. After installing shiny, I ran the example command: runExample("01_hello") At first, this brought up the Hello Shiny! app, but everything was grey. I restarted RStudio, cleaned the workspace, and ran the command again. Now a window pops up, but it immediately

Rstudio server installation el capitan

百般思念 提交于 2019-12-06 05:45:42
I used to run a rstudio server on my mac about a year ago. However, I didnt use it much so I deleted it. However, now I need to set it up again. In the meantime, I´ve changed to el capitan and the instructions on https://iangow.wordpress.com/2013/05/01/rstudio-server-on-mac-os-x/ is failing. Any idea what went wrong here? The output from the installation is as follows: admins-macbook-pro-2:rstudio admin$ mkdir build mkdir: build: File exists admins-macbook-pro-2:rstudio admin$ cd build admins-macbook-pro-2:build admin$ cmake -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release .. -- Mac OS X

Sharing in memory data in RStudio Server

自闭症网瘾萝莉.ら 提交于 2019-12-06 04:28:37
I am trying to determine if I am able to keep data in-memory with RStudio to be used by multiple sessions, or for the session to at least be preserved. Searching for information about the existence/nonexistence of this feature has proven to be challenging. The test is this: In a session with RStudio create a variable and assign a value to it. In another session run a script that refers to that variable. If the variable is assigned a value then the script will work, otherwise it fails with "Error: object variable not found. Is it possible to make a cross session variable in Rstudio Server that

rgdal won't install on AWS RStudio AMI

做~自己de王妃 提交于 2019-12-05 22:10:19
I have managed to successfully launch the most recent RStudio AWS EC2 instance (louisaslett.com, RStudio-1.1383_R-3.4.2…ubuntu-16.04-LTS-64). R operates mostly as expected in this instance, and I can install and open a number of packages. However I get an error if I try to install either of the rgdal of gdalUtils packages. Below is the console output when I attempt to install rgdal. The output for the gdalUtils install is too long to include here, but both include the text "error: upgrade GDAL to 1.11.4 or later" which I suspect is the problem, but have no idea how to correct. Any thoughts or

Is there a way to deploy R shiny apps as web page using windows server?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 20:02:10
Let me know if there is a way to deploy shiny dashboards as a webpage using windows server. I know it is possible using Linux but it need it for windows. If you put below code as last lines: app <- shinyApp(ui,server) runApp(app,host="0.0.0.0",port=5050) Then to run you Shiny App in any other machine just give the IP of the machine where the code is deployed and the port number which is 5050 in this case. So, for example if you code is deployed on a machine with IP: 123.12.123.12 then for any other machine just write 123.12.123.12:5050 on any web browser. The only caveat is the machine where

Is there an R command to trigger the download of a file from Rstudio Server?

心不动则不痛 提交于 2019-12-04 14:28:36
When working with Rstudio Server, it is very easy to download a file from the server with File>More>Export... The web browser will automatically start downloading. Is there a way to generate this download with an R command ? Does browseURL do it for you: browseURL package:utils R Documentation Load URL into a WWW Browser Description: Load a given URL into a WWW browser. Usage: browseURL(url, browser = getOption("browser"), encodeIfNeeded = FALSE) That should fire it up in a browser. To download directly in R, download.file is what you want, but that hangs the command line until complete. 来源:

Rstudio-server environment variables not loading?

一笑奈何 提交于 2019-12-03 17:07:08
问题 I'm trying to run rhadoop on Cloudera's hadoop distro (I can't remember if its CDH3 or 4), and am running into an issue: Rstudio server doesn't seem to recognize my global variables. In my /etc/profile.d/r.sh file, I have: export HADOOP_HOME=/usr/lib/hadoop export HADOOP_CONF=/usr/hadoop/conf export HADOOP_CMD=/usr/bin/hadoop export HADOOP_STREAMING=/usr/lib/hadoop-mapreduce/ When I run R from the terminal, I get: > Sys.getenv("HADOOP_CMD") [1] "usr/bin/hadoop" But when I run Rstudio server:

Setting up a Kuberentes cluster with HTTP Load balancing ingress for RStudio and Shiny results in error pages

喜你入骨 提交于 2019-12-03 16:14:17
I'm attempting to create a cluster on Google Kubernetes Engine that runs nginx, RStudio server and two Shiny apps, following and adapting this guide . I have 4 workloads that are all green in the UI, deployed via: kubectl run nginx --image=nginx --port=80 kubectl run rstudio --image gcr.io/gcer-public/persistent-rstudio:latest --port 8787 kubectl run shiny1 --image gcr.io/gcer-public/shiny-googleauthrdemo:latest --port 3838 kubectl run shiny5 --image=flaviobarros/shiny-wordcloud --port=80 They were then all exposed as node ports via: kubectl expose deployment nginx --target-port=80 --type