rstudio-server

Can I pass arguments into docker-compose the command config option

天涯浪子 提交于 2019-12-11 12:21:58
问题 Anyone know how I can use the command: option in docker-compose to run my command with arguments? I know version 2 offers arguments, but that works with docker-engine 1.10.x I am on docker-engine 1.6.2 and cannot upgrade at the moment. I want to do something like this in docker-compose: ... rstudio: image: rocker-hadleyverse command: -d -p 8787:8787 -e USER=<username> -e PASSWORD=<password> rocker-hadleyverse links: - db ... 回答1: Please (re)read the docker-compose docs, in docker-compose.yml

Save a rmarkdown ioslides presentation as standalone website

a 夏天 提交于 2019-12-11 09:43:49
问题 I would like to save the presentation generated by knitr as a html file. Which I am able to share with people as standalone html file. If I use Run Document button in R studio (server) this generates a file with the .Rmd extension. --- title: "Standalone" author: "MarketRedesign" date: "10-7-2014" output: ioslides_presentation --- ## Slide with R Code and Output ```{r} summary(cars) ``` 回答1: When you press the knit HTML button, a HTML file IS always created by RStudio in the same directory as

Permalink to the most recent stable RStudio build?

£可爱£侵袭症+ 提交于 2019-12-11 08:02:35
问题 Following the recipe provide here, I am trying to construct a permalink pointing at the current stable build of RStudio for RedHat/Fedora. While the listed example listed for Ubuntu and the server version at the link above works (as does a link modified to point at the desktop version for Ubuntu), I just do not get this to work for the rpms. Here's what I arrive at and what gives me 404 : https://www.rstudio.com/ide/download/latest/stable/desktop/redhat64/rstudio-latest-x86_64.rpm Has anyone

RMarkdown html_output error

天大地大妈咪最大 提交于 2019-12-10 18:16:45
问题 I am trying to create a RMarkdown document with RStudio using shiny server . It works fine if the ouptut is pdf but if I want it as html I get this following error at the end of the process (in the RMarkdown console I can see it reached 100%). Error: unrecognized fields specified in html_dependency: attachment I have no idea why this error is happening. Can anyone help me with this? Thank you 回答1: This is caused by a recent update of the relevant rmarkdown package or related ones. Update

R-studio server returns error after simple if-else code execution

妖精的绣舞 提交于 2019-12-10 10:36:39
问题 I am currently facing this problem. Analyzing a big data-set (roughly 3 million observations), I need to convert a variable from a format to another. Specifically, I had the date of incorporation of several firms, but coming in two formats: YYYY or MM-DD-YYYY , or other possibilities of which the last 4 characters were always relative to the year. What I need is just the year so I developed this code: library(stringi) for (i in 1:length(amadeus$Dateofincorporation) { if(nchar(amadeus

Error in grobToDev.default(gTree, dev)

半城伤御伤魂 提交于 2019-12-10 10:16:41
问题 I am trying to build a app with shiny+gridSVG. This problem happened constantly and I have no idea about it. My server.R: library(grid) library(lattice) library(gridSVG) shinyServer(function(input, output) { data = reactive({ inFile = input$file1 if (is.null(inFile)) return(NULL) read.csv(inFile$datapath, header=input$header, sep=input$sep, quote=input$quote) }) featurelist = reactive({ return (colnames(data())) }) output$classUI = renderUI({ selectInput("classlabel","Classify by:",

rgdal won't install on AWS RStudio AMI

試著忘記壹切 提交于 2019-12-10 10:15:50
问题 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

Shiny & RStudio Server: “Error during WebSocket handshake: Unexpected response code: 404”

假如想象 提交于 2019-12-08 16:55:23
问题 I have an instance of RStudio Server (0.98.945) on Ubuntu 12.04.4 LTS. I upgraded to this newest version for the new feature that is supposed to allow you to run Shiny apps within the IDE. On the desktop version, this means RStudio opens a new RStudio window within the app, whereas before it would open a new window in your default web browser; in the previous version of the Server version, if you tried this, you would open a tab within your browser a failed connection. With RStudio Server (0

AWS EC2 Rstudio Server Error Occured During Transmission [closed]

非 Y 不嫁゛ 提交于 2019-12-08 09:47:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . After over a month, I have managed to piece together how to setup an AWS EC2 server. It has been very hard to upload files as there are very conservative (size) limits when done via the upload button in Rstudio Server. The error message when this is attempted is "Unexpected empty response from server". I am not

Sharing in memory data in RStudio Server

孤人 提交于 2019-12-08 03:51:34
问题 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