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 sho
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 f
t; > [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 fi
ain 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 bug in 'scan'
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