Hi,

I'm using reshape to cast molten data. When I use the following command, R 
either crashes (when I use Notepad++) or gives an error (when I use Rgui or 
source()), BUT the error occurs not always, maybe only on half the attempts:
w <- cast(v, id + code + productname + year + begin + end + specificDesc + 
specificDesc2 ~ type)
Error in merge.data.frame(data, all.combinations, by = unlist(vars), sort = 
FALSE,  : 

  invalid 'yinds' argument

What does this message mean, and how can I get rid of the error? I tried 
changing the colvars from character to factor, but that didn't help.

I'm using R2.10.1 and either WinXP or Win2000.

 Thanks in advance,
Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have the 
Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

	[[alternative HTML version deleted]]

