interesting. I think this is a first I've heard of an order-of-magnitude slow down.
- could you elaborate what you mean your script being "heavy"?
- how are you accessing the data? I'm assuming you are not reading it all into memory.
- how are you running it in Rstudio vs R?
a couple other possibilities