R lists: part of tag name -


i found out strange behaviour when using lists in r:

> a$abc = 15 > a$abc [1] 15 > a$ab [1] 15 > a$a null > a$ab = null > a$ab [1] 15 

is feature or bug? possible change behaviour? lot in advance!

r performs partial matching when using $, you'll abc when passing ab. matching not done single character. assignment:

a$ab = null 

simply nothing, check object afterwards. null object added list, in r means nothing added.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -