Does anyone have a guess why creating a data frame created from a python dictionary of lists would "occasionally" segfault? That is, given ...
a = a list b = another list c = another list df = r.data_frame(a=a, b=b, c=c) has never failed me. However, if I create a dictionary first ... >>> dct = {'a':a, 'b':b, 'c':c} >>> df = r.data_frame(dct) ... will occasionally segfault. (I typically have to do 100,000 analyses where list c gets replaced each iteration, while a and b remain static. I might get ~30,000 to work, and then crash.) I'm trying to generalize some code and the first syntax doesn't generalize to arbitrary numbers of columns in my frames. This is with python-2.4.3, R-2.3.1, rpy1.0rc1. Gary ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list