Hello,

I've a very long character array (>500k characters) that need to split by '\n' resulting in an array of about 60k numbers. The help on strsplit says to use perl=TRUE to get better formance, but still it takes several minutes to split this string.

The massive string is the return value of a call to xmlElementsByTagName from the XML library and looks like this:

...
12345
564376
5674
6356656
5666
...

I've to read about a hundred of these files and was wondering whether there's a more efficient way to turn this string into an array of numerics. Any ideas?

	thanks a lot for your help
	and kind regards,

	Arne




	[[alternative HTML version deleted]]

