Can I use a list as a hash in R? If so, why is it so slow?

前端 未结 7 787
遇见更好的自我
遇见更好的自我 2020-11-29 23:43

Before using R, I used quite a bit of Perl. In Perl, I would often use hashes, and lookups of hashes are generally regarded as fast in Perl.

For example, the followi

7条回答
  •  执笔经年
    2020-11-30 00:14

    You could try environments and/or the hash package by Christopher Brown (which happens to use environments under the hood).

提交回复
热议问题