Relative Content

Tag Archive for pythonrrpy2

Rpy2 crushing when running it multiple times in the same python script

I have a python script that I use with rpy2, however in my code I need to repeatedly use R code, I do so by using the rpy2.robjects() function.
I have noticed that the first run of the R code works perfectly, no errors and no crushes. However while going into the second loop, I get the following error:

Rpy2 crushing when running it multiple times in the same python script

I have a python script that I use with rpy2, however in my code I need to repeatedly use R code, I do so by using the rpy2.robjects() function.
I have noticed that the first run of the R code works perfectly, no errors and no crushes. However while going into the second loop, I get the following error: