[R] sas.get problem

Tim Churches tchur at optushome.com.au
Wed Apr 11 22:17:27 CEST 2007


John Kane wrote:
> How do I make this change? I naively have tried by
> a) list sas.get and copy to editor
> b) reload R without loading Hmisc
> c) made recommended changes to sas.get
> d) stuck a "sas.get <- " in front of the function and
> ran it. 

Here is what I do, until Frank fixes the problem in the Hmisc package
itself:

a) list sas.get and copy to editor
b) make the change to line 127 as described
c) preface the function with "sas.get <- "
d) save that as "sas_get_fixed.R"
e) reload R and load Hmisc
f) source("sas_get_fixed.R")

The final step will mask the original, broken sas.get function with the
fixed version.

Tim C



More information about the R-help mailing list