Re: [R] Determining if an object name does not exist

2012-01-14 Thread Duncan Murdoch
On 12-01-14 5:47 AM, Ajay Askoolum wrote: Is there a way to tell whether an object name 1. is valid 2. is not going to cause a collision with an existing object by the same name? For 1, you could put your names in a character vector x, then check whether x and make.names(x) are identical; if

[R] Determining if an object name does not exist

2012-01-14 Thread Ajay Askoolum
Is there a way to tell whether an object name 1. is valid 2. is not going to cause a collision with an existing object by the same name? Thanks. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mai