Take a look at http://onb.ent.psu.edu/onb1/ Look at the bottom of Software R/S-code. I believe spec.lomb is not a default package/function in Splus, that explains why you can not use spec.lomb unless you install the package "nlt". Hope this helps.