From kleiweg at let.rug.nl  Thu Feb 19 20:48:49 2004
From: kleiweg at let.rug.nl (Peter Kleiweg)
Date: Thu Feb 19 20:49:05 2004
Subject: [Rd] Process R segmentation with strsplit() (PR#6601)
In-Reply-To: <20040219180757.C1019EDF2@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0402192045430.1090-100000@kleigh.nl>

# aldus wolski@molgen.mpg.de :

>
> The code causing the crash is given below.
>
> Eryk.
>
>
> res <- "HTTP/1.1 200 OK\r\nDate: Thu, 19 Feb 2004 17:55:04
> GMT\r\nServer: Apache/1.3.26 (Win32)\r\nTransfer-Encoding:
> chunked\r\nContent-Type: text/html;
> charset=ISO-8859-1\r\n\r\nf5b\r\n\n<HTML>\n<HEAD>\n<TITLE>Mascot
> Search Results: Protein View</TITLE>\n</HEAD>\n\n<BODY
> BGCOLOR=\"#ffffff\" ALINK=\"#0000ff\"
> VLINK=\"#0000ff\">\n\n<H1><IMG
> SRC=\"../images/88x31_logo_white.gif\" WIDTH=\"88\"
> HEIGHT=\"31\"\nALIGN=\"TOP\" BORDER=\"0\"
> NATURALSIZEFLAG=\"3\"> Mascot Search
> Results</H1>\n\n<H3>Protein View</H3>\n<FORM
> METHOD=\"POST\">\n<INPUT TYPE=\"hidden\" NAME=\"file\"
> VALUE=\"../data/20040219/F253567.dat\">\n<INPUT
> TYPE=\"hidden\" NAME=\"hit\" VALUE=\"1\">\n<INPUT
> TYPE=\"hidden\" NAME=\"showall\" VALUE=\"true\">\n<INPUT
> TYPE=\"hidden\" NAME=\"protscore\" VALUE=\"0\">\n<FONT
> FACE='Courier New,Courier,monospace'><PRE>Match to:
> <B>At1g61780</B>; Score: <B>15</B>\n<B>hypothetical
> protein</B>\n\nNominal mass (M<SUB>r</SUB>): <B>11619</B>;
> Calculated pI value: <B>9.43</B>\nNCBI BLA!

Mmm... R crashes if you feed it a lot of junk. There must be a
bug in the garbage collector.

-- 
Peter Kleiweg


[Rd] Process R segmentation with strsplit() (PR#6601)
Peter Kleiweg