[julia-users] Re: ERROR: LoadError: could not spawn `make all`: no such file or directory (ENOENT)...while loading ...\Rif.jl,

2016-07-03 Thread 'Danny Hunt' via julia-users
This works great, thank so much! On Sunday, July 3, 2016 at 10:30:41 AM UTC-4, Diego Javier Zea wrote: > Hi! > There is another package for using R from Julia named RCall.jl > RCall works fine in Windows. > Best,

[julia-users] Re: How can I find the common elements of two matrix(or arrays)?

2016-07-03 Thread Cedric St-Jean
Maybe I'm missing something, but doesn't find(Mat_a .== Mat_b) work as in Matlab? (Julia needs the dot before the ==) On Sunday, July 3, 2016 at 10:18:10 PM UTC-4, siyu song wrote: > > But intersect doesn't tell us the index of the elements in the > matrix(array), I think. > 在 2016年7月4日星期一

Re: [julia-users] How to store tuples in different jld files

2016-07-03 Thread Tim Holy
Duplicated in http://stackoverflow.com/questions/38147946/julia-how-to-store-tuples-in-different-files --Tim On Friday, July 1, 2016 7:48:34 AM CDT Ahmed Mazari wrote: > Hello, > > l want to store each tuple X[p] in a different file > # X[1] in mini_batch1.jld X[2] in mini_batch2. > # but

[julia-users] Re: MYSQL/MARIADB Big INSERT

2016-07-03 Thread Jeffrey Sarnoff
While I am not a user of MariaDB/MySQL, this may be of help. The most common way to speed bulk record insertion avoids your current 1 record per insertion loop by inserting multiple values [rows] with each INSERT. In SQL: INSERT INTO MyTable (id, firstname, lastname) VALUES (1,

Re: [julia-users] Re: a compilation question

2016-07-03 Thread Cedric St-Jean
It doesn't work all the time for me either, but in general: - Don't `using A` if you want to reload A. Import it and write `A.foo()` instead. - If B imports/uses A, you'll have to reload A first, then reload B. - Beware of the infamous issue 265 On

[julia-users] Re: a compilation question

2016-07-03 Thread chobbes158
I just found that `reload()` sometimes doesn't work at all. I `reloaded` a module that I modified. But I still see the same results as before the package was modified. Btw, this module is a local module, not a package installed via `Pkg.add()`. What might be a possible cause? Another question:

Re: [julia-users] using in try catch block

2016-07-03 Thread Tony Kelman
Be aware that doing this kind of thing in combination with precompilation is brittle and error prone (precompiled results will not match the actual status of available packages if that changes). Optional dependencies are better supported by moving code that depends on both other packages into

Re: [julia-users] using in try catch block

2016-07-03 Thread Jeffrey Sarnoff
Re: Pkg.is_installed(_), Pkg.is_missing(_) Pkg.has(_) On Monday, June 27, 2016 at 1:48:41 PM UTC-4, Yichao Yu wrote: > > On Mon, Jun 27, 2016 at 1:43 PM, Cameron McBride > wrote: > > > > > > On Mon, Jun 27, 2016 at 1:02 PM, Yichao Yu > wrote: >

[julia-users] Re: How can I find the common elements of two matrix(or arrays)?

2016-07-03 Thread Fred
intersect(a,b) union(a,b) Le dimanche 3 juillet 2016 19:54:02 UTC+2, siyu song a écrit : > > In MATLAB, it's easy to do this by using : find(Mat_a == Mat_b). Is there > an easy similar way to do this? >

Re: [julia-users] JuliaCon schedule announced

2016-07-03 Thread Viral Shah
They will keep trickling in. We will announce widely when everything is up. -viral > On 03-Jul-2016, at 9:25 AM, dnm wrote: > > Will Stefan's talk and the other keynote be up? > > On Friday, July 1, 2016 at 12:36:19 AM UTC-4, Christian Peel wrote: > A link:

[julia-users] MYSQL/MARIADB Big INSERT

2016-07-03 Thread Andrey Stepnov
Hi Community! I just try to INSERT around 580K rows to MaraDB-table from array B: julia> B 586973x4 Array{Float64,2}: 54.1958 142.929 0.15 333.636 … using MySQL con = mysql_connect("127.0.0.1", "DB", "PASS", "srss_api_production") # convert to tuple for big insert pgavals =

[julia-users] How can I find the common elements of two matrix(or arrays)?

2016-07-03 Thread siyu song
In MATLAB, it's easy to do this by using : find(Mat_a == Mat_b). Is there an easy similar way to do this?

[julia-users] Re: Question about standalone AOT compile Julia size

2016-07-03 Thread dnm
Follow up question - I assume this would depend partially on the specificity of the compiled code. So a fully "type stable" program would eschew generic code generation and be smaller, correct? On Sunday, July 3, 2016 at 12:24:40 PM UTC-4, dnm wrote: > > Hello, > > I saw Jameson's great

Re: [julia-users] Re: JuliaCon schedule announced

2016-07-03 Thread dnm
Will Stefan's talk and the other keynote be up? On Friday, July 1, 2016 at 12:36:19 AM UTC-4, Christian Peel wrote: > > A link: https://www.youtube.com/user/JuliaLanguage/videos > > On Thu, Jun 30, 2016 at 3:43 AM, Viral Shah > wrote: > >> They have already started appearing.

[julia-users] Question about standalone AOT compile Julia size

2016-07-03 Thread dnm
Hello, I saw Jameson's great Juliacon talk and I'm interested in the discussion about memory footprint. When mature AOT compilation for Julia code deployment is available (ie to C, or binaries or web assembly), what will be the approximate size of this binary blob? Libjulia itself is around

[julia-users] Re: Big problems with Pkg

2016-07-03 Thread Tony Kelman
Check Pkg.status(); anything you have checked out to master, you should probably run Pkg.free on. On Sunday, July 3, 2016 at 3:10:16 AM UTC-7, Henri Girard wrote: > > How can I clean my julia after this error ? > > Pkg.checkout("GLPlot"); Pkg.checkout("GLWindow"); >

Re: [julia-users] Re: How to make a tree datastructure with vector data in JULIA ?

2016-07-03 Thread Andre Bieler
and maybe someday I will be smart enough for syntax highlighting... maybe..

Re: [julia-users] Re: How to make a tree datastructure with vector data in JULIA ?

2016-07-03 Thread Andre Bieler
Hi Ahmed, sorry for the late answer, but it is a busy weekend... I am not sure I understand your question, but the following for loop connects the leafs to the children. for i in 1:nChildren root.child[i].child = all_leafs[i] end Here a full example code where some information is printed in the

[julia-users] ERROR: LoadError: could not spawn `make all`: no such file or directory (ENOENT)...while loading ...\Rif.jl,

2016-07-03 Thread Diego Javier Zea
Hi! There is another package for using R from Julia named RCall.jl RCall works fine in Windows. Best,

[julia-users] Re: a compilation question

2016-07-03 Thread chobbes158
Yaakov, Thanks a lot for suggesting `Pkg.test`. It's truly one of the most efficient ways to reload what is necessary smartly. Thanks! On Sunday, July 3, 2016 at 11:02:28 AM UTC+1, Yaakov Borstein wrote: > > I have found that writing your code using a test first pattern ends up > being the

[julia-users] Big problems with Pkg

2016-07-03 Thread Henri Girard
How can I clean my julia after this error ? Pkg.checkout("GLPlot"); Pkg.checkout("GLWindow"); Pkg.checkout("GLAbstraction"); Pkg.checkout("ModernGL") INFO: Checking out GLPlot master... INFO: Pulling GLPlot latest master... WARNING: ApproxFun is fixed at 0.2.0+ conflicting with requirement for

[julia-users] a compilation question

2016-07-03 Thread Yaakov Borstein
I have found that writing your code using a test first pattern ends up being the most productive approach long-term and also solves the warnings issue. Running Pkg.test("mypack") takes care of reloading and you'll never need to restart the REPL. It's a change in workflow that requires a bit