Re: [Rd] type of list elements in .Call

From: Barry Rowlingson <>
Date: Tue 01 Feb 2005 - 02:13:05 EST

> as I would expect. I thought that if the vectors in the list could be
> regarded as integer vectors, they would be coerced appropriately, but
> apparently not. Is there any way I can tell R to regard them as integer
> vectors?


  .Call("printlst", list(c(1,2),c(3,4)))


.Call("printlst", list(as.integer(c(1,2)),as.integer(c(3,4))))

Baz mailing list Received on Tue Feb 01 01:21:51 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:43 EST