LinAlg package not found in Julia - julia

I just downloaded Julia 1.0.0 and have been using IJulia and the Jupyter notebook. The really good LinAlg package described online for some reason is not installed and when I try to add it through command, it says it cannot be resolved. I am not sure if I am doing something wrong or need to download something. For some reason, LinearAlgebra downloads but it is not the same thing. :(
Thanks in advance for the help!

The Base.LinAlg module has been renamed to LinearAlgebra in Julia v0.7 and above. It is in the standard library, so no need to install. Just add
using LinearAlgebra

Related

Error in installing "StatPlots" in Windows for Julia

I tried several times to Install StatPlots pkg using:
using Pkg
Pkg.add("StatPlots")
but I got kind of error as mentioned right down bellow:
How can i install it?
I'm Using Julia 1.7.1
You are likely thinking of StatsPlots (note the spelling difference)

Make Juno realize the newly installed Julia version

I just upgraded Julia from 1.3.1 to 1.4.2. That worked well. However, when I start Juno it still uses the old Julia version. How can I fix this?
(I'm working on a Windows 10 machine, but I guess answers for other OS' should be helpful as well.)
You can set the path in the Atom package settings of the julia-client package (shortcut to get there is Ctrl+J followed by Ctrl+,):

How can I resolve this error when installing r packages?

I want to try this geopspatial mapping tutorial but I can't get the tmap or tmaptools packages to install/load properly. Here are some screenshots of the installation.
and and results in this problem when I try to load the libraries
If anyone could explain what the problem is and how I could fix it I would appreciate the help.
#user2554330 was right, there was a C compiler I had previously installed for a class that was interfering with the installation of the packages. I just renamed the directory of the compiler and everything worked.

Julia 1.0 Pkg.add() not working as expected

I am having trouble adding some packages in Julia
This is one example, although I am finding many others:
julia> Pkg.add("QuartzImageIO.jl")
ERROR: The following package names could not be resolved:
* QuartzImageIO.jl (not found in project, manifest or registry)
Please specify by known `name=uuid`.
I believe this should work according to the docs
https://github.com/JuliaIO/QuartzImageIO.jl
and Plotly that required it
LoadError: ArgumentError: Package QuartzImageIO not found in current path:
- Run `import Pkg; Pkg.add("QuartzImageIO")` to install the
QuartzImageIO package.
I am new to Julia, am I doing something wrong?
Thanks
Peter
The .jl suffix is not part of the package name (although packages are often referenced with it included) . Try
using Pkg
Pkg.add("QuartzImageIO")
If you install JuliaPro then the packages that you can install are limited by what's been curated for JuliaPro. Installed the non-pro vanilla version and try again.

Install IJulia offline

I would like to install IJulia from a non-connected computer. However, the command Pkg.add("IJulia") seems to require a connection. Is there a way to download manually the package and then specify a local path for the install?
Thanks in advance,
That would be a problem for all the Julia packages you want to install, not only IJulia. Julia packages work by cloning stuff into ~/.julia/v0.4 and ~/.julia/v0.4/.caches (for julia 0.4 at least) you will need to grab all the things and put them in the right place yourself.
Something else you can do is to use the insteadOf option of git so that Pkg believe it is pulling things from github, when you actually have a local clone of the repository.
You can find some information on installing packages (and configuring insteadOf for git) in this section of the julia manual.

Resources