I'm not sure just how recently you switched over, but as of a week ago RStudio's latest 1.4 update enabled a whole bunch of Python support. Here's what my simultaneous R/Python workspace looks like when I'm using both now, and it's great for translating that old R code into Python.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…