I noticed that if packages are installed system-wide than auto-completion
for a regular user does not work e.g. typing
julia> using Arr
will not auto-complete "Arr" (after pressing the Tab key) to "ArrayViews".
This is not the case if packages are installed in user's home directory. Is
there any fix for this ?
Thanks,
Jan
Dňa streda, 10. decembra 2014 16:28:15 UTC+1 Stefan Karpinski napísal(-a):
>
> There's a Julia variable called LOAD_PATH that is arranged to point at two
> system directories under your julia installation. E.g.:
>
> julia> LOAD_PATH
> 2-element Array{Union(ASCIIString,UTF8String),1}:
> "/opt/julia-0.3.3/usr/local/share/julia/site/v0.3"
> "/opt/julia-0.3.3/usr/share/julia/site/v0.3"
>
>
> If you install packages under either of those directories, then everyone
> using that Julia will see them. One way to do this is to run julia as a
> user who can write to those directories after doing `export
> JULIA_PKGDIR=/opt/julia-0.3.3/usr/share/julia/site` in the shell. That way
> Julia will use that as it's package directory and normal package commands
> will allow you to install packages for everyone. Or you can just copy your
> installed packages and change the ownership and permissions so that
> everyone can access the files.
>
> On Wed, Dec 10, 2014 at 8:16 AM, Ján Dolinský <[email protected]
> <javascript:>> wrote:
>
>> Hello,
>>
>> I'd like to ask how to install Julia packages system-wide so that users
>> do not have to install packages individually on their own but rather just
>> once by an admin.
>>
>> Thanks,
>> Jan
>>
>
>