[Rd] Windows freezes plotting large line plots (PR#7856)

2005-05-11 Thread timo . becker
Full_Name: Timo Becker Version: 2.1.0 OS: Windows XP Submission from: (NULL) (193.170.87.36) Hi! The following command causes Windows XP to freeze so that I can only pull the plug: > plot(seq(1, 44100), rnorm(44100), type="l") This does not happen with > plot(seq(1, 44100), rnorm(44100)) and >

Re: [Rd] Building R for windows tools link

2005-05-11 Thread Prof Brian Ripley
On Thu, 12 May 2005, Gregor GORJANC wrote: Prof Brian Ripley wrote: On Wed, 11 May 2005, Gorjanc Gregor wrote: Hello! I think that link to page of Duncan Murdoch (bellow) should be given http://www.murdoch-sutherland.com/Rtools/ at http://developer.r-project.org/. Are you saying that it is given i

Re: [Rd] Patch to address (PR#7853) -- tested briefly, seems to

2005-05-11 Thread ripley
Thank you for the patch. To clarify: this is not a bug. ?.C says The mapping of the types of R arguments to C or Fortran arguments in '.C' or '.Fortran' is R C Fortran integerint * integer numericdouble *double precision

Re: [Rd] Building R for windows tools link

2005-05-11 Thread Gregor GORJANC
Prof Brian Ripley wrote: > On Wed, 11 May 2005, Gorjanc Gregor wrote: > >> Hello! >> >> I think that link to page of Duncan Murdoch (bellow) should be given >> >> http://www.murdoch-sutherland.com/Rtools/ >> >> at >> >> http://developer.r-project.org/. > > > Are you saying that it is given incor

Re: [Rd] Building R for windows tools link

2005-05-11 Thread Prof Brian Ripley
On Wed, 11 May 2005, Gorjanc Gregor wrote: Hello! I think that link to page of Duncan Murdoch (bellow) should be given http://www.murdoch-sutherland.com/Rtools/ at http://developer.r-project.org/. Are you saying that it is given incorrectly? I can't see it. That site is for the development of R, n

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread ripley
On Wed, 11 May 2005 [EMAIL PROTECTED] wrote: > Yes, you are correct. I had only checked one of my platforms. Linux > works as you suggest. But for me on Windows, > >> x <- 1 >> y <- 0.2 >> x %/% y > [1] 5 ## I get a 4 in Linux I get 5 on Windows, but > (x %% y) + y * (x %/% y) [1] 1 so is ther

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Bill Northcott
On 11/05/2005, at 11:26 PM, Kurt Hornik wrote: There seem to be problems in the autoconf stuff. cos and sin are being located in libm but the link line you show has no '-lm' which accounts for 6 of the 7 missing symbols. Also gettext seems to have been located by the configure script, but there i

Re: [Rd] bug, feature of mistery?

2005-05-11 Thread Giuseppe Ragusa
Uwe, > - Where is *lexical* scoping involved? Abuse of "notation". I intended to say scoping. > - Are you really calling you code from a clean workspace? Yes it is clean. > - Why don't use pass "g" through optim() to f? Please do so, because it > might be a scoping problem. Tried that. Still n

[Rd] Patch to address (PR#7853) -- tested briefly, seems to work

2005-05-11 Thread keithf
--- dotcode.c2004-09-05 02:31:57.0 -0700 +++ /usr/local/src/R-2.0.0/src/main/dotcode.c2005-05-11 12:24:11.0 -0700 @@ -190,6 +190,7 @@ static void *RObjToCPtr(SEXP s, int naok, int dup, int narg, int Fort, const char *name, R_toCConverter **converter,

[Rd] Building R for windows tools link

2005-05-11 Thread Gorjanc Gregor
Hello! I think that link to page of Duncan Murdoch (bellow) should be given http://www.murdoch-sutherland.com/Rtools/ at http://developer.r-project.org/. It's easy to launch Google and find mentioned page, but it took me quite some time to do this, because I was sure, that it is noted somew

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: Yes, you are correct. I had only checked one of my platforms. Linux works as you suggest. But for me on Windows,=20 Certainly looks like a bug on Windows to me. I'm going offline for a day very soon now, but I'll try to remember to look into it. Duncan Murdoch x <- 1 y

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Robert . McGehee
Yes, you are correct. I had only checked one of my platforms. Linux works as you suggest. But for me on Windows,=20 > x <- 1 > y <- 0.2 > x %/% y [1] 5 ## I get a 4 in Linux version _ =20 platform i386-pc-mingw32 arch i386 =20 os mingw32 =20 system

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread p . dalgaard
"McGehee, Robert" <[EMAIL PROTECTED]> writes: > Yes, but from ?"%%": > "It is guaranteed that 'x == (x %% y) + y * (x %/% y)' (up to rounding > error) ..." > > (R 2.1.0) > > x <- 1 > > y <- 0.2 > > x %% y > [1] 0.2 > > (x %% y) + y * (x %/% y) > [1] 1.2 > > Certainly 1 does not equal 1.2 as the

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Peter Dalgaard
"McGehee, Robert" <[EMAIL PROTECTED]> writes: > Yes, but from ?"%%": > "It is guaranteed that 'x == (x %% y) + y * (x %/% y)' (up to rounding > error) ..." > > (R 2.1.0) > > x <- 1 > > y <- 0.2 > > x %% y > [1] 0.2 > > (x %% y) + y * (x %/% y) > [1] 1.2 > > Certainly 1 does not equal 1.2 as the

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Robert . McGehee
Yes, but from ?"%%": "It is guaranteed that 'x =3D=3D (x %% y) + y * (x %/% y)' (up to = rounding error) ..." (R 2.1.0) > x <- 1 > y <- 0.2 > x %% y [1] 0.2 > (x %% y) + y * (x %/% y) [1] 1.2 Certainly 1 does not equal 1.2 as the documentation would suggest, and these seem like large enough numbe

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread McGehee, Robert
Yes, but from ?"%%": "It is guaranteed that 'x == (x %% y) + y * (x %/% y)' (up to rounding error) ..." (R 2.1.0) > x <- 1 > y <- 0.2 > x %% y [1] 0.2 > (x %% y) + y * (x %/% y) [1] 1.2 Certainly 1 does not equal 1.2 as the documentation would suggest, and these seem like large enough numbers to

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Ted Harding
On 11-May-05 Peter Dalgaard wrote: > [EMAIL PROTECTED] writes: > >> The following can't be right, >> first rw2010: >> >> > 1 %% 0.001 >> [1] 0.001 >> >> Then rw2001: >> >> > 1 %% 0.001 >> [1] -2.081668e-17 >> > >> >> and the last seems about right. > > A negative remainder? I don't think

[Rd] Accessing Raw Mode Vectors from .C (PR#7853)

2005-05-11 Thread keithf
Full_Name: Keith Frost Version: 2.0.0 OS: Linux i686 (RH 9) Submission from: (NULL) (66.162.141.10) If I create the C function: void test_raw(unsigned char *raw, int *out) { int i; for (i = 0; i <= 255; i++) out[i] = raw[i]; } and dyn.load the resulting library, then call .C("test_raw

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > The following can't be right, > first rw2010: > > > 1 %% 0.001 > [1] 0.001 > > Then rw2001: > > > 1 %% 0.001 > [1] -2.081668e-17 > > > > and the last seems about right. A negative remainder? I don't think so. Presumably the result comes from o %% now wa

[Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread kjetil
The following can't be right, first rw2010: > 1 %% 0.001 [1] 0.001 Then rw2001: > 1 %% 0.001 [1] -2.081668e-17 > and the last seems about right. -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in t

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Kurt Hornik
> Bill Northcott writes: > On 11/05/2005, at 8:04 PM, Ralf Seppel wrote: >> we're trying to implement R on the IBM p690 cluster "Jump" at the >> research centre in Jülich, Germany (c.f. >> http://www.fz-juelich.de/nic/Supercomputer/computer-e.html) >> using the most recent version of R (2.1.0)

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Bill Northcott
On 11/05/2005, at 8:04 PM, Ralf Seppel wrote: we're trying to implement R on the IBM p690 cluster "Jump" at the research centre in Jülich, Germany (c.f. http://www.fz-juelich.de/nic/Supercomputer/computer-e.html) using the most recent version of R (2.1.0) and precisly following the installation ins

[Rd] This is an alert from eSafe (PR#7851)

2005-05-11 Thread mpais
Delivery Status Notification (Failure) 550 user unknown Time: 11 May 2005 15:02:30 Scan result: Mail rejected Protocol: SMTP in File Name\Mail Subject: mail_1115724604: Re: Excel file Source: [EMAIL PROTECTED] Destination: [EMAIL PROTECTED] Details: document_excel.pif Infected with Win32.Netsky

Re: [Rd] rank (PR#7850)

2005-05-11 Thread ripley
You don't understand what rank() does: it is not the same as sort.list but rather the reverse (in the absence of ties). > x<- c(2,-5,1,3);x [1] 2 -5 1 3 > y <- x > y[rank(x)] <- x > y [1] -5 1 2 3 The ranks are the numbers in the ordering, and -5 is the smallest and so has rank 1, and so

[Rd] rank (PR#7850)

2005-05-11 Thread stella . david
Full_Name: Stella David Version: 2.1.0 OS: mingw32 Submission from: (NULL) (137.250.161.136) It seems that rank doesn't work right on vectors containing negative values. If the negative value is the first component or there are only two components, it works, but if the negative value is somewhere

[Rd] typesetting a matrix

2005-05-11 Thread Robin Hankin
Hi in a .Rd file, in a \deqn{} environment, how do I typeset a matrix in latex? I have \deqn{\left(\begin{bmatrix}a&b\\c&d\end{bmatrix}\right)}{omitted} but this doesn't give me the 2-by-2 matrix desired. Is there a manpage somewhere with a matrix that I could adapt? -- Robin Hankin Uncertainty

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Prof Brian Ripley
On Wed, 11 May 2005, Ralf Seppelt wrote: Dear All, we're trying to implement R on the IBM p690 cluster "Jump" at the research centre in Jülich, Germany (c.f. http://www.fz-juelich.de/nic/Supercomputer/computer-e.html) using the most recent version of R (2.1.0) and precisly following the installa

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Uwe Ligges
Ralf Seppelt wrote: Dear All, we're trying to implement R on the IBM p690 cluster "Jump" at the research centre in Jülich, Germany (c.f. http://www.fz-juelich.de/nic/Supercomputer/computer-e.html) using the most recent version of R (2.1.0) and precisly following the installation instructions. H

[Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Ralf Seppelt
Dear All, we're trying to implement R on the IBM p690 cluster "Jump" at the research centre in Jülich, Germany (c.f. http://www.fz-juelich.de/nic/Supercomputer/computer-e.html) using the most recent version of R (2.1.0) and precisly following the installation instructions. After ./configure we

Re: Fwd: Re: [Rd] Implementation of the names attribute of attribute lists

2005-05-11 Thread Martin Maechler
> "Gabriel" == Gabriel Baud-Bovy <[EMAIL PROTECTED]> > on Tue, 10 May 2005 19:00:53 +0200 writes: Gabriel> Hi Martin, Gabriel> Thanks for your reply. I am responding on r-devel to Gabriel> provide some examples of outputs of the function that Gabriel> I had list in the