Re: [R] Another big data size problem

From: Federico Gherardini <f.gherardini_at_pigrecodata.net>
Date: Thu 29 Jul 2004 - 04:26:24 EST

Thanks for your suggestions,

On Wed, 28 Jul 2004 17:04:57 +0200
"Henrik Bengtsson" <hb@maths.lth.se> wrote:

>
> Anyway, I think you also should read the help for scan(). What do you want
> with argument 'what="PS"'? "PS" is not a valid data type; 'what' does not
> specify a name of field/column to be read.

>From the scan help page...

   what: the type of 'what' gives the type of data to be read.

It seems to me that I had read somewhere (maybe on the mailing list archives), that 'what' was supposed to be a sort of example of the kind of data you had to read... so I put a character string because I wanted the data to be read as character because I had a column of factors. I know this is not a great way to do it (better have a matrix made up of nubers only, instead of having to subsequently convert columns of character strings to number) but I wanted to do a quick test without having to rearrange my file.

Cheers,

fede



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 29 02:48:11 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:19 EST