Re: [Rd] bug, feature of mistery?

2005-05-11 Thread Uwe Ligges
Giuseppe Ragusa wrote: I have two machines a linux_amd64_x86 (gentoo_amd64) and a linux_x86. Both run R-2.1.0. I have a very long program (hopefully will become a package) that works perfectly on the linux_amd_x64. Great means no error, no problems and results that, where the analytic solution

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 post-scriptum of

[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: [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.

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

[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}ab\\cd\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] 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 on.

[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

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

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) and precisly

[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

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 warns if its

[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 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 so. Presumably the result comes

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 numbers to not

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 documentation would

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 documentation would

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 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

[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

[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,

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 no luck.

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

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 there a problem

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,