Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by shared4you on Tuesday April 02, 2013 @04:39AM
(#5478282)
One thing that is holding me back from porting my Matlab code to Julia is manual loop-unrolling. "It seems that, when using Julia, one needs to unlearn everything you’ve ever learned about vectorisation in MATLAB." [1]. Once the speed with Matlab-like syntax improves, I'll try again.
Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by pygy_ on Tuesday April 02, 2013 @05:50AM
(#5478402)
> Once the speed with Matlab-like syntax improves, I'll try again.
The @devec macro should help, meanwhile:
@devec r = a .* b + c .* d + a
... will devectorize the expression. It's not perfect, but it's definitely useful.
Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by nimrody on Tuesday April 02, 2013 @04:52AM
(#5478306)
Do you feel 2D plotting is sufficiently developed to be useful at this point?
Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by shared4you on Tuesday April 02, 2013 @05:58AM
(#5478425)
Sufficiently developed? No way. Is it getting there? Yes I think. There are no plotting facilities part of the standard library, but external packages like Winston [1] are available -- but the syntax was verbose for my taste, so I let it pass.
According to this SO question[2], there was some web-REPL plotting earlier but it is unmaintained now.
[1] https://github.com/nolta/Winston.jl
[2] http://stackoverflow.com/questions/14970817/plot-not-defined...
Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by asg on Tuesday April 02, 2013 @06:52AM
(#5478559)
Agreed. If you are worried about the syntax for plotting, take a look at Gadfly, which aims to implements the Grammar of Graphics language for julia.
Re:Comparison of Matlab, R, and Julia for data analysis (2012)
by buo on Tuesday April 02, 2013 @10:29AM
(#5479441)
You can also plot with Gaston, which is a frontend for gnuplot.
https://github.com/mbaz/Gaston.jl
Docs: https://bitbucket.org/mbaz/gaston/downloads/gastondoc-0.5.5....
Disclaimer: I'm one of the core devs.