Question was answered ... thank you all. ----- Original Message ----- From: Amir Soofi To: R-help@lists.R-project.org Sent: Thursday, November 20, 2003 2:38 PM Subject: incorporating R into C I've become somewhat decent with R over the last month, and I feel confident that nothing online can help me with this question, and hence I'm putting it to this list, gratefully. Is it possible to call a R function, like nlm(), which is from the base package, in a C or C++ program? I've looked through the source, and I don't think it was the designer's intent to allow such a usage of their libraries. If someone has an example of how this can be done, or has done it in the past with another function, we would very much appreciate your help. Thank you, Amir Soofi soofi@cs.ucla.edu [[alternative HTML version deleted]]