Ah. What's the output of Pkg.status() on both systems then? It may be an issue of different versions of the Stats package (there has also been some package renaming since 0.2, so it may be StatsBase)
-Jacob On Fri, Apr 18, 2014 at 10:50 AM, gdeloscampos <[email protected]>wrote: > Clarification: You are correct, counts() does not come with the basic > installation, it is a function included in the Stats package... > > > > > On Friday, April 18, 2014 9:12:05 AM UTC-5, gdeloscampos wrote: >> >> >> Hello, I wrote some JULIA script and test it for long time on a MAC, when >> I tried to run the same code on a Windows machine I got an error with the >> counts() function. >> >> To narrow this to its essence >> >> counts([1,2,2,2,3,3]) >> >> returns the expected outcome in MAC >> >> julia> counts([1,2,2,2,3,3]) >> 3-element Array{Int64,1}: >> 1 >> 3 >> 2 >> >> And when I run the same command in a Windows machine I get >> >> ERROR: no method counts(Array{Int64,1},) >> >> Am I missing something? >> >> Thanks >> >> Gustavo >> >
