Hello I want to call C function from R. I follow the instruction below using the example of foo.c http://www.stat.umn.edu/~charlie/rc/
I saved the foo.c in my work directory. Then I entered the command R CMD SHLIB foo.c , I got the following message Error: unexpected symbol in "R CMD" How did it go wrong? Thanks! Regards Shangru Li [[alternative HTML version deleted]] ______________________________________________ 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.