rpy2, package 'outliers' functions not working
<p>I have a problem with almost all functions from R`s package: outliers.
The "choosen one" function which working correctly is outliers</p>

<pre><code>list_ = ['chisq.out.test','cochran.test', 'dixon.test', 
         'grubbs.test', 'outlier',  'qcochran']
y = some data without brackets like 0.0, 0.0, 0.0, 0.48416666667,
for f in list_:
try:
    code = """ y=c({0});
           require(outliers);
           {1}(y);""".format(y, f)
</code></pre>

<p>I received message: </p>

<blockquote>
  <p>could not find function "complete.cases"</p>
</blockquote>

<p>I tried also:</p>

<pre><code>y = FloatVector([0.0, 0.0, 0.0, 0.48416666667, 0.48716666667])
outliers = importr('outliers')
outliers.outlier(y) //works
outliers.cochran.test(y) //not working -&gt; syntax is different
</code></pre>

<p>Do you have any suggestions, how can I solve that?
Thanks in advance </p>

<p>In R, the "dot" can be used in variable names. It cannot in Python.</p>

<p><code>importr</code> is trying to help with this as described here:
<a href="http://rpy2.readthedocs.io/en/version_2.8.x/robjects_rpackages.html" rel="nofollow">http://rpy2.readthedocs.io/en/version_2.8.x/robjects_rpackages.html</a></p>

python rpy2 outliers