On Oct 8, 11:32 am, Prof Brian Ripley wrote:
> (1) Package development is an R-devel topic -- please see the posting
> guide.
I'll repost there, thanks.
-Ken
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE d
I'm developing an R package, and when I recompile (using Roxygen),
detach, and re-load the package, I can't seem to look at some of its
documented functions. When I try '?function.name', I get the
following error:
Error in tools:::fetchRdDB(RdDB, basename(file)) :
cannot allocate memory blo
ot;u0048513/p4/r-packages/IREval/Read-and-delete-me"
[4] "u0048513/p4/r-packages/IREval/tests/general.R"
> (unlink(Sys.glob("~/p4/r-packages/IREval/Users"), recursive=TRUE))
[1] 0
> dir("~/p4/r-packages/IREval/Users", recu
sage{adddots.pr(pr)}
\name{adddots.pr}
\alias{adddots.pr}
\title{adddots.pr}
\usage{adddots.pr(pr)}
\name{adddots.pr}
\alias{adddots.pr}
\title{adddots.pr}
\usage{adddots.pr(pr)}
...
I also get the same behavior for the DESCRIPTION file.
Is this a known gotcha that someone's found a work
o%" <- function(x,y) x[!x %in% y] #-- x without y
> since:
> "%in%" <- function(x, table) match(x, table, nomatch = 0) > 0
> It appears that you have just re-invented the without-wheel.
--
Ken Williams
Sr. Research Scientist
Thomson Reuters
Phone: 651-848-771
Ha! Thanks. I should have a closer look at Hmisc in general.
-Ken
On 8/5/10 10:25 AM, "David Huffer" wrote:
> See Harrell's Hmisc package
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of
ction (x, table) match(x, table, nomatch = 0L) == 0L
and then I'm happy again.
I wonder, would something like this find a home in core R? Or is that too
much syntactic sugar for your taste?
--
Ken Williams
Sr. Research Scientist
Thomson Reuters
Phone:
Hi Marc,
I want to debate a couple points from your post:
> 1. Distribution of GPL covered applications is not permissible via the App
> Store due to the Apple Terms of Service language, which infringes upon
rights
> granted under the GPL.
>
> 'Nuff said.
I'm not sure I agree with this, but the
late.unknowns <- function(pr, probs, expr, trials=1000,
labels=colnames(probs)) {
isNA <- is.na(pr$label)
replicate(trials, {
pr$label[isNA] <- runif(sum(isNA)) < probs[isNA]
expr(pr)
})
}
Thanks.
--
Ken Williams
Research Scientist
The
ly automatically, but some kind of support from tools would be
great.
Thanks for mentioning plot2script() and the TeachingDemos package, those are
indeed nice examples to look at.
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
___
clearance to show
my work soon. It would be nice if this could be hooked into ESS for
selective pruning or something.
-Ken
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
__
R-help@r-project.org mailing list
https://stat.ethz
around without using tools, I tend to do
better when I have tools.
> You also have to trust that there are no side effects, which I wouldn't
> want to do, because plot() changes the value of par() parameters.
It does? I wasn't aware of that, could
On 7/31/08 2:12 PM, "Duncan Murdoch" <[EMAIL PROTECTED]> wrote:
>
> expression() returns a list of language objects, and we only asked for
> one. We can look inside it:
Hey, cool. Now let me see if I can do anything useful with that. Thanks.
-Ken
--
Ken Willia
ated.
But coincidentally I work in a Natural Language Processing group, and one of
the things we do is create exactly the kind of concise summaries you
describe. =)
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
__
nable to such things, with its pass-by-value
functional semantics, etc.
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
ot" or the like.
Thanks.
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/pos
nyone offer any advice? I'm open to using a different OO system if
that's deemed advisable, I'm not very familiar with any of them.
Note that in my real (non-toy) application, I'll need arbitrary methods to
be able to read & write data to the object, so simple getField(
17 matches
Mail list logo