On Wed, 2004-12-15 at 12:05, Ross Boylan wrote: > libR seems to include a main() function. Should it? I think I've tracked this down, and it seems to be specific to R 1.9. The 2.0 libR does not include main.
I believe main is present in 1.9 because the link line for libR includes a reference to "../unix/*.lo". One of those file is the object for system.c, which includes main. On reviewing "Writing R Extensions" for 1.9.1, I note there is no reference in it to an independent programming calling libR. I saw this with 1.9.1 on Debian and Mac OS X. ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
