I have written a function evalLogOptimal(). I need to define it in R namespace so that I can call it from a Java program. How do I define an R function in the namespace? Thanks, Madhura