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 sp
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 o
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 ext
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.
Admitte
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.
>
Admittedly, it's probably not the best
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 (Gr
Greg,
winProgressBar() has internal checks for the argument types, and for
some unaccounted-for reason I omitted them in setWinProgressBar(). So
2) is easy (cut-and-paste).
I am less sure that we should add coercion, and sure that if we add it
to setWinProgressBar() we should also add it to
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 external
libraries. Main library is
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 packa
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
f
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 r
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"
Al
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() ;
~
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() ;
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 da
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 A
16 matches
Mail list logo