Questions tagged [deployr]

29 questions
0
votes
0 answers

DeployR return svg from memory instead of storing it in a db

I'm using DeployR server 8.0.5 as R API. I have R script deployed on that server which is using library : ggplot2. From what i know ggplot will store the plot on server only if i call save(p, file = "plot.rdata") or ggsave("plot.png", width = 5,…
Harry Birimirski
  • 858
  • 1
  • 8
  • 21
0
votes
1 answer

No access to Linux shell in an mrsdeploy remote session

I've logged into a Microsoft R Server using mrsdeploy::remoteLogin() Next I start a remote session with mrsdeploy::remoteCommandLine() If I try to use system("pwd") I get no response. I'm guessing access to the shell is blocked - does anyone know…
EdG
  • 1
  • 1
0
votes
1 answer

Reload Custom R Package from Source

I have created a custom package and would like to deploy it to a remote machine. Here is my current long workflow: Create custom package 'my_package_0.1.0.tar.gz' scp package to remote machine create Remote…
Brig
  • 10,211
  • 12
  • 47
  • 71
0
votes
1 answer

Script test seems to not have correct working directory

I am trying to see if I can get code examples to run in my user account, rather than the testuser account. To that end, I did the following: I have created a folder example-fraud-score under my DeployR user account (not the testuser as laid out in…
mpettis
  • 3,222
  • 4
  • 28
  • 35
0
votes
1 answer

What is the 'source()' equivalent in DeployR?

I am trying to link 3 scripts on a DeployR server, however, everytime I use source('PATH') I get an error can not open the connection. I tried the function load() and same result. Thanks a lot in advance.
0
votes
1 answer

Where are errors logged when a DeployR script is called remotely?

I am trying to debug my deployR script which gives a generic error "HTTP 400 Error" / "Bad Request" at the Web application end when it fails. Is there a way to get DeployR to pass a more informative error to the web application. i.e. Typically…
curious_cat
  • 805
  • 2
  • 9
  • 24
0
votes
1 answer

R: DeployR access functions from another file

I am executing a R script within DeployR but currently all my function definitions etc. lie inside this same file which then becomes huge. Is there a way to split the definitions into another file? Right now if I paste them into another file and…
curious_cat
  • 805
  • 2
  • 9
  • 24
0
votes
1 answer

How do I pass raw JSON strings to the DeployR WebAPI?

Scenario: I have a set of inputs that I need to pass through to the deployr server. Certain parameters are simple strings but others are JSON strings that get converted by the R script by calling fromJSON. Problem When I pass the simple string…
RabidDog5150
  • 101
  • 6
0
votes
0 answers

How to call R from .NET to save the result for using it programmatically at later point of time

I am a .NET developer and new to R. we have an existing R script that generates annova decision tree in pdf format based on some input from excel. For a given criteria, people are manually parsing the tree and getting the node value and using it for…
gkarch
  • 301
  • 1
  • 4
  • 10
0
votes
0 answers

DeployR Open - Restrict file system access

According to the DeployR documentation each session is locked down: "By default, R sessions executing on the DeployR grid are not authorized to access files or directories outside of the R working directory" However, I have been able to upload a…
masdude
  • 43
  • 1
  • 6
0
votes
1 answer

DeployR javascript API

I am trying to integrate r to create a very simple web application using DeployR open 8.0.0 on a Ubuntu machine. I am using the following code on the client side:
0
votes
1 answer

How to Get Output from R Scripts

I have a .R Script and I am using deployR. My application is in Java and I have a client code interacting with the R code. The R code works fine and running it through deployR it generates a csv file too. This file is the output data that I need in…
Rana
  • 31
  • 5
0
votes
1 answer

Passing user name as variable and returning the results of r script using deployR

Consider a r script implementing a simple function which returns histogram plot from dataframe in r consisting of three columns say username, monthname and monthly salary. Now how to integrate to deployR where a simple http call can pass the…
Hari Prasad
  • 1,751
  • 2
  • 15
  • 20
-1
votes
1 answer

DeployR: How to install R packages

I'm using DeployR for Microsoft R Server 2016, 8.0.5 for Windows. I would like to install package XLConnect for work with Excel files: > install.packages("XLConnect") package 'XLConnect' successfully unpacked and MD5 sums checked The downloaded…
Anette
  • 90
  • 1
  • 5
1
2