I have a pandas data frame that I would like to convert to an R data frame to use via `rpy2`

. The data types of pandas data frame are booleans, specifically `numpy.bool_`

. I get a `KeyError`

when trying to use `convert_to_r_dataframe`

. I am using pandas 0.13.1.

I am doing something I should not be doing? Should I not be using numpy booleans?

Here is an example,

```
import pandas
import pandas.rpy.common as common
import numpy as np
# This works fine.
test_df_float = pandas.DataFrame(np.random.rand(10, 3), columns=list('xyz'))
r_test_df_float = common.convert_to_r_dataframe(test_df_float)
# This is a problem.
test_df_bool = pandas.DataFrame(np.random.rand(10, 3) > 0.5, columns=list('xyz'))
r_test_df_bool = common.convert_to_r_dataframe(test_df_bool)
KeyError Traceback (most recent call last)
<ipython-input-11-323084399e95> in <module>()
----> 1 r_test_df_bool = common.convert_to_r_dataframe(test_df_bool)
/usr/lib/python2.7/site-packages/pandas/rpy/common.pyc in convert_to_r_dataframe(df, strings_as_factors)
311 for item in value]
312
--> 313 value = VECTOR_TYPES[value_type](value)
314
315 if not strings_as_factors:
KeyError: <type 'numpy.bool_'>
```