Even if I copy the example from here: http://www.gnu.org/software/emacs/manual/html_node/calc/Linear-Fits.html#Linear-Fits this one:

[ [ 1, 2, 3, 4,  5  ]
  [ 5, 7, 9, 11, 13 ] ]

to be more specific, and then press a F 1 RET, all I get is the error message "Model expression is too complex: a + b * x". Do I have to do something special to make it work? Calc can plot data, so that's not an issue.

Running emacs -Q gives the same result.

Emacs Version: GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.8.2) of 2013-08-14 on buildvm-15.phx2.fedoraproject.org

  • What Emacs version are you running? The example works fine here (Emacs v24.3.1, Ubuntu 14.04).
    – ph0t0nix
    Oct 13, 2014 at 13:36

1 Answer 1


I'm having exactly the same issue, anything I try to fit gives me the same complaint. I stumbled across this though, which just says it's a bug in 24.3 and fixed in 24.4.

  • 2
    Yes, that must be it. Just tried it with a newer version (GNU Emacs 24.4.50 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)), and got the expected result.
    – wvxvw
    Oct 13, 2014 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.