Re: [Rd] R 2.11.0 on RHEL5 / RODBC

2010-05-12 Thread Prof Brian Ripley
On Wed, 12 May 2010, Chuck White wrote: I am compiling R 2.11.0 on a RHEL5.3 box using the following settings ./configure --with-readline=yes --enable-R-shlib=yes --with-x=yes --with-blas="-llibptf77blas -lpthread -llibatlas" --prefix=/usr/local/R-2.11.0 JAVA_HOME=$JAVA_HOME CPPFLAGS="-I/usr/

[Rd] R 2.11.0 on RHEL5 / RODBC

2010-05-12 Thread Chuck White
I am compiling R 2.11.0 on a RHEL5.3 box using the following settings ./configure --with-readline=yes --enable-R-shlib=yes --with-x=yes --with-blas="-llibptf77blas -lpthread -llibatlas" --prefix=/usr/local/R-2.11.0 JAVA_HOME=$JAVA_HOME CPPFLAGS="-I/usr/local/unixODBC-2.3.0/include" I have compi

Re: [Rd] ranges and contiguity checking

2010-05-12 Thread Jeff Ryan
Providing the wrapper would allow for both performance as well as user-simplicity. x[RANGE(1,1e6)] and x[1:1e6] could both be handled internally, where: RANGE <- function(from,to) { structure(seq(from,to), class="RANGE") } Just testing for a 'RANGE' object in your [. method would let the optim

Re: [Rd] ranges and contiguity checking

2010-05-12 Thread James Bullard
>> -Original Message- >> From: r-devel-boun...@r-project.org >> [mailto:r-devel-boun...@r-project.org] On Behalf Of Duncan Murdoch >> Sent: Wednesday, May 12, 2010 11:35 AM >> To: bull...@stat.berkeley.edu >> Cc: r-de...@stat.math.ethz.ch >> Subject: Re: [Rd] ranges and contiguity checking

[Rd] How to profile R interpreter?

2010-05-12 Thread xiaoming gu
Hi, all. Does anyone know how to profile R interpreter? I tried Rprof, which only gave me profiling information at script level. My intention is to identify hot spots in R interpreter. I compiled R interpreter with -pg for gprof. However, I couldn't generate gmon.out when I ran the R interpreter wi

Re: [Rd] ranges and contiguity checking

2010-05-12 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Duncan Murdoch > Sent: Wednesday, May 12, 2010 11:35 AM > To: bull...@stat.berkeley.edu > Cc: r-de...@stat.math.ethz.ch > Subject: Re: [Rd] ranges and contiguity checking > > O

Re: [Rd] ranges and contiguity checking

2010-05-12 Thread Duncan Murdoch
On 12/05/2010 2:18 PM, James Bullard wrote: Hi All, I am interfacing to some C libraries (hdf5) and I have methods defined for '[', these methods do hyperslab selection, however, currently I am limiting slab selection to contiguous blocks, i.e., things defined like: i:(i+k). I don't do any conti

[Rd] ranges and contiguity checking

2010-05-12 Thread James Bullard
Hi All, I am interfacing to some C libraries (hdf5) and I have methods defined for '[', these methods do hyperslab selection, however, currently I am limiting slab selection to contiguous blocks, i.e., things defined like: i:(i+k). I don't do any contiguity checking at this point, I just grab the

[Rd] gc() reports bytes (MB) but uses notation for bits (Mb)

2010-05-12 Thread Jeff Ryan
I am not a standards expert, but the notation here seems incorrect to me: > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 138668 7.5 650970 34.8 492193 26.3 Vcells 6668566 50.9 18582019 141.8 17001419 129.8 In the IEEE 1541-2002 document ( http://en.wikipedia.org/wik

Re: [Rd] update.packages fails with directory not found

2010-05-12 Thread Duncan Murdoch
On 12/05/2010 12:42 PM, Mike Prager wrote: Shortened a bit further. Answers to queries are at the end. MHP Duncan Murdoch wrote on 5/11/2010 7:03 PM: > On 11/05/2010 6:21 PM, Mike Prager wrote: >> On Tue, 11 May 2010 11:05:45 -0400, Duncan Murdoch >> wrote: >>> I'd appreciate it if you could c

Re: [Rd] update.packages fails with directory not found

2010-05-12 Thread Mike Prager
Shortened a bit further. Answers to queries are at the end. MHP Duncan Murdoch wrote on 5/11/2010 7:03 PM: On 11/05/2010 6:21 PM, Mike Prager wrote: On Tue, 11 May 2010 11:05:45 -0400, Duncan Murdoch wrote: I'd appreciate it if you could check whether the problems remain in R-devel, revision

Re: [Rd] update.packages fails with directory not found

2010-05-12 Thread William Dunlap
Mike, If you have the time and can consistently reproduce this problem you might try using Sysinternal's Process Monitor program to capture the details of what R and other programs were doing in that directory around the time of the problem. http://technet.microsoft.com/en-us/sysinternals/bb896