Revolution R is production-grade analytics software built upon the powerful open source R statistics language.
Questions tagged [revolution-r]
84 questions
0
votes
1 answer
random selection on XDF
I have tried a lot of alternatives, including the one we can find on Revo website
xform <- function(data) {
data$.rxRowSelection <- as.logical(rbinom(nr, 1 , 0.5))
return(data)
}
rxDataStep(inData = "two_vars.xdf", outFile = "testSample",
…

Ouriel
- 81
- 8
0
votes
0 answers
Assigning rownames to DataFrames using DeployR in C#
I am using DeployR library to interface with R from C# .Net.
I am currently in the process of implementing DataFrames. I could create DataFrames with rows being numbered as 1,2,3.., but my requirement is to provide names to rows as it is supported…

Shiras
- 115
- 1
- 1
- 7
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
0
votes
1 answer
Revolution R: installation on debian jessie
I need to install Revolution R on a Debian Jessie (version 8, 64-bit).
On my system there is already installed R 3.1.1 and Rstudio.
The Revolution download page give me three installation package for Ubuntu: 12, 14, 15 (older LTS, current LTS,…

Alessandro Trinca Tornidor
- 914
- 1
- 19
- 31
0
votes
0 answers
SVD package installation failure after using Revolution R
I have recently installed Revolution R (3.2.1). Now, when I am trying to install the svd package from source but I see the following error message.
> install.packages('svd',type='source')
Installing package into…

Ghosh
- 151
- 7
0
votes
1 answer
Do you have to escape back slashes or do any special encoding with Rs Digest function within the Alteryx R tool
I'm using the Alteryx R tool to do some sha256 hash calculations, but I'm running into trouble with one of my inputs. I'm trying to produce the sha256 hash for the following…

Mutuelinvestor
- 3,384
- 10
- 44
- 75
0
votes
1 answer
Revo Scale R rxCube and other open source parallel package?
I have a 72 million observation data frame. It has two columns, my_id and my_rand variables.
The data frame has about 6 million unique my_id. I need to calculate average my_rank value by my_id (group by my_id).
I tried to run the above regular R…

Eric_IL
- 171
- 2
- 10
0
votes
1 answer
Creating a new column with constant value in .Xdf file using rxDataStep
Could any one tell me how to create a new column having constant value in .Xdf file without taking data into dataframe.
I have a date type global variable named mod_run_date having value as "2014-05-01" . I want to create a new column…

Amit Mishra
- 33
- 1
- 10
0
votes
1 answer
Suppressing comma inside double quotes while reading CSV file into .Xdf file Using rxImport function
I am trying to convert a large .CSV file into an .Xdf file by using the rxImport() function with the below code:
rxImport(inData = "/poc/revor/data/ext_roll36_chrg_vol.csv",
outFile = "/poc/revor/data/ext_roll36_chrg_vol.xdf",
…

Amit Mishra
- 33
- 1
- 10
0
votes
1 answer
Error in rxCall("RxMergeXdf", params)
I am trying to merge two .Xdf file, below is the code for the same:
rxMergeXdf(inFile1 = "/poc/revor/data/se_lif_1.xdf",
inFile2 = "/poc/revor/data/ext_merchant_account_filtered.xdf",
outFile = "/poc/revor/data/se_lif_2.xdf", matchVars =…

Amit Mishra
- 33
- 1
- 10
0
votes
0 answers
No data was written in output source : rxDataStepXdf function
I have executed below code for selecting rows & column from a .xdf file & creating a new .xdf file but its not working. Below is the code & message shown after execution:
S_date <- as.Date("2014-05-01")
rxDataStepXdf(inFile =…

Amit Mishra
- 33
- 1
- 10
0
votes
1 answer
Removing duplicate records from .Xdf file
I would like to remove the duplicate records from my large .xdf file trans.xdf.
Here is the file details:
File name: /poc/revor/data/trans.xdf
Number of observations: 1000000000
Number of variables: 5
Number of blocks: 40
Compression type:…

Amit Mishra
- 33
- 1
- 10
0
votes
1 answer
Revolution R: filter an xdf using another xdf
I'm trying to filter a very large xdf file (sitting on cloudera) using in to compare it to another xdf file (sitting on cloudera).
If I try:
rxDataStep(inData = largeXdf,
outFile = largeXdf,
overwrite = TRUE,
transformObjects =…

Laura
- 320
- 1
- 4
- 12
0
votes
1 answer
Referencing variable value as a column for the rowSelection argument in the rxDataStepXdf function
I have assigned a variable to take the column name of the dataset, say:
column_name <- "run_type"
Using the rxDataStepXdf function, i would like to filter my dataset to select only rows where run_type = "Prime"…

Ruser
- 245
- 3
- 11
0
votes
1 answer
rxCrossTabs crashes on a character variable
When I run this in Revolution R Enterprise, it totally crashes Rstudio on the last line:
require(RevoScaleR)
set.seed(1)
a = sample(c("happy", "sad", "other", NA), 100, replace = TRUE)
y = data.frame(a)
y$a = as.character(y$a)
rxCrossTabs(1 ~ a,…

zkurtz
- 3,230
- 7
- 28
- 64