Start R. Enter help.start() Read "Introduction to R" to understand the basics. Then in R enter ?help.search and understand how to use that function for finding what you need. For instance, try ?mahalanobis and review the examples at the bottom. Lutz