Re: [R] FW: why is it numeric(0)?

From: Duncan Murdoch <>
Date: Wed 01 Jun 2005 - 09:59:22 EST

luan_sheng wrote:
> yea, I have read the help. But some one tell me that i f you want use a
> vector that you don't know it's length, you should use xx=numric(0) ,
is it
> not right? If it isn't right, how can I do?

It depends on the context. Why do you need a vector, but don't know its length? Normally in a situation like that you'd just delay creating it until you knew the length.

Duncan Murdoch mailing list PLEASE do read the posting guide! Received on Wed Jun 01 10:09:25 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:17 EST