rstudio-server

BigRquery will not connect and the error message is blank

北城以北 提交于 2019-12-23 04:59:12
问题 I'm trying to make use of the 'bigrquery' library in R to connect R to our big query databases. When I run this on a locally installed copy of R studio I don't have any problems, but when I'm running it on a server running R Studio Server I get a strange error message from the query_exec command. I will paste the code below: library(bigrquery) project = 'projectIdentifier' sql <- "SELECT * FROM [bradWorking.bradTempTable] WHERE f0_ >= '2015-10-22' AND f0_ <= '2015-11-01'" data <- query_exec

Install R Studio Server on Windows

﹥>﹥吖頭↗ 提交于 2019-12-20 12:15:42
问题 Is it possible to install RStudio Server on a Windows machine? I know that it is possible if I use AMI, but how could I install it without AMI? I've read at http://www.r-bloggers.com/rstudio-server-part-2-pros-of-using-rstudio-server-for-a-remote-connection/ that: "This is mainly a problem under Windows, where you need to install Cygwin to get the X server running (assuming using putty for the ssh connection). Although it works, I don’t really like installing a lot of additional software just

Error in plot.new()

北城余情 提交于 2019-12-20 06:00:51
问题 I'm using R Studio when doing some GIS plots. Unfortunately I keep getting this same error but only on certain maps. Error in plot.new() : figure margins too large I know its an issue with the plotting window size but I'm wondering if there is a way to edit the default settings without having to manually change the window size every time? 回答1: You can alter R to plot to a different device, which can let you pop out the plot in a separate window. A Windows solution: plot_data <- sample(1:100

Configure log directory for RStudio Server 1.0.44

浪尽此生 提交于 2019-12-13 14:52:00
问题 I'm running RStudio Server 1.0.44 on CentOS 7. According to the documentation, the server monitor logs are located at /var/lib/rstudio-server/monitor/log , but I'm unable to find them there. There is not monitor folder under /var/lib/rstudio-server folder, just body , conf and proxy subfolders, and there is not rstudio-server.log in the system. Maybe I missed something in the installation? I would like to try setting the log folder manually, but I haven't found any way to set this property.

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

霸气de小男生 提交于 2019-12-12 09:27:13
问题 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. 回答1: 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

Deploy Shiny app with Flexdashboard

可紊 提交于 2019-12-12 04:26:15
问题 I know how to deploy a shiny app using http://www.shinyproxy.io/. Basically I just need server.R and ui.R. Then using docker it's a pretty easy job. However, when using flexdashboard, I only have the .rmd file. How can I implement this deploy now? 回答1: This is actually supported out of the box by ShinyProxy. You just need to add yourfile.Rmd file in the docker image (i.e. add the relevant commands in your Dockerfile), and then use the docker-cmd: ["R", "-e rmarkdown::run('/path/to/yourFile

Having issues with RHADOOP?

一世执手 提交于 2019-12-12 03:58:13
问题 I have checked the question : Rhadoop - wordcount using rmr and have tried the answer on my side. But it is giving a lot of issues. Here is the code: Sys.setenv("HADOOP_CMD"="/usr/local/hadoop/bin/hadoop") Sys.setenv("HADOOP_STREAMING"="/usr/local/hadoop/share/hadoop/tools/lib/hadoop-streaming-2.4.0.jar") # load librarys library(rmr2) library(rhdfs) # initiate rhdfs package hdfs.init() map <- function(k,lines) { words.list <- strsplit(lines, '\\s') words <- unlist(words.list) return( keyval

Failed to install R on Centos 7

此生再无相见时 提交于 2019-12-11 23:34:17
问题 I have CentOS 7 (3.10.0-123.el7.x86_64) and I seem not be able to install R and then get Rstudio server working. This is what I did: rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install R Then I got this error: Transaction check error: file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64 file /usr/sbin/blkdeactivate from install of

Error when launching shiny app in EC2 instance

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 17:03:10
问题 I have a shiny application setup in my EC2 instance. The application is simple, and uses a CSV file that I have saved in an S3 bucket (that has public read access). For more info on my setup, I followed the instructions in this article - https://aws.amazon.com/blogs/big-data/running-r-on-aws/ - to a dot, and I am able to deploy their demo app. I have RStudio Server on my EC2 instance, and I have the code to run the app saved in the appropriate place in my EC2 instance (ec2-user/ShinyApps

Deploying R shiny to IBM Cloud server

妖精的绣舞 提交于 2019-12-11 12:48:01
问题 I have an R shiny application which runs on shinny server. I want to run my R shiny application on IBM Cloud server how can i do it? 1)I have R package. 2) I have installed r studio server. 3)I have set Inbound security rules to it. 4)created username and password for it. followed these steps: https://console.bluemix.net/docs/infrastructure/security-groups/sg_guidelines.html#security-groups-guidelines I want this application created to run on IBM Cloud server. 回答1: There is a blog article