I'm using Lubuntu 15.04. VERSION gives me 0.3.2 and x86_64-linux-gnu.
However, I'm getting this error after changing WalkingRandomly's demo:
"ERROR: `curve_fit` has no method matching curve_fit(::Function,
::Array{Float64,1}, ::Array{Float64,1}, ::Array{Float64,1})"
What it suggests is
# 2 methods for generic function "curve_fit":
curve_fit{T}(::Type{T},x,y) at
/home/paul/.julia/v0.3/CurveFit/src/linfit.jl:72
curve_fit{T}(::Type{T},x,y,args...) at
/home/paul/.julia/v0.3/CurveFit/src/linfit.jl:73
What is the difference between WR's example and what is suggested?
I'm trying nonlinear_fit(), but the example in the readme is rather obtuse.
On Sunday, September 20, 2015 at 2:54:55 PM UTC-4, Tony Kelman wrote:
>
> Call the function versioninfo(), or enter the constant VERSION
>
> Depending on what version of Ubuntu you're using, the Julia that you
> installed from apt-get is probably quite out of date. It's better to use
> the more recent tarball releases available from
> www.julialang.org/downloads.
>
>
> On Sunday, September 20, 2015 at 10:46:53 AM UTC-7, testertester wrote:
>>
>> I am on Ubuntu, and my copy of julia was installed with apt-get install
>> julia.
>>
>> I was trying the curve fitting tutorial found here (
>> http://www.walkingrandomly.com/?p=5181) but I kept getting the error
>> "curve_fit not defined". Yes, I have done "Pkg.add("Optim")" and
>> "Pkg.add("LsqFit")", that doesn't help. Apparently, nobody else on the
>> internet has ever had this problem.
>> <https://www.google.com/search?client=ubuntu&channel=fs&q=%22curve_fit+not+defined%22&ie=utf-8&oe=utf-8>I'm
>>
>> surprised.
>>
>> Also, it doesn't seem like I can find the version number of Julia that
>> I'm using. Following this (
>> http://stackoverflow.com/questions/25326890/how-to-find-version-number-of-julia-is-there-a-ver-command)
>>
>> just gives me the error "verbose not defined". Is every piece of
>> documentation about Julia from earlier than 6/2015 invalid now? The
>> responses I found here
>> <https://groups.google.com/forum/#!topic/julia-users/djWGrU6z3Hc>are
>> pretty useless, as curve_fit doesn't even work by itself.
>>
>