官术网_书友最值得收藏!

Summary

In this chapter, we saw how R programs can sometimes encounter the three constraints faced by computing performance—CPU, RAM, and disk I/O. We looked into R's design and learned how its interpreted and single-threaded nature can cause it to run slowly, and how it can encounter memory and disk I/O limitations when data becomes too big to fit into the RAM. Finally, we looked at how the design of R code plays an important role in determining the performance using a comparison between two implementations of the Fibonacci function with very different performance characteristics.

These performance issues are not insurmountable. The rest of this book will show you different ways to overcome or work around them and unlock the hidden potential of R.

主站蜘蛛池模板: 拜泉县| 甘洛县| 西昌市| 石屏县| 巧家县| 永定县| 耿马| 武穴市| 梁山县| 镇巴县| 和平区| 商水县| 南雄市| 凤冈县| 平邑县| 吴旗县| 商城县| 略阳县| 巴青县| 南宫市| 济阳县| 阜南县| 舟曲县| 米脂县| 晋州市| 康保县| 曲沃县| 兖州市| 安陆市| 东安县| 靖宇县| 沧州市| 巴塘县| 桓台县| 桃江县| 乐东| 兰溪市| 临洮县| 乌兰察布市| 云林县| 平潭县|