[R] Error Message from R

Ben Bolker bolker at ufl.edu
Sat Oct 13 22:50:03 CEST 2007

Rutendo Dadiso Kaviya wrote:
> Hi, 
>   I am trying to calculate the descretionary accruals using the
> bootstrapping technique with the R program, but I keep getting an error
> message.
>   Previously, after typing in the command on the front sreen, R would
> return the output without any problems. I am now using a different
> dataset, and am getting the following error:
>   Error in solve.default(t(X) %*% X) : system is computationally singular:
> reciprocal condition number = 3.48336e-17
>   And the command I typed is:
>   source("prog2.txt")
>   I have checked my datafiles and the prog.txt files but everything
> appears to be in order. Do you know what this error refers to, or what I
> need to do to resolve the problem?
>   Regards,
>   Rutendo Kaviya

  We can't possibly help you with this little data.  As it says at the
bottom of every R-help message

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

  If you the posting guide isn't clear, please feel free to write back to
the list
with reasonably precise questions about what you don't understand about it.

    Ben Bolker

View this message in context: http://www.nabble.com/Error-Message-from-R-tf4617635.html#a13193338
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list