In both cases julia 0.2., see output from versioninfo() below. counts() seems to come with julia
In the MAC julia> help(counts) Loading help data... counts (generic function with 5 methods) In win julia> help(counts) Loading help data... counts (generic function with 12 methods) Gustavo ------------- MAC ------------------------ Julia Version 0.2.1 Commit e44b593* (2014-02-11 06:30 UTC) Platform Info: System: Darwin (x86_64-apple-darwin12.5.0) WORD_SIZE: 64 BLAS: libgfortblas LAPACK: liblapack LIBM: libopenlibm ----------- WIN --------------------------------------------- julia> versioninfo() Julia Version 0.2.1 Commit e44b593* (2014-02-11 06:30 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm On Friday, April 18, 2014 9:15:57 AM UTC-5, Jacob Quinn wrote: > > What versions of julia are you running on both machines? (i.e. output of > `versioninfo()` ). I ask because there is no function `counts()` that I'm > aware of. Was this a function you wrote yourself? > > -Jacob > > > On Fri, Apr 18, 2014 at 10:12 AM, gdeloscampos > <[email protected]<javascript:> > > 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 >> > >
