3

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

Malabarba
  • 23,148
  • 6
  • 79
  • 164
wvxvw
  • 11,342
  • 2
  • 31
  • 56

1 Answers1

5

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.

nicael
  • 1,608
  • 2
  • 14
  • 20
hrr4
  • 64
  • 3
  • 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 '14 at 16:49