Re: [R] Problem with rcmd SHLIB

2010-03-11 Thread denise xifaras
with rcmd SHLIB To: "denise xifaras" Cc: r-help@r-project.org Date: Thursday, March 11, 2010, 8:03 AM On 11/03/2010 10:57 AM, denise xifaras wrote: > Hi all, > > I am trying to call a C function from R (version 2.10.1) on a windows machine. > > The C code is in a .c file

[R] Problem with rcmd SHLIB

2010-03-11 Thread denise xifaras
Hi all, I am trying to call a C function from R (version 2.10.1) on a windows machine. The C code is in a .c file, I have pasted the code below although I'm very confident that it does not contain any errors (it is not my code), but also, the problem that I have occurs with every .c file that I

Re: [R] sequential sum of a vector...

2008-07-23 Thread denise xifaras
Dear Patrizio and all, Do you know a similar approach to this, so that *any* function is sequentially applied on a matrix? Particularly, instead of wanting to sum columns every 8 rows, how could we apply a linear regression to the columns of a matrix every 8 rows? ie, if we have a matrix say of