Thanks Michael for taking care of this. H.
On 06/06/2017 11:48 AM, Michael Lawrence wrote:
I've fixed this and will commit soon.
Disregard my dim<-() example; that behaves as expected (the class needs
a dim<-() method).
Michael
On Tue, Jun 6, 2017 at 5:16 AM, Michael Lawrence mailto:micha...
Here are three reasons for converting Fortran code, especially older
Fortran code, to C:
1. The C-Fortran interface is not standardized. Various Fortran compilers
pass logical and character arguments in various ways. Various Fortran
compilers mangle function and common block names in variousl wa
Hello.
This is not a question about a bug or even best practices; rather I'm
trying to understand the philosophy or theory as to why certain
portions of the R codebase are written as they are. If this question
is better posed elsewhere, please point me in the proper direction.
In the thread about
On 06.06.2017 10:07, Martin Maechler wrote:
Kirill Müller
on Mon, 5 Jun 2017 17:30:20 +0200 writes:
> Hi I've noted a minor inconsistency in the documentation:
> Current R-exts reads
> s = PROTECT_WITH_INDEX(eval(OS->R_fcall, OS->R_env), &ipx);
> but I believe it ha
I've fixed this and will commit soon.
Disregard my dim<-() example; that behaves as expected (the class needs a
dim<-() method).
Michael
On Tue, Jun 6, 2017 at 5:16 AM, Michael Lawrence wrote:
> Thanks for the report. The issue is that one cannot set special attributes
> like names, dim, dimna
> On 6 Jun 2017, at 18:50 , Hong Ooi via R-devel wrote:
>
> This is something I came across just now:
>
> f <- function(x) missing(x)
> z <- quote(expr=)
>
> f(z)
> # TRUE
>
> The object z contains the equivalent of a missing function argument. Another
> method for generating a missing arg w
This is something I came across just now:
f <- function(x) missing(x)
z <- quote(expr=)
f(z)
# TRUE
The object z contains the equivalent of a missing function argument. Another
method for generating a missing arg would be alist(a=)$a .
Should f(z) return TRUE in this case? I interpret missing(
> Martin Maechler
> on Tue, 16 May 2017 11:01:23 +0200 writes:
> Serge Bibauw
> on Mon, 15 May 2017 11:59:32 -0400 writes:
>> Hi,
>> Just reporting a small bug… not really a big deal, but I
>> don’t think that is intended: droplevels() also drops all
>>
Thanks for the report. The issue is that one cannot set special attributes
like names, dim, dimnames, etc on S4 objects. I was aready working on this
and will have a fix soon.
> a2 <- new("A2")
> dim(a2) <- c(2, 3)
Error in dim(a2) <- c(2, 3) : invalid first argument
On Mon, Jun 5, 2017 at 6:08
> Kirill Müller
> on Mon, 5 Jun 2017 17:30:20 +0200 writes:
> Hi I've noted a minor inconsistency in the documentation:
> Current R-exts reads
> s = PROTECT_WITH_INDEX(eval(OS->R_fcall, OS->R_env), &ipx);
> but I believe it has to be
> PROTECT_WITH_INDEX(s = eva
> Hervé Pagès
> on Fri, 2 Jun 2017 04:05:15 -0700 writes:
> Hi, I have a long numeric vector 'xx' and I want to use
> sum() to count the number of elements that satisfy some
> criteria like non-zero values or values lower than a
> certain threshold etc...
> The pr
11 matches
Mail list logo