sorry, forgot to mention.
krui_getVersion returns char *
SEXP snns_getVersion(void)
{SEXP version;
char *v;
PROTECT(version=NEW_CHARACTER(15));
v=CHARACTER_POINTER(version);
strcpy(v,krui_getVersion());
UNPROTECT(1);
return version;
}
--
View this message in context:
I am writing bindings to the neural network simulator SNNS.
At present I have used only .C interface, now I'm studying .Call interface.
I have adapted the example from page 77 of r-exts.pdf, however, it crashes
R.
I use MingW as recommended by Duncan Murdoch.
Please, tell me what I am missing.
No, in answer to the subject line.
On Tue, 23 Jan 2007, Vladimir Eremeev wrote:
I am writing bindings to the neural network simulator SNNS.
At present I have used only .C interface, now I'm studying .Call interface.
I have adapted the example from page 77 of r-exts.pdf, however, it crashes
Brian Ripley wrote:
No, in answer to the subject line.
On Tue, 23 Jan 2007, Vladimir Eremeev wrote:
I am writing bindings to the neural network simulator SNNS.
At present I have used only .C interface, now I'm studying .Call interface.
I have adapted the example from page 77 of