Sorry but I wasn't very clear in my previous message. I want to compute the adjoint of a real matrix A, which is the transpose of the cofactor matrix of A. There is an example here: http://www.mathwords.com/a/adjoint.htm Does R have a function which will compute the cofactor of matrix A or the adjoint of a real matrix A? Thanks!