Berwin A Turlach wrote:
> On Sun, 15 Mar 2009 14:23:40 +0100
> Wacek Kusnierczyk wrote:
>
>
>> Edna Bell wrote:
>>
>>> How do I find the functions which are primitives, please?
>>>
>>>
>> you can scan the whole search path for functions that are primitives:
>>
>> primitives =
On Sun, 15 Mar 2009 14:23:40 +0100
Wacek Kusnierczyk wrote:
> Edna Bell wrote:
> > How do I find the functions which are primitives, please?
> >
>
> you can scan the whole search path for functions that are primitives:
>
> primitives = sapply(search(), function(path)
> with(as.envir
Thank you
On Sun, Mar 15, 2009 at 8:23 AM, Wacek Kusnierczyk
wrote:
> Edna Bell wrote:
>> How do I find the functions which are primitives, please?
>>
>
> you can scan the whole search path for functions that are primitives:
>
> primitives = sapply(search(), function(path)
> with(as.envi
Edna Bell wrote:
> How do I find the functions which are primitives, please?
>
you can scan the whole search path for functions that are primitives:
primitives = sapply(search(), function(path)
with(as.environment(path), Filter(is.primitive, lapply(ls(), get
primitives is a lis
G'day Edna,
On Sat, 14 Mar 2009 22:52:38 -0500
Edna Bell wrote:
> Dear R Gurus:
Well, I guess I can answer nevertheless. :)
> How do I find the functions which are primitives, please?
?is.primitive
Thus, the following code would give you all the primitive functions in
package base:
R> pos <
Dear R Gurus:
How do I find the functions which are primitives, please?
Thanks,
Edna Bell
__
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/posting-guide.html
and
6 matches
Mail list logo