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
2
votes
2 answers

Julia in existing jupyter installation

I'm interested in hooking up julia to jupyter. I understand that in julia, Pkg.add("IJulia") would work - I've tried it, runs as expected. However, that yields a new conda installation of jupyter, python etc. and blows up to > 2 GB (in addition to…
jvlatzko
  • 23
  • 4
2
votes
1 answer

Display PyPlot figures and text sequentially in iJulia

I want to display PyPlot figures and relevant text sequentially in an iJuia notebook. using PyPlot for i=1:10 println(i) #Relevant text info fig = figure(figsize=(4,1)) plot(1:10,rand(10));title(i) end This returns figures together,…
Ian
  • 1,427
  • 1
  • 15
  • 27
2
votes
1 answer

Julia DataFrames format in pdf with nbconvert

How can I get a DataFrame in a Julia Notebook to output to a pdf with nbconvert and control the formatting like with knitr::kable or pander tables in an R-markdown document? Julia notebook: the following code cell using DataFrames A =…
Clay
  • 2,584
  • 1
  • 28
  • 63
2
votes
1 answer

Call Julia SVD from C++

I try to use Julia language from Qt C++ for getting result of SVD function: jl_value_t *array_type = jl_apply_array_type(jl_float64_type, 2); jl_array_t *x = jl_alloc_array_2d(array_type, matrixForSvd.rows(), matrixForSvd.cols()); jl_value_t * bol…
konstantin_doncov
  • 2,725
  • 4
  • 40
  • 100
2
votes
1 answer

Julia DataFrame output in Jupyter error in nbconvert

The output of the DataFrame package for Julia looks good in a Jupyter notebook, but converting to a pdf with nbconvert causes the following error. ! Package ucs Error: Unknown Unicode character 9474 = U+2502, (ucs) possibly declared…
Clay
  • 2,584
  • 1
  • 28
  • 63
2
votes
2 answers

Julia: LoadError: MethodError: `call` has no method matching call(::Array{Float64,1}, ::Int64)

I want to use Julia to calculate the Euclidean distance between points (x(i), y(i)) and (x(j),y(j)), and I use the following codes C = zeros(Float64,10,10) x = [0.0, 20.0, 18.0, 30.0, 35.0, 33.0, 5.0, 5.0, 11.0, 2.0] y = [0.0, 20.0, 10.0 ,12.0 ,0.0…
2
votes
2 answers

Julia | How to send Email through Julia code

Is there a way to send emails to an email id through julia code? Thanks Amit
2
votes
1 answer

ArgumentError: Plotly not found in path in Julia

I have installed plotly usingpipinOS X`: Monas-MacBook-Pro:~ mona$ pip install plotly Requirement already satisfied (use --upgrade to upgrade): plotly in ./anaconda/lib/python2.7/site-packages Requirement already satisfied (use --upgrade to…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
1 answer

UndefVarError: Model not defined

How should I fix the following error? Pkg.add("JuMP") Pkg.add("Clp") m = Model() and I get the following error: LoadError: UndefVarError: Model not defined while loading In[4], in expression starting on line 1
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
3 answers

Is there a way to add Julia, R and python to a single text file like R markdown or a notebook that could be manipulated as a text file?

Stated briefly: I would like to have a text file where I can smoothly switch among R, python and Julia. Of importance, I am looking for a way to run rather than just display code I know it is possible to add python (and many other languages) to R…
2
votes
1 answer

How to display images when using for loop in IJulia?

i want to display images in Jupyter using Image.jl. the doc says: If you're using the IJulia notebook, images will be displayed automatically. Julia code for the display of images can be found in ImageView. Installation of this package is…
Gnimuc
  • 8,098
  • 2
  • 36
  • 50
2
votes
1 answer

Setting up IJulia

I am trying to set up IJulia on my PC, but after I get it running I get the constant messages that "kernel has died" and there is a problem with ZMQ library. Trying to rebuild or reinstall ZMQ does not work. I get an…
flipper
  • 531
  • 4
  • 13
1
vote
0 answers

Error while using Julia code : type - had no field -

I am using Julia for my research. And this is what I am using : https://augustinas1.github.io/MomentClosure.jl/dev/tutorials/using_momentclosure/ I am going to run exactly same example code in the above website. But then, I got a error message like…
random487510
  • 111
  • 1
1
vote
1 answer

Install into system instead of local directory?

julia> using Pkg julia> Pkg.add("IJulia") Installing known registries into `~/.julia` ... By default: Installs known registries into ~/.julia Install kernel into ~/.local/share/jupyter/kernels/julia-1.8 Is it possible to do a system install…
ryanhill1
  • 165
  • 1
  • 9
1
vote
1 answer

How to avoid "WARNING: replacing module" in Jupyter?

I want to write a module in the local directory, load it into Jupyter and test it. I put the module into file MyModule.jl: module MyModule export my_function my_function() = () end Then I load it in JupyterLab: include("MyModule.jl") using…
Yrogirg
  • 2,301
  • 3
  • 22
  • 33