Reload a module imported with Using/import in main
Hello, i have a .jl in which i have created a module. module name end import Main.name or using Main. in the same file of the module created im importing/using them, but modifying the module and then...
View ArticlePSA: Glossary for beginners (WIP)
Hello, I have started this document as a handy glossary to point to for beginners. Generally intended for English as a Second Language Speakers or new users of online forums and the Julia Community in...
View ArticleCompiling Julia for Raspbian
I installed julia using sudo apt install julia realising this was version 1.0.3 and not finding a binary for 1.5.3 I followed the steps for compiling Julia at...
View ArticleDifferentialEquations example throwing MethodError
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic
View ArticleMethodError: no method matching Lagrange_Polynomials(::Float64,...
Hi, I’m new to Julia, for this function in main I got an error message: MethodError: no method matching LagrangePolynomial(::Float64, ::LinRange{Float64}, ::Array{Float64,1}) Closest candidates are:...
View ArticleEfficient generation of acceptance rejection random number array
Hi there, I have the following (unnormalized) probability density function (pdf): f(x) = -x*(x-1) whose support is the interval (0, 1). I have coded the following to generate a 10000-element array of...
View ArticleHow to save "globally" installed package in a project folder?
Dear folks, a while ago I created a Julia project in /myproject with pkg> activate . . However, I was a bit lazy and worked with the “globally” installed packages from /.julia/environments/v1.4...
View ArticleDocumenter: Unable to get the binding
I’m trying to build documentation for a package I’m developing using Documenter.jl, but I currently got stuck getting Warning: unable to get the binding for 'readMDTable(file::String;...
View ArticleDataframe to csv with the index column
How to write a dataframe with the index column to a csv please? This is what I have put togeter but I am missing the index. (Btw, I dont even know if thats the best way. What I want, is to save a...
View ArticleResources for medical data analysis
I am medical professional. I am newbie in julia. My idea is to use julia for data analysis. At present I use R. I would like to appreciate any help to accomplish this. Packages, resources etc 3 posts...
View ArticleWhy do I get a type error when passing a dict with subtypes?
Hi, I’m passing a dict to a constructor containing objects which are a subtype of the type expected and I get a type error on it: ERROR: TypeError: in keyword argument res_input, expected...
View ArticleInstalling Pluto: Precompiling failed
Hi everyone, I’m trying to install Pluto following https://computationalthinking.mit.edu/Fall20/installation/ After “import Pluto” I get the following errors: ERROR: LoadError: InitError: could not...
View ArticleERROR: LoadError: InitError: could not load library
Hi, Julia 1.5.3 installed on Alpine Linux (3.12), musl libc used. I have an issue with precompiling EzXML.jl package that uses artifacts: ERROR: LoadError: InitError: could not load library...
View ArticleCopy folder structure and make new folder?
Hello! Suppose I have a folder structure on my harddrive as: Main Folder -- 01_FirstFolder --> 1stSubFolder --> 2ndSubFolder --> 3rdSubFolder -- 02_SecondFolder --> 1stSubFolder -->...
View ArticleFlux multi-cpu parallelism?
I’m trying to train an exact Gaussian process using Flux to get the hang of things. As much as I’ve tried to optimize my code, I’m struggling to get performance that is comparable to PyTorch on my...
View ArticleJulia Language Server won't start
I’m new to VSCode, just moving my Julia work over from Juno. I’m having trouble getting the Julia extension to work. When I install the extension, I have the executable path set up, and I select...
View ArticleRules when box/unbox applies
Aiming to be good citizen, I’ve followed PSA Make it easier to help you and prepared an, as much as possible, stripped down example Not sure if that matters, I’m on Win10 using Julia 1.5.3 abstract...
View ArticleHow to save plots early and plot them together on same axes later?
Hi again good folks, I’ve got another question about something that seems simple, but I can’t figure out how to do it after much searching. I’m trying to have a delayed-effect version of what you...
View ArticleIn operator for set of sets
Screen Shot 2020-11-19 at 10.46.02 PM822×678 44.5 KB Can I get some help with explaining this behaviour? At first it seems that you can find the existence of a set within a set of sets, but after I...
View ArticleConfused about metaprogramming: macros
I have started to use Metaprogramming now. While my code is running, I noticed that there are some things that I do not understand. My understanding is that at the simplest level macros return an...
View Article