Getting rid of NA values in R when importing a CSV file
<p>I am new to R, so bear with me. I want to import a csv file into r that contains blank cells. I want to get rid of NA values. So far I have the following code:</p>

<pre><code>    dataActiveShare &lt;- read.csv("ActiveShare.csv", header=TRUE, sep=",", dec=".", na.strings="NA")
</code></pre>

<p>However, the data still contain NA values when reading in r. I receive the following error:</p>

<pre><code>    Error in read.table(file = file, header = header, sep = sep, quote = quote,  :   unused argument (na.rm = TRUE)
</code></pre>

<p>Any ideas how I can ignore the blank cells? (By the way I am not trying to omit rows that contain blank cells)</p>