Restart R within Rstudio

后端 未结 4 1094
感情败类
感情败类 2020-12-13 08:56

I\'m trying to call a simple python script from within R using system2(). I\'ve read some information I found vague that said if \'too much\' memory is used, it won\'t work.

4条回答
  •  北海茫月
    2020-12-13 09:40

    Have you tried embedding the function call within the apply function, rather than a for loop?

    I've had some pieces of code that ran the system out of memory in a for loop run perfectly with apply. It might help?

提交回复
热议问题