Displaying 14 results from an estimated 14 matches for "nani".
Did you mean:
nan
2016 May 28
1
complex NA's match(), etc: not back-compatible change proposal
...NaN, another consequence is that length(unique(.)) may depend on order. Example using R devel r70604:
> x0 <- c(0,1, NA, NaN); z <- outer(x0,x0, complex, length.out=1); rm(x0)
> (z <- z[is.na(z)])
[1] NA NaN+ 0i NA NaN+ 1i NA NA NA NA
[9] 0+NaNi 1+NaNi NA NaN+NaNi
> length(print(unique(z)))
[1] NA NaN+0i
[1] 2
> length(print(unique(c(z[8], z[-8]))))
[1] NA
[1] 1
--------------------------------------------
On Mon, 23/5/16, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] complex NA's ma...
2016 May 13
1
complex NA's match(), etc: not back-compatible change proposal
...39;cequal' in unique.c, a complex number that has both NA and NaN matches NA and also matches NaN.
> x0 <- c(0,1, NA, NaN); z <- outer(x0,x0, complex, length.out=1); rm(x0)
> (z <- z[is.na(z)])
[1] NA NaN+ 0i NA NaN+ 1i NA NA NA NA
[9] 0+NaNi 1+NaNi NA NaN+NaNi
> sapply(z, match, table = z[8])
[1] 1 1 1 1 1 1 1 1 1 1 1 1
> match(z, z[8])
[1] 1 1 1 1 1 1 1 1 1 1 1 1
> sessionInfo()
R Under development (unstable) (2016-05-12 r70604)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows XP (build 2600) Service...
2016 Jun 03
0
complex NA's match(), etc: not back-compatible change proposal
...ay depend on order.
? ? > Example using R devel r70604:
? ? >> x0 <- c(0,1, NA, NaN); z <-
outer(x0,x0, complex, length.out=1); rm(x0)
? ? >> (z <- z[is.na(z)])
? ? > [1]? ? ???NA
NaN+? 0i? ? ???NA NaN+?
1i? ? ???NA? ?
???NA? ? ???NA?
? ???NA
? ? >
[9]???0+NaNi???1+NaNi?
? ???NA NaN+NaNi
? ? >> length(print(unique(z)))
? ? > [1]? ???NA NaN+0i
? ? > [1] 2
? ? >> length(print(unique(c(z[8],
z[-8]))))
? ? > [1] NA
? ? > [1] 1
? ? >
--------------------------------------------
Thank you, Suharto. I agree these are even m...
2016 May 10
1
complex NA's match(), etc: not back-compatible change proposal
...t=1); rm(x0)
> ## --- = NA_real_ but that does not exist e.g., in R 2.3.1
> ## similarly, '1L', '2L', .. do not exist e.g., in R 2.3.1
> (z <- z[is.na(z)])
[1] NA NaN+ 0i NA NaN+ 1i NA NA NA NA
[9] 0+NaNi 1+NaNi NA NaN+NaNi
> outerID <- function(x,y, ...) { ## ugly; can we get outer() to work ?
+ r <- matrix( , length(x), length(y))
+ for(i in seq(along=x))
+ for(j in seq(along=y))
+ r[i,j] <- identical(z[i], z[j], ...)
+ r
+ }
> ## Very strictl...
2006 Nov 30
1
bug in acosh (win32) (PR#9403)
Full_Name: Tom Short
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (68.236.159.227)
It looks like there's a bug in acosh with complex number in windows:
> acosh(2)
[1] 1.316958
> acosh(2+0i)
[1] 0+NaNi
This happens for me on Windows XP with the following versions:
R version 2.2.0, 2005-10-06, i386-pc-mingw32
R version 2.4.0 (2006-10-03) i386-pc-mingw32
It works fine with the following:
R version 2.4.0 (2006-10-03) i386-pc-linux-gnu (debian)
R version 2.1.0, 2005-04-18, i386-pc-linux-gnu (debia...
2005 Apr 07
1
complex tangent (PR#7781)
Full_Name: Peter Fortini
Version: 2.0.1
OS: Windows 2000
Submission from: (NULL) (65.246.187.164)
When the imaginary part of the argument is very large, the complex tangent
function returns 0+NaNi. For example, tan(1+1000i)=0+NaNi; it should be 0+1i
Easy to fix in complex.c, as the original NaN came from division of sinh and
cosh that had reached machine infinity.
static void z_tan(Rcomplex *r, Rcomplex *z)
{
double x2, y2, den;
x2 = 2.0 * z->r;
y2 = 2.0 * z->i;
den...
2013 Sep 04
1
dahdi configuration issue
Hello List,
I have configure 2 sangoma card each with 8 PRI lines with dahdi 2.6
the problem is i can see all channels configured in dahdi_cfg 480 channels
configured but
when I see /dev/dahdi i can only see 240 channels.
what could be problem I am using it wanrouter and when I put PRI in new
card i only got calls on new line that means one of the card is inactive at
same time all the lines and
1998 Sep 16
2
R-beta: (0+0i)^2
The following behaviour (in R 0.62.3) is disturbing:
> (0+0i)^2
[1] NaN+NaNi
Is it deliberate??
Laimonis Kavalieris
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not t...
1998 Sep 16
2
R-beta: (0+0i)^2
The following behaviour (in R 0.62.3) is disturbing:
> (0+0i)^2
[1] NaN+NaNi
Is it deliberate??
Laimonis Kavalieris
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not t...
2011 Nov 28
1
how to create a oracle 11g database through puppet module
Hi
This is Anjan and I am creating a module to create a database for
oracle 11g. I have a problem to execute a cmd
ie sqlplus "/as sysdba"
@/home/oracle/cr_$dbn
Please tell how to exucute the above cmds through puppet module.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2005 May 08
4
Cellsocket help needed
I need help from someone who has a working cellsocket, I have received
couple email of people who wanted to help, but they just think they know how
it supposed to work, but they don't have a working units, and they confused
more...I need someone with a working solution to get my cellsocket going..
Thanks!!!
Write offlits @ mawise (AT) mail.com
-------------- next part --------------
2008 Aug 18
3
Samba 3.0.x access rights issue with secondary groups or Unix rights
Hi experts
I have a trouble in access rights
I am running Samba
3.0.31 on Solaris 10 x86 64 bits as member server of an Active
Directory 2003 R2 domain (MYDOMAIN) using Identity Management for Unix
I set rights to access a sub folder of a Samba share. On Solaris the user
"toto" jdoe can write a new file. From Windows, the same user can't.
Itlooks like OK when the primary group
2005 Apr 18
1
R-2.1.0 is released
..."dist" objects of length 0 failed to print.
o INSTALL and the libR try harder to find a temporary directory
(since there might be one left over with the same PID).
o acf() could cause a segfault with some datasets. (PR#7771)
o tan(1+LARGEi) now gives 0+1i rather than 0+NaNi (PR#7781)
o summary(data.frame(mat = I(matrix(1:8, 4)))) does not go into
infinite recursion anymore.
o writeBin() performed byte-swapping incorrectly on complex
vectors, also swapping real and imaginary parts. (PR#7778)
o read.table() sometimes discarded as blank lines containing...
2005 Apr 18
1
R-2.1.0 is released
..."dist" objects of length 0 failed to print.
o INSTALL and the libR try harder to find a temporary directory
(since there might be one left over with the same PID).
o acf() could cause a segfault with some datasets. (PR#7771)
o tan(1+LARGEi) now gives 0+1i rather than 0+NaNi (PR#7781)
o summary(data.frame(mat = I(matrix(1:8, 4)))) does not go into
infinite recursion anymore.
o writeBin() performed byte-swapping incorrectly on complex
vectors, also swapping real and imaginary parts. (PR#7778)
o read.table() sometimes discarded as blank lines containing...