title: Target of assignment expands to non-language object in R2.14.2
body: <p>I am new bee with respect to using R for analysis. I would really appreciate your support for solving the following query </p>
  
  <pre><code>data &lt;- read.csv ("Barcode.csv")   
  i &lt;- 1
  while (i &lt; 41)
  {
       barcode &lt;- c(data $b[i],data $c[i],data $d[i],data $e[i],data $f[i],
                    data $g[i],data $h[i],data $i[i],data $j[i],data $k[i],
                    data $l[i],data $m[i],data $n[i],data $o[i],data $p[i],
                    data $q[i],data $r[i],data $s[i],data $t[i],data $u[i],
                    data $v[i],data $w[i],data $x[i],data $y[i],data $z[i],
                    data $Aa[i],data $Ab[i])
      "work"[i] &lt;-barcode
      i &lt; - i+1
  }
  j &lt; - 1
  while (i &lt; 100)
  {
       barcode &lt;- c(data $b[i],data $c[i],data $d[i],data $e[i],data $f[i],
                    data $g[i],data $h[i],data $i[i],data $j[i],data $k[i],
                    data $l[i],data $m[i],data $n[i],data $o[i],data $p[i],
                    data $q[i],data $r[i],data $s[i],data $t[i],data $u[i],
                    data $v[i],data $w[i],data $x[i],data $y[i],data $z[i],
                    data $Aa[i],data $Ab[i])
  
      work [41] &lt;-barcode
      z &lt;- pairwise.t.test (work,paired = TRUE)
      dspres [j] &lt;- z
      i &lt;- i+1
      j &lt;- j+1
  }
  </code></pre>
  
  <p>Running this programme gives me following error <strong>"Error in "work"[i] &lt;- barcode : 
    target of assignment expands to non-language object"</strong></p>