title: passing function parameters in rpy2
body: <p>i am interested in passing function parameters using rpy2.  my function in R is normally called as follows:</p>
  
  <pre><code>rtn_val &lt;- fn(param1="str_param1",
                a.b.param2=NULL,
                param3=7,
                param4=FALSE)
  </code></pre>
  
  <p><strong>fn</strong> is contained in a library called <strong>MyLib</strong>.  so far, my python code looks like this:</p>
  
  <pre><code>from rpy2.robjects.packages import importr
  my_lib = importr("MyLib")
  </code></pre>
  
  <p>i am not sure how to pass the relevant parameters to <strong>my_lib.fn</strong>.  any guidance is much appreciated.  thanks!</p>