I updated to Julia 1.6 by downloading the generic linux and moving them in the folder I keep julia. I launched atom, reinstalled all the packages (I need to do it every time I update, so I try to upgrade as little as possible), but I got this error:
# from script
julia> using Pkg
julia> Pkg.add("DataFrames")
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
julia> Pkg.add("CSV")
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
julia> Pkg.add("Statistics")
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
julia> Pkg.add("DelimitedFiles")
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
> julia> # this is weird: smaller font, different shade -- is it pointing to another version of julia?
# paste again into REPL
julia> using DataFrames
julia> using CSV
julia> using Statistics
julia> using DelimitedFiles
julia> df = CSV.read("/home/gigiux/EXT/rslt/deNovo.tsv",
delim='\t', decimal='.')
ERROR: ArgumentError: provide a valid sink argument, like `using DataFrames; CSV.read(source, DataFrame)`
Stacktrace:
[1] read(source::String, sink::Nothing; copycols::Bool, kwargs::Base.Iterators.Pairs{Symbol, Char, Tuple{Symbol, Symbol}, NamedTuple{(:delim, :decimal), Tuple{Char, Char}}})
@ CSV ~/.julia/packages/CSV/CJfFO/src/CSV.jl:43
[2] top-level scope
@ none:1
Essentially, I can’t open a tab-delimited file even if the packages are loaded.
How can I solve this issue?
Thank you