Re: [R] Strange problems with compiling dll

2010-12-03 Thread Mike Marchywka
> Date: Fri, 3 Dec 2010 08:07:15 +0100 > From: rom...@r-enthusiasts.com > To: r-help@r-project.org > CC: diklev...@gmail.com > Subject: Re: [R] Strange problems with compiling dll > > Hello, > > Your question is more

Re: [R] Strange problems with compiling dll

2010-12-02 Thread Romain Francois
Hello, Your question is more appropriate on the R-devel mailing list. Le 03/12/10 00:41, Oleksandr Dyklevych a écrit : Dear sir\madam! I'm trying to speed up my R code by writing quite simple dll's in C. But I faced some problems, and I cannot determine their source. #include SEXP mycombi

[R] Strange problems with compiling dll

2010-12-02 Thread Oleksandr Dyklevych
Dear sir\madam! I'm trying to speed up my R code by writing quite simple dll's in C. But I faced some problems, and I cannot determine their source. #include SEXP mycombin(SEXP N, SEXP k){ int i, *j, *l, c; j = INTEGER(k);l = INTEGER(N); c = 1; if(j[0] > 0 && j[0] < l[0]){