Re: [julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-18 Thread Kevin Squire
If you have plenty of time, try scanning these conversations for an answer: https://groups.google.com/forum/#!msg/julia-dev/4K6S7tWnuEs/RF6x-f59IaoJ https://groups.google.com/forum/#!topic/julia-users/nQg_d_n0t1Q https://github.com/JuliaLang/julia/issues/1771 https://github.com/JuliaLang/julia/iss

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-18 Thread Ivar Nesje
And why isn't this most frequently asked question covered in our FAQ? http://docs.julialang.org/en/latest/manual/faq/

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-18 Thread David van Leeuwen
On Friday, January 16, 2015 at 2:44:51 PM UTC+1, Steven G. Johnson wrote: > > > > On Friday, January 16, 2015 at 6:59:19 AM UTC-5, K leo wrote: >> >> I want the array to be initialized with every element being "". Can't >> say about 0.3.4, but it definitely worked under 0.3.3. Are there any othe

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread K leo
I can't tell now. My program uses DataFrames, so maybe it was it that defined this. On Friday, January 16, 2015, Kevin Squire wrote: > I believe DataFrames.jl used to define this, at least. > > Cheers, >Kevin > > On Fri, Jan 16, 2015 at 5:54 AM, Milan Bouchet-Valat > wrote: > >> Le vendred

Re: [julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread Kevin Squire
I believe DataFrames.jl used to define this, at least. Cheers, Kevin On Fri, Jan 16, 2015 at 5:54 AM, Milan Bouchet-Valat wrote: > Le vendredi 16 janvier 2015 à 19:59 +0800, K leo a écrit : > > I want the array to be initialized with every element being "". Can't > > say about 0.3.4, but it

Re: [julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread Milan Bouchet-Valat
Le vendredi 16 janvier 2015 à 19:59 +0800, K leo a écrit : > I want the array to be initialized with every element being "". Can't > say about 0.3.4, but it definitely worked under 0.3.3. Are there any > other easy ways for what I want? As Ivar said, this was probably defined in some package, not

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread Steven G. Johnson
On Friday, January 16, 2015 at 6:59:19 AM UTC-5, K leo wrote: > > I want the array to be initialized with every element being "". Can't say > about 0.3.4, but it definitely worked under 0.3.3. Are there any other > easy ways for what I want? If anything, this should be ones(UTF8String, n).

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread Daniel Høegh
You can do it with an array comprehension like: ["" for i=1:5]

[julia-users] Re: Error: zeros(UTF8String, 5)

2015-01-16 Thread K leo
I want the array to be initialized with every element being "". Can't say about 0.3.4, but it definitely worked under 0.3.3. Are there any other easy ways for what I want? On Friday, January 16, 2015, Milan Bouchet-Valat wrote: > Le vendredi 16 janvier 2015 à 14:29 +0800, K leo a écrit : > >