rro

Error: could not find function “rxGetOption” in Revolution R Open

女生的网名这么多〃 提交于 2019-12-10 22:27:07
问题 I downloaded and installed Revolution R Open. Current Version of R is 3.1.1 (2014-07-10) -- "Sock it to Me" and version of Revolution R Open is 8.0 beta. I have started basic tutorial from converting data to .xdf format(internal to Revolution). myTrainCsv <- file.path(rxGetOption("data"), "train.csv") However I receive a following error: Error in file.path(rxGetOption("data"), : could not find function "rxGetOption" It seems to me a newbie error. Anyway I can not find an answer just googling

Improving performance of split() function in R?

萝らか妹 提交于 2019-12-04 04:05:41
问题 I have a data frame in a very simple form: X Y --- A 1 A 2 B 3 C 1 C 3 My end result should be a list like this: $`A` [1] 1 2 $`B` [1] 3 $`C` [1] 1 3 For this operation I am using the split() function in R: k <- split(Y, X) This is working just fine. However, if I want to apply this code on a data frame containing 22 million rows including 10 million groups for X and 387000 values for Y it becomes really time consuming. I tried using the RRO 8.0 open version for MKL support. However, still

Improving performance of split() function in R?

血红的双手。 提交于 2019-12-01 21:39:43
I have a data frame in a very simple form: X Y --- A 1 A 2 B 3 C 1 C 3 My end result should be a list like this: $`A` [1] 1 2 $`B` [1] 3 $`C` [1] 1 3 For this operation I am using the split() function in R: k <- split(Y, X) This is working just fine. However, if I want to apply this code on a data frame containing 22 million rows including 10 million groups for X and 387000 values for Y it becomes really time consuming. I tried using the RRO 8.0 open version for MKL support. However, still only one Kernel is used. The CPU has 64 GB of RAM so that shouldn't be an issue. Any ideas for a smarter