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
How embarrassing -- works like a charm.
On 6/26/07, Greg Snow <[EMAIL PROTECTED]> wrote:
> The what argument looks at what the elements are, not the word they say.
> Try this:
>
> > tmp <- scan("C:/temp.csv",
> > what=list("",0),
> > sep=",")
>
> Hope this helps,
>
> --
> G
The what argument looks at what the elements are, not the word they say.
Try this:
> tmp <- scan("C:/temp.csv",
> what=list("",0),
> sep=",")
Hope this helps,
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-811