Hello,

I'm trying to do the following in R

mydataframe[mydataframe == 0] <- NA

However, if I try to do the following in Python, with rpy2

mydataframe.rx[mydataframe.ro == 0] = robjects.NA_Logical

I get a RRuntimeError:

Error in is.atomic(value): 'value' is missing

Is it a bug or am I doing something wrong? 

Thanks.

-- 
Luca Beltrame, Ph.D. - Translational Genomics Unit
Oncology Department, Mario Negri Institute

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to