Displaying 20 results from an estimated 100 matches similar to: "How to access R primitives in C code?"
2006 Apr 08
4
anyone running with Horde mail?
Hey again folks ;-)
Seems my auth is working afterall when I telnet to the IMAP port.
But darned if I can get it working with Horde web mail. Is anyone out
there doing this just first of all to confirm to me that the
combination works OK.
I don't care so much about shadow auth since apparantly my pam auth is
working just fine.
thanks,
-Alan
--
"True Budo is done for the sake of
2006 Apr 08
2
auth problem with dovecot-1.0.beta5
Hey folks,
Let me start by saying I really love what I see so far! Dovecot seems
to be extremely feature-rich, and unlike a lot of free software the
documentation is extremely good! I gave up on courier IMAP because of
the poor documentation, and I have to say Dovecot sure differentiates
itself in that area!
Unfortunately I still can't get it going :-/
First thing I noticed is that
2003 Aug 26
2
Seeking Packaging advice
I have two questions about packaging up code.
1) Weave/tangle advisable?
In the course of extending some C code already in S, I had to work out
the underlying math. It seems to me useful to keep this information
with the code, using Knuth's tangle/weave type tools. I know there is
some support for this in R code, but my question is about the wisdow of
doing this with C (or Fortran, or other
2006 Oct 31
0
6366222 zdb(1M) needs to use largefile primitives when reading label
Author: eschrock
Repository: /hg/zfs-crypto/gate
Revision: e5f70a6fc5010aa205f244a25a9cdb950e0dae89
Log message:
6366222 zdb(1M) needs to use largefile primitives when reading label
6366267 zfs broke non-BUILD64 compilation of libsec
Files:
update: usr/src/cmd/zdb/zdb.c
update: usr/src/lib/libsec/Makefile
2003 Nov 03
1
Intel Performance Primitives
Hey all,
For those of you who are really worried about asterisk performance, I
thought I might alert you to a "toy" you might play around with. The Intel
Performance Primitives contain a number of optimized functions for use in
digital signal processing that could help with echo cancellation, codec
transformations, etc. I don't have any idea how useful this would be in
Real
2005 Jun 19
0
Problem with astperl primitives say... in astcc
I just upgraded to the latest (as of a week ago) CVS and since them, I've
had a problem with astcc. I've traced the problem as far as astcc calling
any of the AGI "say..." routines (say_digits, say_number, etc.). As near
as I can tell, the calls are executed, but control never returns to the
astcc code that made the call, and as a result, the channel simply hangs
(i.e., nothing
1998 Jun 05
1
help on R primitives
Not sure if primitives is the right word, but look at this:
> help(for)
Error: syntax error
> ?for
+
[hit ctrl-c to get out at this pt]
Either way I try I can't get help on for. Can the help mechanism be
modified so it is possible to get help on these guys? Another example:
> help(if)
Error: syntax error
But ?(ifelse) works.
I am using version .62, release from April or so.
2007 Apr 16
1
args / formals on primitives
On SVN revision 41087:
?args has this example line:
args(c) # -> NULL (c is a 'primitive' function)
The comment seems out of date, as args(c) does in fact have a non-NULL return
value:
args(c)
# function (..., recursive = FALSE)
# NULL
While at it, I was wondering, why
formals(c)
still returns NULL, in contrast.
Regards
Thomas Friedrichsmeier
-------------- next
2007 Jul 11
1
Getting param names of primitives
Hi,
In the latest R this does not work anymore
args <- formals(log)
because log is primitive. Is there any other way to get the argument
list? I just need the name of the parameter to display some error
message about it. I have looked at args() but I can't find anything to
extract the argument names from it.
Thanks,
M. Manese
2010 Mar 14
0
Argument matching for primitives
Recent changes to R-devel has altered the way arguments are matched in
most primitives to be identical to the argument matching in
interpreted functions. So if argument names are supplied they are
checked, surplus arguments are errors, and it is possible to use
(perverse) constructions like substitute(e=list(x=1), y ~ x).
There are a few deliberate exceptions: functions like
call switch .C
2012 Mar 19
1
enableJIT(3) with Primitives
I'm not sure if this is a bug or expected behavior, but I don't see
anything in the documentation that explains it, so I thought I'd
mention it:
~ michaelweylandt$ R -q --vanilla
library(compiler)
enableJIT(3)
`+` # Throws an error
`+` # Throws a warning
`+` # Prints the primitive as expected
sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: i386-apple-darwin9.8.0/i386
2015 Jan 22
0
:: and ::: as .Primitives?
I'm not convinced that how to make :: faster is the right question. If
you are finding foo::bar being called often enough to matter to your
overall performance then to me the question is: why are you calling
foo::bar more than once? Making :: a bit faster by making it a
primitive will remove some overhead, but your are still left with a
lot of work that shouldn't need to happen more than
2020 Aug 20
0
utils::isS3stdGeneric chokes on primitives and identity
I added that so I can look at the proposed fix and put it or something
similar in bugzilla for review final review.
Apologies for the oversight.
~G
On Wed, Aug 19, 2020 at 3:40 PM Antoine Fabri <antoine.fabri at gmail.com>
wrote:
> Dear R-devel,
>
> utils::isS3stdGeneric tries to subset the body of the function it's fed,
> primitives don't like that because they
2020 Aug 27
0
utils::isS3stdGeneric chokes on primitives and identity
Should it work on traced functions ?
As it is now it doesn't.
Best,
Antoine
Le jeu. 20 ao?t 2020 ? 09:58, Kurt Hornik <Kurt.Hornik at wu.ac.at> a ?crit :
> >>>>> Gabriel Becker writes:
>
> > I added that so I can look at the proposed fix and put it or something
> > similar in bugzilla for review final review.
>
> > Apologies for the
1999 Jul 15
2
R: UseMethod with primitives?
Hello,
is the following somehow possible with Mod() being a primitive:
"Mod" <- function(x)
UseMethod("Mod")
"Mod.default" <- function(x) {
.Primitive("Mod") ### I know it?s wrong. How can I access the
original Mod ?
}
Thanks for help
M. Eger
--
+-------------------------------------------------------
| Marcus Eger
| Philipps Universitaet
2020 Aug 29
0
utils::isS3stdGeneric chokes on primitives and identity
Hi all,
I have a patch that fixes this and also fixes/improves debugcall so that it
supports pkg::fun(obj) and pkg:::fun(obj) style calls. I'm going to test it
a bit more and add a regression test for isS3stdGeneric and then I will
submit it to bugzilla tonight or tomorrow morning.
Best,
~G
On Thu, Aug 27, 2020 at 5:28 PM Gabriel Becker <gabembecker at gmail.com>
wrote:
> Trace
2015 Jan 23
0
:: and ::: as .Primitives?
On Thu, 22 Jan 2015, Michael Lawrence wrote:
> On Thu, Jan 22, 2015 at 11:44 AM, <luke-tierney at uiowa.edu> wrote:
>>
>> For default methods there ought to be a way to create those so the
>> default method is computed at creation or load time and stored in an
>> environment.
>
> We had considered that, but we thought the definition of the function
>
2015 Jan 22
0
:: and ::: as .Primitives?
Hi all,
I use Luke's "::" hoisting trick often. I think it would be fantastic
if the JIT just did that for you.
The main trouble, for me, is in code I don't own. When common
Bioconductor packages are loaded many, many base functions are saddled
with this substantial dispatch and "::" overhead.
While we have the hood up, the parser could help out a bit here too.
It
2009 Mar 15
4
primitives again
Dear R Gurus:
How do I find the functions which are primitives, please?
Thanks,
Edna Bell
2020 Aug 19
2
utils::isS3stdGeneric chokes on primitives and identity
Dear R-devel,
utils::isS3stdGeneric tries to subset the body of the function it's fed,
primitives don't like that because they don't have a body, identity doesn't
like it either because it's body is a symbol.
According to the doc, any function is a legal input.
See below:
identity
#> function (x)
#> x
#> <bytecode: 0x0000000013d6da28>
#> <environment: