[julia-users] Re: Installing Julia on Ubuntu12.04

2014-01-31 Thread Dirk Fortmeier
Hi, thanks for your suggestions, somehow I was fixed on fixing the missing gfortran. I did as you said, add added to Make.user: USE_SYSTEM_BLAS=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas make now produces: precompile.jl LoadError(sysimg.jl,234,LoadError(precompile.jl,11,ErrorException(error

[julia-users] more rows/columns shown in IJulia?

2014-01-31 Thread Steven G. Johnson
Yes, using the same mechanism as in the REPL: ENV[LINES] = 200 ENV[COLS] = 100

Re: [julia-users] julia unable to install on Ubuntu 13.10

2014-01-31 Thread Rajan Gurjar
SOLVED! or rather I am up and running. Phew! I should have heeded to what Joao was suggesting carefully. I assumed that git version would be 0.2.0 when I download the software. I am not familiar with Git at all and read up a bit on it yesterday. Looks like version 0.2.0 runs well on my machine but

[julia-users] Re: Enter values for the variables manually

2014-01-31 Thread offnavy
hello, i am using julia studio on windows; when i try to use chomp(readline(STDIN)) in order to enter value with my keyboard, it does not work. can someone help me or give an exemple of how to do. i just begin to use julia. thanks a lot Le mardi 28 janvier 2014 13:29:40 UTC+1, offnavy a écrit :

[julia-users] julia INPUT KEYBOARD

2014-01-31 Thread offnavy
hello, i am using julia studio on windows; when i try to use chomp(readline(STDIN)) in order to enter value with my keyboard, it does not work. can someone help me or give an exemple of how to do. i just begin to use julia. thanks a lot

[julia-users] Re: Can I write a macro that defines a function?

2014-01-31 Thread Zac
Hey, I was trying to do something quite similar but ran into some problems. I have some code that generates two expressions, the left and right hand side of a function definition: i.e. farg = :(f(a,b,c,..)) texpr = :[a+b; a-b*c...] but I need a way to generate this function without 'eval'ing it

Re: [julia-users] Re: Installing Julia on Ubuntu12.04

2014-01-31 Thread Rajan Gurjar
Your error message (the first post) suggests a solution. Did you try those? It is surprising that same OS gives problems on desktop but runs on laptop. I am not an expert and I too had lot of trouble installing Julia and it had to do with LLVM and certain processors. It seems certain processors

Re: [julia-users] Re: Can I write a macro that defines a function?

2014-01-31 Thread Leah Hanson
Not sure how helpful this is, but https://github.com/danluu/funarg has examples of defining and calling functions, given the name/body of the desired function. (The name is given as a string, so this code is to allow for arbitrarily named functions.) -- Leah On Fri, Jan 31, 2014 at 6:53 AM, Zac

Re: [julia-users] Can not seem to get a sequence of Winston plots to display

2014-01-31 Thread Mike Nolta
On Fri, Jan 31, 2014 at 2:28 PM, Comer Duncan comer.dun...@gmail.com wrote: Hi, I am wanting to use Winston to show a movie of plots of a running computation in julia, but alas it does not seem to work. Here is what I have tried: using Winston x = linspace(0.,6*pi,100) for i = 1:10

Re: [julia-users] Writing macros that manipulate functions

2014-01-31 Thread Toivo Henningsson
Ok, sounds good.

[julia-users] Curl.jl deperacated in favor of Requests.jl

2014-01-31 Thread Westley Hennigh
Curl.jl has had a good run. Sadly, it is no longer actively developed. Requests.jl, on the other hand, is in great shape! If you're in the market for an HTTP client library, check it out: http://github.com/loladiro/Requests.jl

[julia-users] Help understanding failure on require

2014-01-31 Thread Comer Duncan
I am working on a little code to solve the time dependent Schrodinger equation in julia and currently am getting a loading error on one of the functions. Here is the code: include(setparams.jl) include(V.jl) include(InitialRIm.jl) include(expevolve.jl) Nspace, R, Im, x0, width, k0, xmax, xmin,

[julia-users] Another using error...

2014-01-31 Thread Sung Soo Kim
Hi, In addition to using Gadfly error, there is another using RDatasets error. julia using RDatasets ERROR: data not defined in include at boot.jl:238 in include_from_node1 at loading.jl:114 in include at boot.jl:238 in include_from_node1 at loading.jl:114 in reload_path at loading.jl:140

[julia-users] Gadfly installation problem... ERROR: DenseArray not defined

2014-01-31 Thread Sung Soo Kim
Hi, I'm new to Julia, and I fresh installed Julia today and tried to use Gadfly (after installing Cairo, DataFrames), then the above error happened. Here is the output of it. julia using Gadfly Warning: Possible conflict in library symbol dtrtri_ Warning: Possible conflict in library symbol

Re: [julia-users] wait/notify from a thread?

2014-01-31 Thread Tim Holy
This is very helpful, thanks for the tips. I especially like the idea of waiting on a file descriptor controlled by a C thread; that should avoid the need for any Julia code to be called by the callback. You may be interested in some experiments I ran (see below), trying to reproduce my

Re: [julia-users] more rows/columns shown in IJulia?

2014-01-31 Thread Sheehan Olver
Thanks! But it’s ENV[“COLUMNS”] = 100 for the record (as in env.jl line 160) On 31 Jan 2014, at 10:13 pm, Steven G. Johnson stevenj@gmail.com wrote: Yes, using the same mechanism as in the REPL: ENV[LINES] = 200 ENV[COLS] = 100

Re: [julia-users] Re: DataFrames changes

2014-01-31 Thread Simon Kornblith
Done. On Wednesday, January 29, 2014 10:03:39 PM UTC-5, John Myles White wrote: Please go ahead and add deprecation warnings. — John On Jan 29, 2014, at 6:51 PM, Simon Kornblith si...@simonster.comjavascript: wrote: I believe two identical symbols are the same object, which implies

[julia-users] Re: Help understanding failure on require

2014-01-31 Thread Eric Davies
You have an extra ')' near the end of these two lines: HIm = V(width,x,V0,a)*Im[i] -0.5*(Im[i+1]) -2.0*Im[i] + Im[i-1])/dx2; HR = V(width,x,V0,a)*R[i] -0.5*(R[i+1]) -2.0*R[i] + R[i-1])/dx2; Tip: those semicolons are not necessary :) On Friday, 31 January 2014 15:25:41 UTC-6, Comer Duncan

[julia-users] Re: distance.jl

2014-01-31 Thread Jon Norberg
yes, you are right, just saw the bug with si should be ii and jj will use sub as soon as I get 0.3. Also, I did this little script to sort the xy array before hand. just need ot figure out a smart way to constrain the loops to avoid calculating pairs of block that can't have any distance below

[julia-users] Gadfly installation problem... ERROR: DenseArray not defined

2014-01-31 Thread Ivar Nesje
It seems like you are using the 0.2.0 version of Julia, and some package authors have not correctly marked new versions of their package to require 0.3.0-prerelease when they decided to use features that has been introduced after the release of 0.2.0. The consequence is that Pkg.add and

Re: [julia-users] Re: PSA: Versioned .julia directories

2014-01-31 Thread Stefan Karpinski
It's not an inherent breakage, just a transient problem... On Fri, Jan 31, 2014 at 8:53 PM, Miles Lubin miles.lu...@gmail.com wrote: Note that this breaks Travis scripts which install the package being tested into ~/.julia. On Thursday, January 30, 2014 8:01:52 PM UTC-5, Kevin Squire

[julia-users] Re: PyCall: Reloading python libraries?

2014-01-31 Thread Steven G. Johnson
You need to call PyImport_ReloadModule ( http://docs.python.org/2/c-api/import.html). There isn't a direct interface to this in PyCall at the moment, though, so you would need to use ccall for now: something like mymodule = pywrap(PyObject(ccall(pysym(:PyImport_ReloadModule), PyPtr,

[julia-users] Re: NLOpt with MLSL throws invalid_args.

2014-01-31 Thread Steven G. Johnson
The global optimizers in NLopt, such as MLSL, require a finite box to search, so you need to set finite lower and upper bounds for the parameters.

Re: [julia-users] Can not seem to get a sequence of Winston plots to display

2014-01-31 Thread j verzani
I think you can do either plot(x, y, o) or plot((x,y)) to get a scatter plot. On Friday, January 31, 2014 3:04:04 PM UTC-5, Comer Duncan wrote: Mike, Thanks very much. It now plots the sequence of sine plots. On a related topic, I am not seeing a Winston equivalent of the matlab