Re: [Rpy] Handling NAs in data.frames and vectors

2010-01-15 Thread Laurent Gautier
Hi Luca, Unfortunately this does not seem to be caused by your installation. The problem exists for IntVector, and FactorVector inherits from it. Few features are likely missing from FactorVector, but the good thing is that they already can be implemented simply. Let's take an example: import

[Rpy] Handling NAs in data.frames and vectors

2010-01-15 Thread Luca Beltrame
Hello, in my code, I need to convert the columns from a robjects.DataFrame to other data types (list, for example). Howver, I've found a problem when dealing with data that contains NAs. In particular, I'm referring to non-numeric columns, that are represented as FactorVectors. Example code: