Questions tagged [ijulia-notebook]

IJulia is a Julia-language backend combined with the Jupyter interactive environment (also used by IPython). This combination allows to interact with the Julia language using Jupyter/IPython's powerful notebook, which combines code, formatted text, math, and multimedia in a single document.

198 questions
4
votes
1 answer

Julia Pluto cannot find dev installed package

I have my own Julia package called foo which is stored in /private/tmp/foo and looks like: foo ├── Project.toml └── src └── foo.jl I'd like to use it in an experiment I'm going to run. As such I Create a new dir called bar for my…
this_josh
  • 333
  • 2
  • 11
4
votes
0 answers

Run Julia from remote using Jupyter locally

I apologize if it is a trivial question, but I searched and I could not find the answer. My situation is the following: I have access to a server through ssh tunnelling. The server has Julia installed but not jupyter. My machine has both, and my…
Thomas
  • 51
  • 4
4
votes
2 answers

How do we convert an array of Unicode values back to it's text form in Julia?

I am learning Julia for my next project because the data really text-heavy and we are looking into making the code run more efficiently and fast. So as experimentation, I am learning Julia. Now I learned that there is a really nice way to enter the…
Amit Amola
  • 2,301
  • 2
  • 22
  • 37
4
votes
2 answers

How to save {UINT16, 2} array to image in Julia

I have an Array{UInt16,2} in Julia of size 5328×3040. I want to save it to a png image. I tried the following: save("gray.png", colorview(Gray, img)) But got the following error: ERROR: TypeError: in Gray, in T, expected T<:Union{Bool,…
4
votes
1 answer

Issues Adding Package in Julia

First off, I'm new to Julia, so I'm still getting used to the language. I'm using Jupyter and I'm trying to add "SpecialPolynomials". This is what I keep getting: using…
DonCarleone
  • 544
  • 11
  • 20
4
votes
1 answer

Kernel PCA Implementation in Julia

I am trying to implement the method of kernel principal component analysis (kernel PCA) in a Julia notebook. More specifically, I am trying to replicate the process done in this tutorial:…
Stackman
  • 143
  • 3
4
votes
1 answer

how to type in latex styled variables for julia in vs code or jupyter notebook

As in Julia REPL, we can type in latex styled variables by using tab and \epsilon to get the greek letter and give it a value. Since I mainly wirte Julia codes in VS Code now, I was wondering if we could do that in vs code also? or can we do that in…
BNHSX
  • 141
  • 1
  • 4
4
votes
1 answer

real time plotting with Julia

I am trying to plot a function evolving in real time with Julia. For that, I saw that GR package could be used in Julia, when I try to apply exactly the example given here : import GR GR.inline("mov") x = [0:0.01:2*pi] for i = 1:200 …
ChrlTsr
  • 149
  • 1
  • 7
4
votes
1 answer

Julia DataFrame output functions

What Julia functions can output a DataFrame so it is converted into text other than the ones shown below? using DataFrames A = DataFrame(randn(10, 7)); print("\n\n\n", "A = DataFrame(randn(10,…
Clay
  • 2,584
  • 1
  • 28
  • 63
4
votes
1 answer

Cannot open IJulia; it instead starts IPython

How can I use IJulia in my browser? When I start to open it by executing ipython notebook --profile julia on my Terminal, a new window opens on my browse - however, it is IPython notebook, not IJulia notebook. Why does it show IPython? For your…
Blaszard
  • 30,954
  • 51
  • 153
  • 233
3
votes
1 answer

Julia "Unsatisfiable requirements detected for package" error when installing multiple packages

I'm using Julia v1.5.2 and I got the below error when I tried to install EvalMetrics: Pkg.add("EvalMetrics") I even tried using the Pkg manager instead of using import Pkg, but it doesn't seem to make a difference either. Unsatisfiable requirements…
Gnonguichi
  • 31
  • 2
3
votes
2 answers

ProgressBar in IJulia printing every new line

I am currently learning Julia and have been practicing in the Jupyter notebook environment. However, the ProgressBar package (similar to TQDM in python) is updated every new line instead of updating on the same line (picture attached). Is there any…
3
votes
1 answer

Is it possible to convert an Array{Num,1} to Array{Float64,1} in Julia?

I have the following function that uses symbolics in Julia. Everything works fine until the moment of plotting using Distributions using Plots using Symbolics using SymbolicUtils function BinomialMeasure(iter::Int64, p::Float64, current_level =…
utello10
  • 63
  • 5
3
votes
1 answer

Julia: JULIA_LOAD_PATH not defined when trying to set value

I am trying to set the JULIA_LOAD_PATH as already discussed here Github issue and Julia Docu. I try to run JULIA_LOAD_PATH= "/mypath/bla:$JULIA_LOAD_PATH" in a julia-session, but get the following error: UndefVarError: JULIA_LOAD_PATH not…
cpernul
  • 137
  • 5
3
votes
1 answer

VSCode Jupyter Extension: Can't find new kernel after updating Julia?

I'm using the new Jupyter extension for VSCode insiders, and it worked great until I updated Julia (from 1.5.1 to 1.5.3). VScode will run plain .jl files without issue and correctly locates Julia 1.5.3, but the "Jupyter" extension hasn't located the…
1
2
3
13 14