Re: [Rd] Problem with a regular expression.

2017-08-16 Thread Peter Langfelder
FWIW, I tried it on my linux box. The memory use shot through the roof, the system crawled to a halt due to constant swapping, and after a minute or so top showed memory use of 47GB, at which point I killed the R process. On linux at least R is not frozen but the strsplit call gobbles up memory (an

[Rd] Problem with a regular expression.

2017-08-16 Thread Chris Triggs
Hi... I have come upon a problem with a regular expression which causes base-R to freeze. I have reproduced the phenomenon on several machines running R under Windows 10, and also under OSX on different Apple MACs. The minimal example is:- Oldterm is a vector of characters, e.g. "A", "B", "A"

Re: [Rd] strange behaviour read.table and clipboard

2017-08-16 Thread Robert Baer
You said, "put a name in the cell". Does that mean you forgot a header = TRUE? On 8/16/2017 1:25 AM, PIKAL Petr wrote: Hi Duncan The simples spreadsheet is: Put a name in the cell, let say "a1" Put number e.g. 1 below "a1" Copy the number to enough rows Select this column and press ctrl-c

Re: [Rd] strange behaviour read.table and clipboard

2017-08-16 Thread PIKAL Petr
Hi > -Original Message- > From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] > Sent: Wednesday, August 16, 2017 12:01 PM > To: PIKAL Petr > Cc: Martin Maechler ; Duncan Murdoch > > Subject: RE: [Rd] strange behaviour read.table and clipboard > > (not to R-devel) > > More questions

Re: [Rd] strange behaviour read.table and clipboard

2017-08-16 Thread PIKAL Petr
Hi recent version, and the problem is also in most recent version (r73093 - tested on different PC) > version _ platform i386-w64-mingw32 arch i386 os mingw32 system i386, mingw32 status Under development (unstable) major 3 mino

Re: [Rd] strange behaviour read.table and clipboard

2017-08-16 Thread Martin Maechler
> PIKAL Petr > on Wed, 16 Aug 2017 06:25:48 + writes: > Hi Duncan The simples spreadsheet is: > Put a name in the cell, let say "a1" Put number e.g. 1 > below "a1" Copy the number to enough rows Select this > column and press ctrl-c > result is >> temp<-