search for: a_rang

Displaying 2 results from an estimated 2 matches for "a_rang".

Did you mean: a_range
2015 Jun 23
3
Plans to improve reference classes?
Could of requests: 1) Is there any example or writeup on the difficulties of extending reference classes across packages? Just so I can fully understand the issues. 2) In what sorts of situations does the performance of reference classes cause problems? Sure, it's an order of magnitude slower than constructing a simple environment, but those timings are in microseconds, so one would need a
2015 Jun 23
0
Plans to improve reference classes?
...there any example or writeup on the difficulties of extending > reference classes across packages? Just so I can fully understand the > issues. Here's a simple example: library(scales) library(methods) MyRange <- setRefClass("MyRange", contains = "DiscreteRange") a_range <- MyRange() a_range$train(1:10) # Error in a_range$train(1:10) : could not find function "train_discrete" where train_discrete() is an non-exported function of the scales package called by the train() method of DiscreteRange. There are also some notes about portable vs. non-portabl...