Re: [julia-users] Re: Julia 0.3.4 - problem installing packages

2015-01-09 Thread Test This
No, I had not run Pkg.update on that computer. But as I said in my message, deleting ~/.julia, and then trying to install them again, worked. Thanks so much for creating/maintaining these binaries. On Thursday, January 8, 2015 at 3:25:24 PM UTC-5, Elliot Saba wrote: > > Have you run `Pkg.upd

[julia-users] FE solver in Julia fast and faster

2015-01-09 Thread Petr Krysl
Hello all, Big thanks to Tim Holy and Andreas Noack. The FE solver implemented in Julia as described previously (https://groups.google.com/forum/?fromgroups=#!searchin/julia-users/Krysl/julia-users/dgNqrJBZx5U/oGeXMZFjToMJ) has been further optimized with their helpful hints and pointers.

Re: [julia-users] Running mean/median in Julia

2015-01-09 Thread Stefan Karpinski
I assume you're on 0.3.x – this may simply be due to SubArrays kind of sucking for performance. The new ArrayView stuff is much better. On Fri, Jan 9, 2015 at 7:33 PM, Tomas Mikoviny wrote: > yes, that was my negligence, change type is first thing I usually check... > however it has no significa

Re: [julia-users] Re: Sort performance depends on Array type in a strange way

2015-01-09 Thread Stefan Karpinski
For arrays of numbers, it's assumed that an unstable sort is ok, so quicksort is used and no temporary array needs to be allocated. For other kinds of objects, we default to mergesort, which needs a temporary array. On Fri, Jan 9, 2015 at 7:23 PM, Páll Haraldsson wrote: > > I'm not sure why it m

[julia-users] Re: Adding Compose circles/lines/polygons to Gadfly plots?

2015-01-09 Thread Kaj Wiik
Julia 0.3.5 Gadfly 0.3.10 julia> plot(sin, 0, 2pi, Guide.annotation(compose(context(), circle([pi/2, 3*pi/2], [1.0, -1.0], [2mm]), fill(nothing), stroke("orange" ERROR: annotation not defined ?? Kaj On Friday, January 9, 2015 at 6:28:03 AM UTC+2, Sheehan Olver wrote: > > I came across thi

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Petr Krysl
Thanks Andreas, that was helpful. See message to Tim in this thread. P On Friday, January 9, 2015 at 11:55:20 AM UTC-8, Andreas Noack wrote: > > Sometimes Julia can have problems inferring the type of fields of types > which is what conn is. Using @code_warntype as suggested by Tim could give >

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Petr Krysl
Thanks, that was very helpful. The problem was eliminated by parameterizing wrt the type S<:FESet. The lesson I learned was that knowing the abstract type is not enough: the compiler needs to know the concrete type. That is something I was not used to and it tripped me up again this time. I ho

Re: [julia-users] Running mean/median in Julia

2015-01-09 Thread Tomas Mikoviny
yes, that was my negligence, change type is first thing I usually check... however it has no significant impact on performance... I've got caught with some different things last days but continuing to play with online methods tm On Wednesday, January 7, 2015 at 7:49:43 PM UTC+1, Stefan Karpinsk

[julia-users] Re: Sort performance depends on Array type in a strange way

2015-01-09 Thread Páll Haraldsson
I'm not sure why it matters if I added Numbers: type Pair <: Number x y end I got a little lower time and 0 bytes allocated: julia> @time sort_Pair() elapsed time: 0.006614108 seconds (488 bytes allocated) elapsed time: 0.041584405 seconds (31991872 bytes allocated)

[julia-users] Re: Sort performance depends on Array type in a strange way

2015-01-09 Thread Páll Haraldsson
Hi, This is my first answer here, I'm not an expert on Julia.. Seems tuple is slow. It's more general, On my machine this beats Python: function sort_Pair() gc(); @time temp = rand(500_000) gc(); @time temp2 = [Pair(temp[i],i) for i=1:length(temp)] gc(); @time sort!(temp2); println(type

Re: [julia-users] Re: Julia v0.3.5

2015-01-09 Thread Elliot Saba
Amazing when we can copy numbers from one computer to another properly, isn't it? -E On Fri, Jan 9, 2015 at 3:27 PM, wrote: > Now matches the tagged commit 'n all. > Thanks > Lex > > On Saturday, January 10, 2015 at 9:19:35 AM UTC+10, Elliot Saba wrote: >> >> We noticed that as well >>

Re: [julia-users] Re: Julia v0.3.5

2015-01-09 Thread elextr
Now matches the tagged commit 'n all. Thanks Lex On Saturday, January 10, 2015 at 9:19:35 AM UTC+10, Elliot Saba wrote: > > We noticed that as well > . > > An `apt-get update && apt-get upgrade` should fix it.

Re: [julia-users] Re: Julia v0.3.5

2015-01-09 Thread Elliot Saba
We noticed that as well . An `apt-get update && apt-get upgrade` should fix it. -E On Fri, Jan 9, 2015 at 3:15 PM, cdm wrote: > > yeah ... > > that parenthetical has > been static since at > least version 0.3.3 >

[julia-users] Re: Julia v0.3.5

2015-01-09 Thread cdm
yeah ... that parenthetical has been static since at least version 0.3.3 curious ... On Friday, January 9, 2015 at 3:06:29 PM UTC-8, ele...@gmail.com wrote: > > Thank you all the people who bring these updates. > > One question, the versioninfo() for theJulia release on the Ubuntu PPA > says

[julia-users] Re: Julia v0.3.5

2015-01-09 Thread elextr
Thank you all the people who bring these updates. One question, the versioninfo() for theJulia release on the Ubuntu PPA says: Version 0.3.5 Commit 21d5433* (2014-10-21 20:18 UTC) The commit and date/time hasn't changed. Cheers Lex On Saturday, January 10, 2015 at 5:11:13 AM UTC+10, Elliot Sab

Re: [julia-users] Re: I cannot reach GitHub because of a firewall at work, how do I install Gadfly?

2015-01-09 Thread John Hall
Tried before. Doesn't work. On Fri, Jan 9, 2015 at 5:23 PM, Steven G. Johnson wrote: > On Friday, January 9, 2015 at 4:56:29 PM UTC-5, John Hall wrote: >> >> I've seen both the git manual and the https/git workaround before. >> Neither seem to work. >> > > If you do "git clone" manually from the

Re: [julia-users] Re: I cannot reach GitHub because of a firewall at work, how do I install Gadfly?

2015-01-09 Thread Steven G. Johnson
On Friday, January 9, 2015 at 4:56:29 PM UTC-5, John Hall wrote: > > I've seen both the git manual and the https/git workaround before. Neither > seem to work. > If you do "git clone" manually from the command line with an https or http URL, does it work? It would be good to diagnose the speci

Re: [julia-users] Re: I cannot reach GitHub because of a firewall at work, how do I install Gadfly?

2015-01-09 Thread John Hall
I've seen both the git manual and the https/git workaround before. Neither seem to work. The method for configuring git is also discussed here https://groups.google.com/forum/#!msg/julia-users/W-H6ZxjXYSI/RWnc6bk6e-EJ and tried running C:\Julia-0.3.4\Git\cmd>git config --global http.proxy http://[a

[julia-users] Re: I cannot reach GitHub because of a firewall at work, how do I install Gadfly?

2015-01-09 Thread Steven G. Johnson
See the manual on how to use git from behind a firewall: http://docs.julialang.org/en/latest/manual/packages/ In particular, you can run git config --global url."https://".insteadOf git:// to tell git to use https instead of git protocol, in order to work with your firewall.

[julia-users] Strange random NaN's

2015-01-09 Thread Peter Brady
I'm using julia-0.3.3 installed via yum on Fedora 21 (I saw similar behavior on Fedora 20 as well) and I'm encountering behavior I can't explain. I haven't been able to come up with a simple reproducible case because this weirdness with NaN's appears to be non-deterministic and restarting my j

[julia-users] Re: I cannot reach GitHub because of a firewall at work, how do I install Gadfly?

2015-01-09 Thread John Hall
My issue is that same as the OPs, but I'm trying to install NLopt.jl rather than Gadfly. I perennially have this issue with Python files, but it seems that I've had better luck getting stuff to work manually with Python than Julia. Pkg.init() doesn't work for me. I first looked in the requir

[julia-users] Re: QZ Decomposition Reordering

2015-01-09 Thread Chase Coleman
See this pull request , it will hopefully provide this functionality On Friday, October 10, 2014 at 5:16:30 PM UTC-4, Ricardo Mayer wrote: > > Can the schurfact(A,B) function reorder its output such that generalized > eigenvalues appear in descending

[julia-users] REQUIRES and a specific branch?

2015-01-09 Thread Seth
I find myself frequently using features in other packages that haven't been tagged yet. Is there a way to specify in REQUIRES that, say, the master branch of the package should be used instead of the latest tagged version? This way others, including Travis and Coveralls, can get the correct fun

Re: [julia-users] Problems understanding the usage of SharedArrays

2015-01-09 Thread Kyle Barbary
Hi Nils, We could add a SharedArray method to the Dierckx methods as Tim suggests, perhaps by changing the signatures from Vector{Float64} to Union(Vector{Float64}, SharedArray{Float64, 1}). I’ve never really used SharedArrays myself, but an easier option might be to use the sdata function. For e

Re: [julia-users] How can I achieve C-like ## in Julia

2015-01-09 Thread Josh Langsfeld
https://github.com/JuliaLang/julia/pull/9700 On Thursday, January 8, 2015 at 10:29:20 AM UTC-5, Josh Langsfeld wrote: > > Thanks, I might do that sometime in the next few days if I can make it > look a bit nicer. > > On Wednesday, January 7, 2015 4:24:32 PM UTC-5, Ivar Nesje wrote: >> >> The prob

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Tim Holy
On Friday, January 09, 2015 11:51:15 AM Petr Krysl wrote: > The size() function is from the base. fes.conn is a 2D array of ints. No it's not, it's a JFIntMat :-). But seriously, _you_ might know that corresponds to a 2D array of ints, but the key question is if you've given enough information i

[julia-users] working with dense parallel matrices

2015-01-09 Thread Francis Poulin
Hello, I am very new to Julia and trying to learn how to do some very basic linear algebra in parallel. As a simple example I wanted to be able to define a dense matrix in parallel and then multiply it to a vector. I have seen how this works in mpi4py at the following tutorial http://mpi4

[julia-users] Re: string literals split to multilines?

2015-01-09 Thread Ismael VC
Note that in Python if there is whitespace after the `\` it will be an error: In [1]: s = 'one\ File "", line 1 s = 'one\ ^ SyntaxError: EOL while scanning string literal I think it's safer to just use the implicit string literal concatenation and implicit line continuation:

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Andreas Noack
Sometimes Julia can have problems inferring the type of fields of types which is what conn is. Using @code_warntype as suggested by Tim could give an indication if it is the case. 2015-01-09 14:51 GMT-05:00 Petr Krysl : > The size() function is from the base. fes.conn is a 2D array of ints. > > P

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Petr Krysl
The size() function is from the base. fes.conn is a 2D array of ints. P On Friday, January 9, 2015 at 11:25:34 AM UTC-8, Tim Holy wrote: > > I wonder if your `size` function isn't returning an Int, or that the > compiler > can't infer that. Did you try this on julia 0.4 with @code_warntype? >

Re: [julia-users] Problems understanding the usage of SharedArrays

2015-01-09 Thread Tim Holy
1. You (or someone) needs to write those methods. Since the Spline1D function is defined in the Dierckx package, that's where the SharedArray version should go, too (if you don't just maintain it on your own). 2. After convert(SharedArray, xgrid) xgrid will still be an ordinary array. You've

[julia-users] Re: startswith not defined

2015-01-09 Thread Tim Wheeler
Yes, that was it. Thank you On Friday, January 9, 2015 at 11:04:17 AM UTC-8, Simon Kornblith wrote: > > You probably want beginswith, which was recently renamed to startswith but > only in Julia 0.4. (Make sure you look at the appropriate docs >

Re: [julia-users] Julia v0.3.5

2015-01-09 Thread Tim Holy
Man, that is an impressive amount of backporting in just a few weeks. You guys are amazing. --Tim On Friday, January 09, 2015 11:10:30 AM Elliot Saba wrote: > Hello all! The latest bugfix release of the 0.3.x Julia line has been > released. Binaries are available from the usual place >

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Tim Holy
I wonder if your `size` function isn't returning an Int, or that the compiler can't infer that. Did you try this on julia 0.4 with @code_warntype? --Tim On Friday, January 09, 2015 08:06:43 AM Petr Krysl wrote: > Actually, I realized that the example shows the same problem, but for a > differen

[julia-users] Re: Julia v0.3.5

2015-01-09 Thread Pileas
Looking forward for the Linux version! Τη Παρασκευή, 9 Ιανουαρίου 2015 - 2:11:13 μ.μ. UTC-5, ο χρήστης Elliot Saba έγραψε: > > Hello all! The latest bugfix release of the 0.3.x Julia line has been > released. Binaries are available from the usual place > , and

[julia-users] Julia v0.3.5

2015-01-09 Thread Elliot Saba
Hello all! The latest bugfix release of the 0.3.x Julia line has been released. Binaries are available from the usual place , and as is typical with such things, please report all issues to either the issue tracker , or e

[julia-users] Re: Adding Compose circles/lines/polygons to Gadfly plots?

2015-01-09 Thread Daniel Jones
Fixed in master now. Thanks for pointing that out. On Friday, January 9, 2015 at 2:22:46 AM UTC-8, Nils Gudat wrote: > > That's a nice feature to know about, but it seems to suffer from the > problem that it doesn't scale with the rest of the graph if one uses the > zoom functionality (i.e. the

[julia-users] Re: startswith not defined

2015-01-09 Thread Simon Kornblith
You probably want beginswith, which was recently renamed to startswith but only in Julia 0.4. (Make sure you look at the appropriate docs for Julia 0.3; there's a version selector in the bottom right.) You can also use the Compat pac

[julia-users] Re: Vector Fields in Julia

2015-01-09 Thread Jake Bolewski
PyPlot can do this, see the documentation for Matplotlib. On Friday, January 9, 2015 at 1:38:24 PM UTC-5, Pileas wrote: > > Hi all, > > I was wondering how one can make vector fields in Julia similar to those > in Matlab. To put it simple, is there any intrinsic routine that does the > job or sh

[julia-users] startswith not defined

2015-01-09 Thread Tim Wheeler
When I try to use the "startswith " function Julia cannot locate it. "endswith" seems to work fine. Am I doing something wrong? Thanks! _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentati

[julia-users] Vector Fields in Julia

2015-01-09 Thread Pileas
Hi all, I was wondering how one can make vector fields in Julia similar to those in Matlab. To put it simple, is there any intrinsic routine that does the job or should we program it from scratch? Matlab example here: http://www.mathworks.com/help/symbolic/mupad_ref/plot-vectorfield2d.html Th

Re: [julia-users] Installing packages system-wide

2015-01-09 Thread Daniel Høegh
I have made a pull-request on it. See https://github.com/JuliaLang/julia/pull/9699

Re: [julia-users] MPI.jl issue

2015-01-09 Thread Amit Murthy
The other closest explanation is here - https://code.google.com/p/chromium/issues/detail?id=31809#c31 . Though, I still don't know what to fix to get MPI.jl up and running on my system On Fri, Jan 9, 2015 at 5:53 PM, Amit Murthy wrote: > A google search for that error all showed up issues re

[julia-users] Problems understanding the usage of SharedArrays

2015-01-09 Thread Nils Gudat
Sorry for asking the umptiest question on parallelization, but I can't seem to get even the most basic calculations to run, so here's hoping someone can enlighten me. I'd like to make an interpolant created with Dierckx available on all my processors. I figured this would be possible using Share

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Michael Hatherly
Hi Jan, If you run into any problems or have any suggestions for improvements feel free to open an issue in the Docile repo. — Mike ​ On Friday, 9 January 2015 16:49:53 UTC+2, Ján Dolinský wrote: > > Thanks a lot. I'll check it out. > > Jan > > Dňa piatok, 9. januára 2015 10:53:10 UTC+1 Tim H

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Petr Krysl
Actually, I realized that the example shows the same problem, but for a different function. This time the allocation occurs in the function CALLING getconn!. P On Friday, January 9, 2015 at 8:03:00 AM UTC-8, Petr Krysl wrote: > > Tim, > > Your explanation is very helpful. There is a complica

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Petr Krysl
Tim, Your explanation is very helpful. There is a complication though: The function is actually called from another function (from a chain of functions). Here is the measurement from a simplified situation: - using JFFoundationModule - using FESetModule - -

Re: [julia-users] Installing packages system-wide

2015-01-09 Thread Ján Dolinský
All right. Dňa piatok, 9. januára 2015 10:46:54 UTC+1 Tim Holy napísal(-a): > > On Friday, January 09, 2015 12:34:12 AM Ján Dolinský wrote: > > Hi, > > > > Thanks for the tip. How do I open an issue about this problem ? > > https://github.com/JuliaLang/julia, then click on the "Issues" link ne

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Ján Dolinský
Thanks a lot. I'll check it out. Jan Dňa piatok, 9. januára 2015 10:53:10 UTC+1 Tim Holy napísal(-a): > > If you're running julia 0.3, see the Docile package. If you're running > julia > 0.4, there's some in-progress documentation here: > https://github.com/JuliaLang/julia/pull/9447 > > --Tim

Re: [julia-users] MPI.jl issue

2015-01-09 Thread Amit Murthy
A google search for that error all showed up issues related to either a) cross-compiling or b) memory allocated by one library being freed/realloc'ed by another. Issue - https://github.com/JuliaParallel/MPI.jl/issues/25 On Fri, Jan 9, 2015 at 3:20 PM, Viral Shah wrote: > Oops - realized that you

[julia-users] Re: How to create a composite type of function pointers

2015-01-09 Thread J Luis
No shit (well, nice) I fall in the same trap again. It turns up that the file where cdCanvas is declared was included twice and so I apparently had two declarations of cdCanvas. Once I fixed this situation the program runs fine but this is a hell of a slippery ground. quinta-feira, 8 de Janeir

[julia-users] Re: How to create a composite type of function pointers

2015-01-09 Thread J Luis
No, unfortunately changing to immutable does no good either. The problem originally is that I get a 'no method' error in this code @show typeof(cd_canvas) @show methods(cdCanvasActivate) cdCanvasActivate(cd_canvas); which prints typeof(cd_canvas) => Ptr{cdCanvas} methods(cdCanvasActivate) =>

[julia-users] Sort performance depends on Array type in a strange way

2015-01-09 Thread Andras Niedermayer
The performance of the sort algorithm varies largely with the element type of an Array, in an unexpected (at least for me) way. Sorting time is ordered like this: Vector{(Any,Any)} < Vector{Any} < Vector{(Float64,Int64}). Is this a bug or is this behavior intended? Here's the code: --- juli

[julia-users] Re: Adding Compose circles/lines/polygons to Gadfly plots?

2015-01-09 Thread Nils Gudat
That's a nice feature to know about, but it seems to suffer from the problem that it doesn't scale with the rest of the graph if one uses the zoom functionality (i.e. the circles don't stay in position relative to the graph if you change the display of the graph).

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Tim Holy
arg, the hazards of replying to a big batch of emails without checking what's come in since the initial check... --Tim On Friday, January 09, 2015 01:26:55 AM ele...@gmail.com wrote: > On Friday, January 9, 2015 at 7:08:03 PM UTC+10, Ivar Nesje wrote: > > Compat.jl doesn't have doc, but there is

Re: [julia-users] numpy vs julia benchmarking for random matrix-vector multiplication

2015-01-09 Thread Tim Holy
There's already a certain amount of automatic bounds-checking removal, but it does that only when it can prove that it's safe. It's not hard to cook up situations where the compiler can't do that. See also the `--check-bounds` command line option for starting julia. --Tim On Thursday, January

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Tim Holy
If you're running julia 0.3, see the Docile package. If you're running julia 0.4, there's some in-progress documentation here: https://github.com/JuliaLang/julia/pull/9447 --Tim On Friday, January 09, 2015 12:41:33 AM Ján Dolinský wrote: > Hi, > > I would like to know how to write a help (comme

Re: [julia-users] MPI.jl issue

2015-01-09 Thread Viral Shah
Oops - realized that you are running in fact in linux. Sorry - ignore my comment then. Could it be a julia issue, or some MPI call that is not being used correctly and is corrupting memory? -viral > On 09-Jan-2015, at 3:18 pm, Viral Shah wrote: > > How about trying out some other MPI librar

[julia-users] Re: MPI.jl issue

2015-01-09 Thread Viral Shah
How about trying out some other MPI library? Mac support may vary across multiple open source implementations. -viral On Thursday, January 8, 2015 at 9:28:21 PM UTC+5:30, Amit Murthy wrote: > > Hello, > > On a Ubuntu 14.10 system, I am having trouble getting MPI.jl up and > running. > > The dep

Re: [julia-users] Installing packages system-wide

2015-01-09 Thread Tim Holy
On Friday, January 09, 2015 12:34:12 AM Ján Dolinský wrote: > Hi, > > Thanks for the tip. How do I open an issue about this problem ? https://github.com/JuliaLang/julia, then click on the "Issues" link near the top-right. It's a kindness to busy developers to first search to see if your issue h

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Tim Holy
BTW, all that is (briefly) described here: http://docs.julialang.org/en/latest/manual/profile/#memory-allocation-analysis Petr, if you nevertheless found my more detailed explanation useful, please weave it into the documentation and submit a pull request (click-and-edit instructions here: http

Re: [julia-users] Why is memory allocated to run loop?

2015-01-09 Thread Tim Holy
It's just an artifact of calling the function from the REPL. If that function is called from another function, you won't see that. It might help if you understand how `--track-allocation` works: each time you get to a new line of code, you ask julia's memory allocator how much memory has been a

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread elextr
On Friday, January 9, 2015 at 7:08:03 PM UTC+10, Ivar Nesje wrote: > > Compat.jl doesn't have doc, but there is a package that is reported to do > this for 0.3. I think it was Doctile.jl, but I might remember wrong. See https://github.com/JuliaLang/julia/pull/9447 for first pass at documentat

Re: [julia-users] Re: Where is documentation on { } notation for creating an Array(Any,1) ??

2015-01-09 Thread Ivar Nesje
See https://github.com/JuliaLang/julia/commit/be0f0dafa798c26279f4ece2f70afa9fc078772c

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Ivar Nesje
Compat.jl doesn't have doc, but there is a package that is reported to do this for 0.3. I think it was Doctile.jl, but I might remember wrong.

Re: [julia-users] Re: Where is documentation on { } notation for creating an Array(Any,1) ??

2015-01-09 Thread elextr
On Friday, January 9, 2015 at 6:02:21 PM UTC+10, Ivar Nesje wrote: > > Yes, but he is looking at the 0.4 documentation, so naturally he won't > find it there. Try the 0.3 documentation. Its in http://docs.julialang.org/en/latest/stdlib/punctuation/#punctuation in both 0.3 and 0.4 docs, so 0.

Re: [julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Mauro
A help/doc system is in place in 0.4 (unstable) which allows to do that (although no documentation about it yet...). It has not been backported to 0.3 (yet?). But I guess you could use Compat.jl and start documenting and have it all in place once 0.4 is released. On Fri, 2015-01-09 at 09:41, Ján

Re: [julia-users] Installing packages system-wide

2015-01-09 Thread Ján Dolinský
In addition, I assume if JULIA_PKGDIR is identical for all users that everyone installs packages in the same directory (if they can write to it) which is not desired in my situation. There should be some system-wide packages available and then a user should be still able to install packages ind

[julia-users] How to define help text for a module function so that it displays in REPL

2015-01-09 Thread Ján Dolinský
Hi, I would like to know how to write a help (comment) text e.g. for a module function so that once module is loaded it is displayed if in REPL help mode. E.g. for "sum" function help?>sum displays brief help text for "sum" Thanks, Jan

Re: [julia-users] Installing packages system-wide

2015-01-09 Thread Ján Dolinský
Hi, Thanks for the tip. How do I open an issue about this problem ? Jan Dňa štvrtok, 8. januára 2015 16:13:40 UTC+1 Tim Holy napísal(-a): > > There's a second way to install system-wide (at least, on Unix): set the > environment variable JULIA_PKGDIR for all users. If you do it that way, > tab

Re: [julia-users] Re: Where is documentation on { } notation for creating an Array(Any,1) ??

2015-01-09 Thread Ivar Nesje
Yes, but he is looking at the 0.4 documentation, so naturally he won't find it there. Try the 0.3 documentation.