I haven't given it a shot yet. To complicate matters further, this file I
have already passed through a filter, which has already converted my null
values to NA. your insight might be of assistance.



On Thu, Sep 18, 2008 at 1:30 PM, Sebastian Weirich <lebaron2000@gmx.net>wrote:
Hello,

maybe you load the csv-file in a text-editor and use the "replace"-Function
to change every ,, into ,i, or something similar, maybe an indicator number
like ,7, . Reading this into R allows for counting all 7-numbers.

Sebastian

Sebastian,
I am told that I should not modify the file, not to mention that it is over
2GB in length. Thanks for the suggestion, though.


On Thu, Sep 18, 2008 at 1:28 PM, Henrik Bengtsson <hb@stat.berkeley.edu>wrote:

> What have you tried this far?  Can't you parse them as missing values,
> i.e. NAs?   See ?read.csv and arguments '...', i.e. the arguments
> '...' are passed to read.table() which takes argument 'na.strings' - a
> character *vector* of strings that you want to be interpreted as NAs.
> See ?read.table for more details.
>
> My $.02
>
> Henrik
>
> On Thu, Sep 18, 2008 at 10:11 AM, Jason Thibodeau <jbloudg20@gmail.com>
> wrote:
> > Hello all,
> >
> > I have a CSV file, that is 2411 columns wide. There are certain instances
> in
> > teh file, where null values are located. That is: two commas together,
> > without anything in the middle. In a certain section, the only possible
> > values are NULL, 0,1,and 2. I need to be able to detect these NULL's and
> be
> > able to have them counted. For example, in a frequency table. How can I
> > accomplish this?
> >
> > Thanks in advance for the help.
> >
> > --
> > Jason Thibodeau
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>



-- 
Jason Thibodeau

	[[alternative HTML version deleted]]

