Questions tagged [r-server]
29 questions
5
votes
0 answers
Uploading file to R Studio Server with scripting (instead of clicking upload)
I work on a R Studio Server and I want to upload a file to the Server. I know how to do this by clicking on the upload button.
https://support.rstudio.com/hc/en-us/articles/200713893-Uploading-and-Downloading-Files
1.Switch to the Files…

MatzeKnop
- 163
- 1
- 8
4
votes
0 answers
Persisting session variables in Machine learning server
I am new to R server and I am starting to publish my functions as web services which is working fine. The problem is that they all work with a big data.table and I want to avoid having to send it (or read it from the DB) in each request. How can I…

Leonardo Lanchas
- 1,616
- 1
- 15
- 37
3
votes
1 answer
Show results of a growing database in real time on website with data security issues
I want to create a website where i can show descriptive tables and graphics. Nearly every day the database is growing. So i would like to have a real time calculation or at least a daily update. I thought about an r server with shiny or mardown.…

Swolf
- 329
- 2
- 7
3
votes
2 answers
Issue: Installing R on openSUSE Leap 15.0: "liblzma library and headers are required"
I have tried installing R v3.5.0 (from https://cloud.r-project.org). I downloaded the .tar.gz file, unzipped it and ran
./configure
It is giving me the error below:
configure: error: "liblzma library and headers are required"
I opened yast2 and…

while_true
- 33
- 1
- 6
1
vote
1 answer
Why does ggplot2 work in R version 3.6.1 but not in R version 3.6.3 on the server?
Currently I am working on the R Studio Pro server from my university.
I am trying to plot the following using the library ggplot2:
starttijdstipvanladenvergelijken %>%
ggplot(aes(x=StartConnectionHour, y = perc)) +
geom_line() +
…

daniël.vandijk
- 45
- 6
1
vote
1 answer
RStudio in Rserver, disable idle timeout on ShinyApp
When running my ShinyApp locally, the webpage interactivity never shutdowns (turns grey and takes no user input). When running this same app in browser r-server RStudio, app shutdowns in a minute or so.
Any dummy server would do, but for…

vahvero
- 525
- 11
- 24
1
vote
1 answer
RServe: control pipe to master process is closed/broken
I have this R script:
palindrome <- function(p) {
for(i in 1:floor(nchar(p)/2) ) {
r <- nchar(p) - i + 1
if ( substr(p, i, i) != substr(p, r, r) ) return(FALSE)
}
return(TRUE)
}
that I am calling from Java using the following…

AMAY
- 67
- 1
- 7
1
vote
0 answers
How to save everything from Console to a text file while executing an R script using "remoteScript" of Microsoft R?
I'm curious to know if there is a way to save everything from the R console to a text file when an R script is submitted and executed "remotely" from Microsoft R client to Microsoft R server using the command remoteScript() or remoteExecute().
For…

Arijit
- 11
- 2
1
vote
0 answers
How to operationalize module with several files in R web server (Machine learning server)?
I need to operationalize a whole R data structure (object oriented) and its methods. Below an example to understand:
library(data.table)
myClass = setClass("myClass", contains = "data.table")
source('./DB.r')
source('./operators.R')
My structure…

Leonardo Lanchas
- 1,616
- 1
- 15
- 37
1
vote
0 answers
Azure / R-server - head causes process to hang
I'm trying to use the head command for an hdfs data set in Azure using R-server via RStudio. This has worked in the past but in the last 2 days it seems like it's stopped working. When I execute it, it tells me the process has started running but…

screechOwl
- 27,310
- 61
- 158
- 267
0
votes
0 answers
Centos7 R xgboost package install error : can't install package ‘xgboost’ up to 1.1.1.1
I got an following error message while installing xgboost package on R :
C++ compiler cannot create executables
To solve this problem, updating gcc & cmake :
gcc : 4.8.5 → 8.5.0
g++ : 4.8.5 → 8.5.0
CMake : 2.8.12.2 → 3.18
After this update, I can…

user8624600
- 1
- 1
0
votes
0 answers
Preserving or parsing file structure from GCP Cloud Storage in a R Server Posit Workbench Standard for GCP Instance
I am working on a project that involves a large .las file (3d point cloud). I process this file in a variety of ways using the lidr package in R. Because of the size of the file and my hardware limitations, I decided to try to give cloud computing a…
0
votes
1 answer
R Server: Panes on the left side are mutually exclusive
I just started working at a new, blank R server in Chrome. However, from the beginning the two panes on the left side of the screen (the script in the upper, the console in the lower half) are mutually exclusive. What this means, is that they can…

HeavyBulb
- 123
- 9
0
votes
0 answers
How to connect R Server (Microsoft Machine Learning Server) to a SQL Server? Can connect locally but not remotely
I'm trying to load a very large dataset into R that is stored in SQL. I am able to use local R (Microsoft R Client 3.3.3.0) to connect to SQL via the following:
library(RODBC)
db <- odbcDriverConnect('driver={SQL…

coip
- 1,312
- 16
- 30
0
votes
0 answers
getSymbols on AWS EC2 very slow
i created an EC2 instance on AWS to run a R-Server. The instance type is "t2.micro". Than i used some code from Joshua Ulrich to get stock data from yahoo with the getSymbols() function.
In "nasdaq.symbols.head" are the first 100 ticker symbols from…

Charles1
- 57
- 8