Re: [Rd] Some R questions

2006-11-01 Thread miguel manese
On 11/2/06, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > On Tuesday 31 October 2006 9:30 pm, miguel manese wrote: > The slowness manifests itself for vectorized code as well. I believe it is due > to the code mucking about with row.names attribute which introduces a penalty > on any [,] operatio

Re: [Rd] install packages RMySQL fail

2006-11-01 Thread Juan Santiago Ramseyer
thank you, I make in R: install.packages(DBI) and fix ambient variables of linux: export PKG_CPPFALGS="-I/usr/include/mysql" export PKG_LIBS="-L/usr/lib64/mysql -lmysqlclient" after: install.packages(RMySQL) is successful. Juan. Em Dom, 2006-10-29 às 08:44 -08

[Rd] allocVector bug ?

2006-11-01 Thread Vladimir Dergachev
Hi all, I was looking at the following piece of code in src/main/memory.c, function allocVector : if (size <= NodeClassSize[1]) { node_class = 1; alloc_size = NodeClassSize[1]; } else { node_class = LARGE_NODE_CLASS; alloc_size = size; for

Re: [Rd] Some R questions

2006-11-01 Thread Vladimir Dergachev
On Tuesday 31 October 2006 9:30 pm, miguel manese wrote: > Hi, > > Had experience with this on doing SQLiteDF... > > On 11/1/06, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > > Hi all, > > > >I am working with some large data sets (1-4 GB) and have some > > questions that I hope someone can h

[Rd] Fwd: Re: Some R questions

2006-11-01 Thread Vladimir Dergachev
A correction to my previous post: after running the example A[,1] and A[[1]] the running time decrease so that eventually A[[1]] takes 0.025 seconds (according to system.time()) and A[,1] takes 1.8 seconds. The ratio of time still 2-digit, but, apparently, the garbage collector is a good dea

Re: [Rd] missing SIGWINCH?

2006-11-01 Thread Jon Stearley
On Oct 31, 2006, at 1:50 PM, Simon Urbanek wrote: > Jon, > > I don't have access to a Mac Pro, so I can't test anything, but > based on your report I found a bug in R_system that affects signal > handling during "system" calls on Macs. Please test the current R- > devel (39754) or R-2-4-bran

Re: [Rd] Subsetting a vector in C

2006-11-01 Thread Duncan Murdoch
On 11/1/2006 7:48 AM, Sean Davis wrote: > I have a pretty simple question. I have an array of REALSXP allocated as: > > rsp = allocVector(REALSXP,n) > > and I simply want to pass subsets of rsp of size q (q< R function in C. Is there a way to subset rsp without creating a new REALSXP > vector

[Rd] Subsetting a vector in C

2006-11-01 Thread Sean Davis
I have a pretty simple question. I have an array of REALSXP allocated as: rsp = allocVector(REALSXP,n) and I simply want to pass subsets of rsp of size q (q

[Rd] Sued Tuerkei.

2006-11-01 Thread 5 Star Hotel at the Turkish Riviera.
Sehr geehrte Damen und Herren, Als SI GROUP Für diesen Winter haben wir Ihnen ein preislich unschlagbares Angebot an die türkische Riviera-BELEK Halb Pansion 5 Sterne Hotels anzubieten. Ab Zuerich-Basel-Stuttgart-Muenchen. INCLUSIV FLUG Hin und Zurück und 8-tägige Ferien an der Türkischen Riviera