Re: [R] It is possible to Expand RAM with HD space?

2007-04-21 Thread Petri Palmu
Hi, (closely related to the subject) First, I'm not an expert in programming, so the terminology I use can be incorrect or vague. I wonder if it's a good development to always defend from out of memory error by buying more RAM because the size of analyseable data also increases at same time.

[R] gregexpr() - length of the matched text to a vector

2006-01-11 Thread Petri Palmu
of the output is pretty unclear to me in that respect. Thanks in advance, Petri -- Petri Palmu, M.Soc.Sc Statistician [EMAIL PROTECTED] Geneos Ltd tel:+358 9 4366 2512 gsm: +35840 55 249 55 fax:+ 358 9 4366 2523 P.O. Box 25 (Tukholmankatu 2) FIN-00251, Helsinki, Finland

Re: [R] gregexpr() - length of the matched text to a vector

2006-01-11 Thread Petri Palmu
Now I found a solution that seems to work OK for me: attributes(gregexpr(expression, text)[[1]]) Petri At 15:00 11.1.2006 +0100, Petri Palmu wrote: Hi, I'm using gregexpr(). As a result something like this: # starting positions of the match: [[1]] [1] 7 18 # length of the matched text: attr