At the top of src/nmath/qnorm.c it is stated:
* Copyright (C) 1998 Ross Ihaka
* Copyright (C) 2000--2005 The R Development Core Team
* based on AS 111 (C) 1977 Royal Statistical Society
* and on AS 241 (C) 1988 Royal Statistical Society
The routine is in fact an f2c'd version of
I present you with a function that solves a problem that has bugged me for
many years. I think the problem may be general enough to at least consider
adding this function, or a revamped version of it, to the 'stats' package,
with the other multinomial functions reside.
I'm using R to export
Hello,
I've been trying to make LinkingTo work when the package linked to has
c++ code.
I've put dumb packages to illustrate this emails here ;
http://addictedtor.free.fr/misc/linkingto
Package A defines this C++ class:
class A {
public:
A() ;
~A() ;
SEXP hello() ;
On 02/11/2010 10:08 AM, Romain Francois wrote:
Hello,
I've been trying to make LinkingTo work when the package linked to has
c++ code.
I've put dumb packages to illustrate this emails here ;
http://addictedtor.free.fr/misc/linkingto
Package A defines this C++ class:
class A {
public:
A() ;
Ugh, I made a typo at the very heart of my message:
when I preprocess each line in R as p-a/sum(a), occasionally a line will
sum to 0.999, 1.002, or the like
should be
when I preprocess each line in R as p-round(a/sum(a),3) occasionally a
line will sum to 0.999, 1.002, or the like
Also,
David Heffernan wrote:
At the top of src/nmath/qnorm.c it is stated:
* Copyright (C) 1998 Ross Ihaka
* Copyright (C) 2000--2005 The R Development Core Team
* based on AS 111 (C) 1977 Royal Statistical Society
* and on AS 241 (C) 1988 Royal Statistical Society
The routine
Romain,
I think your'e confusing two entirely different concepts here:
1) LinkingTo: allows a package to provide C-level functions to other packages
(see R-ext 5.4). Let's say package A provides a function foo by calling
R_RegisterCCallable for that function. If a package B wants to use that
Thanks.
On 02/11/2010 05:55 PM, Simon Urbanek wrote:
Romain,
I think your'e confusing two entirely different concepts here:
Yes. The name LinkingTo probably helped my confusion.
1) LinkingTo: allows a package to provide C-level functions to other packages
(see R-ext 5.4). Let's say
Thanks,
I would be happy with an error that did not crash R, coercion just makes life a
little easier, but I can live without that if you are not sure or there are
reasons not to (speed being on possibility).
It looks like you just underestimated how stupid I could be.
Thanks,
--
Gregory
On 02/11/2010 07:40 PM, Simon Urbanek wrote:
On Feb 11, 2010, at 12:24 PM, Romain Francois wrote:
Thanks.
On 02/11/2010 05:55 PM, Simon Urbanek wrote:
Romain,
I think your'e confusing two entirely different concepts here:
Yes. The name LinkingTo probably helped my confusion.
On 2/11/10 9:43 AM, rt wrote:
Hi,
I have just learned how to use compile and link libraries using
make and how to create R projects using R CMD build or INSTALL. My
understanding of both is somewhat limited and hence the question.
I have a main library written in c which depends on other
Hi all,
Legend has it, that polite R programmers don't overwrite, say, the
print function.
However, this seems quite un-Darwinian to me (especially given that I
don't want to call all my arguments x and y).
I might want a function print.foo (myfoo, ...).
So I decided to be very impolite (in one
According to R-exts.pdf (page 3):
For maximal portability filenames should only
contain only ASCII characters not excluded already (that is
A-Za-z0-9._!#$%+,;=...@^(){}’[]
I have some files with special characters like '[' and '%' e.g.
'[.set.R'. I also have some functions that also have those
13 matches
Mail list logo