This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---1062723383-1338110495-951864474=:10358 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi. I want to report a bug in read.table. The attached output demonstrates the bug. Unfortunately, the data file contains confidential information and hence cannot be attached. Is there any way to figure out the cause of the bug and fix it? Thanks. Venkat ----------------------------------------------------------------------- E. S. Venkatraman, Ph.D. Phone: (212) 639-8520 Fax: (212) 717-3137 Assistant Attending Member Memorial Sloan-Kettering Cancer Center ----------------------------------------------------------------------- ---1062723383-1338110495-951864474=:10358 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="r1.out" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.OSF.4.05.10002291747540.10358@biosta.mskcc.org> Content-Description: Output from R. Content-Disposition: attachment; filename="r1.out" W3ZlbmthdEBtc2stMTMwLTE1MyB2ZW5rYXRdJCBSDQogDQpSIDogQ29weXJp Z2h0IDIwMDAsIFRoZSBSIERldmVsb3BtZW50IENvcmUgVGVhbQ0KVmVyc2lv biAxLjAuMCAgKEZlYnJ1YXJ5IDI5LCAyMDAwKQ0KIA0KUiBpcyBmcmVlIHNv ZnR3YXJlIGFuZCBjb21lcyB3aXRoIEFCU09MVVRFTFkgTk8gV0FSUkFOVFku DQpZb3UgYXJlIHdlbGNvbWUgdG8gcmVkaXN0cmlidXRlIGl0IHVuZGVyIGNl cnRhaW4gY29uZGl0aW9ucy4NClR5cGUgICAgIj9saWNlbnNlIiBvciAiP2xp Y2VuY2UiIGZvciBkaXN0cmlidXRpb24gZGV0YWlscy4NCiANClIgaXMgYSBj b2xsYWJvcmF0aXZlIHByb2plY3Qgd2l0aCBtYW55IGNvbnRyaWJ1dG9ycy4N ClR5cGUgICAgIj9jb250cmlidXRvcnMiIGZvciBhIGxpc3QuDQogDQpUeXBl ICAgICJkZW1vKCkiIGZvciBzb21lIGRlbW9zLCAiaGVscCgpIiBmb3Igb24t bGluZSBoZWxwLCB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OCAxOCAxOCAxOCAxOCAxOCAxOCAxOCAx OCAxOCAxOCAxOCAxOA0KIFs4OV0gMTggMTggMTggMTggMTggMTggMTggMTgg MTggMTggMTggMTggMTggMTggMTggMTggMTgNCkVycm9yIGluIHJlYWQudGFi bGUoIkNvbnN1bHQva3Jhc2RhdGEiLCBzZXAgPSAiXHQiKSA6DQogICAgICAg IGFsbCByb3dzIG11c3QgaGF2ZSB0aGUgc2FtZSBsZW5ndGguDQo+IA0KPiB2 ZXJzaW9uDQogICAgICAgICBfDQpwbGF0Zm9ybSBpNjg2LXVua25vd24tbGlu dXgNCmFyY2ggICAgIGk2ODYNCm9zICAgICAgIGxpbnV4DQpzeXN0ZW0gICBp Njg2LCBsaW51eA0Kc3RhdHVzDQptYWpvciAgICAxDQptaW5vciAgICAwLjAN CnllYXIgICAgIDIwMDANCm1vbnRoICAgIEZlYnJ1YXJ5DQpkYXkgICAgICAy OQ0KbGFuZ3VhZ2UgUg0KPiAgDQoNCg=---1062723383-1338110495-951864474=:10358-- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 29 Feb 2000 venkat@biosta.mskcc.org wrote:> > I want to report a bug in read.table. The attached output demonstrates > the bug. Unfortunately, the data file contains confidential information > and hence cannot be attached. Is there any way to figure out the cause > of the bug and fix it? Thanks.Here's the output in readable form. The bug seems to be that count.fields() thinks the records are the same length but read.table doesn't. -thomas [venkat@msk-130-153 venkat]$ R R : Copyright 2000, The R Development Core Team Version 1.0.0 (February 29, 2000) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type "?license" or "?licence" for distribution details. R is a collaborative project with many contributors. Type "?contributors" for a list. Type "demo()" for some demos, "help()" for on-line help, or "help.start()" for a HTML browser interface to help. Type "q()" to quit R.> options(width=72) > count.fields("Consult/krasdata",sep="\t")[1] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [23] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [45] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [67] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [89] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18> read.table("Consult/krasdata",sep="\t")row.lens [1] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [23] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [45] 18 18 18 18 18 18 18 18 18 18 18 18 18 1 1 18 18 18 18 18 18 18 [67] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 [89] 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 Error in read.table("Consult/krasdata", sep = "\t") : all rows must have the same length.> > version_ platform i686-unknown-linux arch i686 os linux system i686, linux status major 1 minor 0.0 year 2000 month February day 29 language R>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._