相关疑难解决方法(0)

你可以缩写列表名称吗?为什么?

这让我非常糟糕.你可以缩写列表名称吗?我之前从未注意到它,而且我完全搞砸了一天.有人可以解释这里发生了什么,为什么它可能比它可怕更有用?为什么它与底部的不一致?如果我可以关掉它?

> wtf <- list(whatisthe=1, pointofthis=2)  
> wtf$whatisthe  
[1] 1  
> wtf$what  
[1] 1  

> wtf <- list(whatisthe=1, whatisthepointofthis=2)  
> wtf$whatisthepointofthis  
[1] 2  
> wtf$whatisthep  
[1] 2  
> wtf$whatisthe  
[1] 1  
> wtf$what  
NULL  
Run Code Online (Sandbox Code Playgroud)

r list names

16
推荐指数
1
解决办法
322
查看次数

标签 统计

list ×1

names ×1

r ×1