What I don’t understand is, why the warning only goes away if one restarts julia. Just doing what the warning message says doesn’t help in the same session.
julia> Matrix{Float64}(I,5,6)
WARNING: Base.I is deprecated, run `using LinearAlgebra` to load linear algebra functionality.
in module Main
5×6 Array{Float64,2}:
1.0 0.0 0.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0 0.0
julia> using LinearAlgebra
julia> Matrix{Float64}(I,5,6)
WARNING: Base.I is deprecated, run `using LinearAlgebra` to load linear algebra functionality.
in module Main
5×6 Array{Float64,2}:
1.0 0.0 0.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0 0.0
julia>
chappi@Treebook:~$ juliam
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | | [edit: `]
| | |_| | | | (_| | | Version 1.0.0-DEV.53 (2018-08-06 16:03 UTC)
_/ |\__'_|_|_|\__'_| | Commit e3bc48dba9 (0 days old master)
|__/ | x86_64-apple-darwin17.6.0
julia> using LinearAlgebra
julia> Matrix{Float64}(I,5,6)
5×6 Array{Float64,2}:
1.0 0.0 0.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0 0.0
I seem to have solved the problem, with your help.
I need to delete the user environment variable JULIA_LOAD_PATH, but I’m not a system administrator. I will look for it