[Rd] possible bug in 'scan'

2007-06-26 Thread Benjamin Tyner
R-devel, When I run the following code on the attached file, tmp - scan(C:/temp.csv, what=list(character,numeric), sep=,) Then tmp[[2]] is a character vector. My impression from the help file is that it should be a numeric as specified by 'what' sessionInfo() R version

Re: [Rd] possible bug in 'scan'

2007-06-26 Thread Greg Snow
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Tyner Sent: Tuesday, June 26, 2007 9:59 AM To: r-devel@r-project.org Subject: [Rd] possible bug in 'scan' R-devel, When I run the following code on the attached file, tmp - scan(C

Re: [Rd] possible bug in 'scan'

2007-06-26 Thread Benjamin Tyner
Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Tyner Sent: Tuesday, June 26, 2007 9:59 AM To: r-devel@r-project.org Subject: [Rd] possible

Re: [Rd] possible bug in 'scan'

2007-06-26 Thread Dan Davison
Hi Ben, On Tue, Jun 26, 2007 at 11:58:35AM -0400, Benjamin Tyner wrote: R-devel, When I run the following code on the attached file, tmp - scan(C:/temp.csv, what=list(character,numeric), sep=,) Then tmp[[2]] is a character vector. My impression from the help file

Re: [Rd] possible bug in 'scan'

2007-06-26 Thread Prof Brian Ripley
On Tue, 26 Jun 2007, Benjamin Tyner wrote: R-devel, When I run the following code on the attached file, tmp - scan(C:/temp.csv, what=list(character,numeric), sep=,) Then tmp[[2]] is a character vector. My impression from the help file is that it should be a numeric