Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-13 Thread Wacek Kusnierczyk
Ben Bolker wrote: > It's my vague impression that View() is workable on Windows and maybe > on MacOS, but on Ubuntu Linux 9.04 (intrepid) it seems completely > unstable. I can reliably crash R by trying to look at a very small, > simple data frame ... > on my 8.04, r is reliable at crashing

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-13 Thread Ei-ji Nakama
Hi 2009/5/13 Dirk Eddelbuettel : > #0  0xb70e685e in XmbLookupString () from /usr/lib/libX11.so.6 > #1  0xb73a9d48 in doSpreadKey (DE=0x8bfd040, key=, > event=0xbfed68d8) at dataentry.c:1828 It is generated by XmbLookupString and Xutf8LookupString because this doesn't make Input context of X11

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-13 Thread Ben Bolker
This patch fixes the problem for me with latest R-devel. Thanks! (This kind of X-hacking would take me hours if not days to figure out ...) cheers Ben Bolker Ei-ji Nakama wrote: > Hi > > 2009/5/13 Dirk Eddelbuettel : > >> #0 0xb70e685e in XmbLookupString () from /usr/lib/libX11.so.6

[Rd] [R] rmath.h functions reentrant

2009-05-13 Thread Ravi Patel
Hello I am trying to create a parallelized r extension using C++. I was wondering if calls to the RNG in R (using Rmath.h) are reentrant or if i need to serialize them explicitly. Specifically i would like to use the runif() function call to generate variables. Thank you again, Ravi Patel

Re: [Rd] Can we generate exe file using R? What is the maximum file size valid?

2009-05-13 Thread Matthew Dowle
Does Ra get close to compiled R ? "The R code is compiled on the fly to bytecode which is executed internally by an interpreter in C." The timing tests look impressive. http://www.milbo.users.sonic.net/ra/ __ R-devel@r-project.org mailing list http

Re: [Rd] Can we generate exe file using R? What is the maximum file size valid?

2009-05-13 Thread Stavros Macrakis
There are two distinct and orthogonal questions here: 1) Is it possible to package an R program/system in such a way that it can be distributed as a single executable file (including the R system, any necessary loaded packages, plus the application program) and run without an installation of R (wh

Re: [Rd] simple add error (PR#13699)

2009-05-13 Thread Joshua Ulrich
Gostan, This is not a bug. You're asking for 20 decimal digits of precision, which is impossible with double-precision floating point arithmetic. http://fr.wikipedia.org/wiki/Virgule_flottante Best, Josh -- http://www.fosstrading.com On Wed, May 13, 2009 at 7:35 AM, wrote: > Full_Name: Gos

Re: [Rd] simple add error (PR#13699)

2009-05-13 Thread Ben Bolker
gostan wrote: > > Full_Name: Gostan Thierry > Version: 2.6.1 (2007-11-26) > OS: Windows XP > Submission from: (NULL) (193.49.190.42) > > I cannot explain why R seems to have problems adding two big numbers. > > sprintf("%f",10^4+10^19) gives "10010240.00" >

[Rd] simple add error (PR#13699)

2009-05-13 Thread gostan
Full_Name: Gostan Thierry Version: 2.6.1 (2007-11-26) OS: Windows XP Submission from: (NULL) (193.49.190.42) I cannot explain why R seems to have problems adding two big numbers. sprintf("%f",10^4+10^19) gives "10010240.00" instead of "1001.00

[Rd] different results on linux and windows

2009-05-13 Thread Klaus Nordhausen
Dear R experts, we are preparing an R-package to compute the Oja Median which contains some C++ code in which random numbers are needed. To generate the random numbers we use the following Mersenne-Twister implementation: // MersenneTwister.h // Mersenne Twister random number generator -- a C++

Re: [Rd] simple add error (PR#13699)

2009-05-13 Thread Petr Savicky
On Wed, May 13, 2009 at 02:35:12PM +0200, gos...@igmm.cnrs.fr wrote: > I cannot explain why R seems to have problems adding two big numbers. > > sprintf("%f",10^4+10^19) gives "10010240.00" > instead of "1001.00" > > problems seems to arriv