I have a small program that uses DataFrames to read in a file, does some simple computation and then plots some variables using Winston. I run it with the following:

julia> include("PlotBasics.jl")
PlotBasics (generic function with 1 method)

julia> PlotBasics()

It runs fine the first time, but if I change the variables for plot and run it the second time, I got the following errors now (it used to run perfectly before). If I restart julia and run it again, it runs fine the first time.

julia> PlotBasics()
ERROR: `convert` has no method matching convert(::Type{Array{Float64,N}}, ::Array{Int64,1})
 in convert at base.jl:13
 in builddf at /home/xxx/.julia/DataFrames/src/dataframe/io.jl:583
 in readtable! at /home/xxx/.julia/DataFrames/src/dataframe/io.jl:783
 in readtable at /home/xxx/.julia/DataFrames/src/dataframe/io.jl:868
 in readtable at /home/xxx/.julia/DataFrames/src/dataframe/io.jl:935

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.2 (2014-10-21 20:18 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
|__/                   |  x86_64-linux-gnu

Reply via email to