Re: [Rd] Error when comparing two variables within a dataframe and print relevant observations

2015-05-15 Thread Keith Jewell
On 15/05/2015 05:35, bw1984 wrote: I'm trying to use a nested ifelse condition to compare two lines. Input: Code: Expected Output: Actual Output: Any idea what might be causing this problem? -- View this message in context: http://r.789695.n4.nabble.com/Error-when-comparing-two-var

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-18 Thread Keith Jewell
No reply in a number of hours, so here is a suggestion from ignorance :-} ?Startup refers to a number of other "site and user files to process for setting environment variables" but not to Rcmd_environ. The contents of $R_HOME/etc/Rcmd_environ seem to reflect (some of) the contents of (some) o

Re: [Rd] use() might take a list of packages

2011-11-11 Thread Keith Jewell
"Timothy Bates" wrote in message news:1b5e1d00-397b-429b-b20c-0fba06084...@gmail.com... I heard that a function called use() had been mooted as being more intuitively named than library() If so, it might be handy if this worked use(c("MASS","car”)) currently this fails… library(c("MASS","ca

Re: [Rd] Finding inter-function dependencies within a package

2011-10-04 Thread Keith Jewell
s( asNamespace( 'sensory')), where= > asNamespace( 'sensory'), prune='CreateMeanFizz') > callers.of('CreateMeanFizz', ff) --- where 'sensory' is the loaded package I want to search, and 'CreateMeanFizz' is the non-exported functi

Re: [Rd] Finding inter-function dependencies within a package

2011-09-30 Thread Keith Jewell
, function(x) tarFunc %in% findGlobals(get(x, tarPack), FALSE)$functions) flist[gotit] } # e.g. called.by("CreateMeanFizz", "package:sensory") ------ Thanks again for the input. Keith Jewell >> Hi, >> >> I'd like to kno

[Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Keith Jewell
yone point me in the right direction? Thanks in advance, Keith Jewell __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Lightweight 'package' idea.

2010-01-20 Thread Keith Jewell
or warranties of any kind, but perhaps people will find it useful. It now reasonably meets my needs so I'm not planning to do any more work on it. I'm sure real R experts will be able to improve it.. Regards, Keith J ==== "Keith Jewell" wrote in messag

Re: [Rd] Lightweight 'package' idea.

2010-01-13 Thread Keith Jewell
Going back a few months I also thought "it would be nice if R had built into it some way of running code in source packages possibly with degraded functionality to ease development" so building on Barry Rowlingsons start I came up with this: --- loadDir <- function(.Ro