Speed up RData load

后端 未结 3 1210
清酒与你
清酒与你 2020-12-23 21:15

I\'ve checked several related questions such is this

How to load data quickly into R?

I\'m quoting specific part of the most rated answer

3条回答
  •  暖寄归人
    2020-12-23 21:34

    The main reason why RData files take a while to load is that the de-compression step is single-threaded.

    The fastSave R package allows using parallel tools for saving and restoring R sessions:

    https://github.com/barkasn/fastSave

    But it only works on UNIX (You should still be able to open the files on other platforms though).

提交回复
热议问题