The rank function is broken -- it complains that the function lorder is unbound. To fix it, if you are compiling from the sources change the last line in stats.lsp from (defun rank (x) (xlisp::make-compound x (lorder (lorder x)))) to (defun rank (x) (xlisp::make-compound x (order (order x)))) On the mac or windows versions, the easiest fix is to Make a backup copy of xlisp.wks -- just to be safe Then in xlispstat do (defun rank (x) (xlisp::make-compound x (order (order x)))) (save-workspace "xlisp.wks") Copy the new workspace to the startup direcory if it isn't already there. -------------------------------------------------------------------------------