Re: [R] Reserve word in could not be used it as a dimname?

2013-07-11 Thread S Ellison
-Original Message- Reserved words outside quotes are always parsed to be references to the objects linked to in the 'Description', and hence they are not allowed as syntactic names (see make.names). They are allowed as non-syntactic names, e.g. inside backtick quotes. You

[R] Reserve word in could not be used it as a dimname?

2013-07-10 Thread jpm miao
Hi, I have a matrix whose columns are named as in and out. Then I coerce it to be a data.frame. However the system seems to forbid me from using the name in, but I am not aware of it until I call it by the dollar sign $. Is there something R should remind me but it does not? Is there any

Re: [R] Reserve word in could not be used it as a dimname?

2013-07-10 Thread Pascal Oettli
Hello, in is a reserved word. ?Reserved Hope this clarifies, Pascal 2013/7/11 jpm miao miao...@gmail.com Hi, I have a matrix whose columns are named as in and out. Then I coerce it to be a data.frame. However the system seems to forbid me from using the name in, but I am not aware

Re: [R] Reserve word in could not be used it as a dimname?

2013-07-10 Thread jpm miao
Just wonder why R does not remind me so when I use it as a dimname... 2013/7/11 Pascal Oettli kri...@ymail.com Hello, in is a reserved word. ?Reserved Hope this clarifies, Pascal 2013/7/11 jpm miao miao...@gmail.com Hi, I have a matrix whose columns are named as in and out.

Re: [R] Reserve word in could not be used it as a dimname?

2013-07-10 Thread Pascal Oettli
Hello, You can offer your help to develop a built-in function designed to internally check the use of reserved words. Or, citing the help page: Reserved words outside quotes are always parsed to be references to the objects linked to in the ‘Description’, and hence they are not allowed as