On Sun, Dec 16, 2012 at 6:20 PM, Shangru Li <lishan...@gmail.com> wrote:
> Hi
> The function "Projector" works well and actually the interface with .C
> works OK.
> The question is that I can compile it in R, but ".Call" returns different
> result each time with same inputs. Could anybody tell me why? Thanks!
>

I haven't read through your code but .C and .Call are actually pretty
different -- is there any reason you'd expect code written for one
interface to work for the other? You might just be seeing random bits
of memory returned by .Call

MW

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to