Re: [julia-users] Re: Sumatra

2015-08-15 Thread Diego Tapias
Currently all works. Just to get a complete functionality is needed to implement the function find_dependencies() for Julia which is a Python function which looks for the packages and their version installed in Julia. Have you already tried sumatra? 2015-05-25 6:27 GMT-05:00 Magnus Lie Hetland

[julia-users] Averaging vectors of different length

2015-08-06 Thread Diego Tapias
Hello, I am trying to average together several vectors of slightly different lengths (difference might be one or two elements). For example, a, b, c might be: a = ones(10)*2. b = ones(11)*5. c = ones(12)*4. I want to make a new vector d that contains the averages of all their values

[julia-users] Sumatra

2015-05-22 Thread Diego Tapias
I am just curious whether someone currently uses Sumatra https://pythonhosted.org/Sumatra/ for managing and keeping track of scentific projects, of course, written in julia. I just tried it but without good results. ​

[julia-users] Dynamics Arrays

2015-04-07 Thread Diego Tapias
Hello, as far as I understand the Arrays that we often use when working with julia are dynamic arrays since they support the operations of adding or removing elements (through push!/unshift! and pop!/shift! methods). In view of this, I am wondering about what is the most primitive Array type in

Re: [julia-users] savefig error

2015-04-02 Thread Diego Tapias
(myimage,:savefig). Am 02.04.2015 um 03:20 schrieb Diego Tapias dandrove...@gmail.com: Hello, I have got the same error in versions with the command savefig of matplotlib. The same code worked a few days ago . This is what I got for this command myimage[:savefig](bla.pdf): ERROR

[julia-users] savefig error

2015-04-01 Thread Diego Tapias
Hello, I have got the same error in versions with the command savefig of matplotlib. The same code worked a few days ago . This is what I got for this command myimage[:savefig](bla.pdf): ERROR: LoadError: LoadError: KeyError: savefig not found in getindex at

[julia-users] Array as function

2015-03-11 Thread Diego Tapias
Quick question: what does this mean julia Array(Int,1) 1-element Array{Int64,1}: 139838919411184 ? And another question: Is this just used for initializing an array? Thanks. ​

Re: [julia-users] Re: Array as function

2015-03-11 Thread Diego Tapias
Hey Phil, thanks for taking the time to explain. It makes sense now. Best. Diego 2015-03-11 18:20 GMT-06:00 Phil Tomson philtom...@gmail.com: On Wednesday, March 11, 2015 at 4:49:06 PM UTC-7, Diego Tapias wrote: Quick question: what does this mean julia Array(Int,1) 1-element Array

[julia-users] create directory from a julia script

2015-03-04 Thread Diego Tapias
Is there a way to create a directory from a julia script? I am thinking in something like os.mkdirs(dir) of Python. ​

Re: [julia-users] Re: create directory from a julia script

2015-03-04 Thread Diego Tapias
. On Wednesday, March 4, 2015 at 2:39:18 PM UTC-5, Diego Tapias wrote: Is there a way to create a directory from a julia script? I am thinking in something like os.mkdirs(dir) of Python. ​

Re: [julia-users] using Docile

2015-02-06 Thread Diego Tapias
Are you using julia 0.4-dev here? If so could you try updating julia also, since @repl is quite new. — Mike ​ On Friday, 6 February 2015 01:59:26 UTC+2, Diego Tapias wrote: No problem while installing. But I’ve got the following error when ask for foo: ?foo ERROR: UndefVarError: @repl

[julia-users] using Docile

2015-02-05 Thread Diego Tapias
Hi guys, I didn’t have problems installing Docile, however when I try to use it literally nothing happens. Before continue reading, my julia version is 0.4.0-dev. Consider the following code : filename test.jl using Docile export foo @doc This function is not important - function foo() end

Re: [julia-users] using Docile

2015-02-05 Thread Diego Tapias
No problem while installing. But I’ve got the following error when ask for foo: ?foo ERROR: UndefVarError: @repl not defined ​ 2015-02-05 17:37 GMT-06:00 Tom Short tshort.rli...@gmail.com: Try installing Lexicon and load it then repeat your example. On Thursday, February 5, 2015, Diego

Re: [julia-users] Help with the findin method

2015-02-01 Thread Diego Tapias
Thank you so much Jiahao! I see my guess was correct. What a nice group. 2015-01-31 16:50 GMT-06:00 Jiahao Chen jia...@mit.edu: Your custom particles type is not iterable, i.e. does not have start, next and done methods defined. See the manual for details of the iterable interface. Note that

[julia-users] Help with the findin method

2015-01-31 Thread Diego Tapias
Hello, For a Molecular Dynamics simulation I have created a composite type named Particle. After that, I constructed an Array consisted of Particle elements. I want to get the index of a specific element within the Array, however when trying it I get the following error: `start` has no method

Re: [julia-users] Help with the findin method

2015-01-31 Thread Diego Tapias
Oh, I see. Thanks Jiahao. Could you please tell me a bit more about the error message?, it is not evident for me what it means. 2015-01-31 13:24 GMT-06:00 Jiahao Chen jia...@mit.edu: We could have a new function. We have separate functions for push!([1,2,3],4,5,6) and append!([1,2,3],[4,5,6]).

[julia-users] Convention for naming types and functions

2015-01-29 Thread Diego Tapias
Hello, can you please help me with the convention for naming created types and functions? Diego.

Re: [julia-users] Convention for naming types and functions

2015-01-29 Thread Diego Tapias
Thank you Stefan and Tom, that's what I needed. 2015-01-29 12:05 GMT-06:00 Tom Short tshort.rli...@gmail.com: http://julia.readthedocs.org/en/latest/manual/style-guide/#use-naming-conventions-consistent-with-julia-s-base On Thu, Jan 29, 2015 at 12:56 PM, Diego Tapias dandrove...@gmail.com

Re: [julia-users] Re: PathPatch object in julia with PyPlot

2014-09-24 Thread Diego Tapias
Thanks Steven... I will take your advice into account! 2014-09-24 13:33 GMT-05:00 Steven G. Johnson stevenj@gmail.com: (Please don't double-post questions.)

[julia-users] Backend for PyPlot

2014-09-23 Thread Diego Tapias
For the command: using PyPlot I got a warning and then a error: /usr/local/lib/python2.7/dist-packages/matplotlib-1.5.x-py2.7-linux-x86_64.egg/matplotlib/__init__.py:1282: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use()

[julia-users] PathPatch object in julia with PyPlot

2014-09-23 Thread Diego Tapias
I share a question I did in the stackoverflow forum. http://stackoverflow.com/questions/26001119/pathpatch-object-in-julia-with-pyplot Any comments are welcome. Thank you.

[julia-users] Re: PathPatch object in julia with PyPlot

2014-09-23 Thread Diego Tapias
ideas? ​ 2014-09-23 12:27 GMT-05:00 Diego Tapias dandrove...@gmail.com: I share a question I did in the stackoverflow forum. http://stackoverflow.com/questions/26001119/pathpatch-object-in-julia-with-pyplot Any comments are welcome. Thank you.

[julia-users] How to append two arrays?

2014-09-09 Thread Diego Tapias
Consider the arrays given by v = [1.,2.,3.] w = [2.,4.,6.] As you know both are arrays of dimension 1. I want to form the matrix with its columns given by v and w. How can I do that (I tried with “cat” but it didn’t worh)? How can it be generalized for n arrrays. Thanks in advance ​

Re: [julia-users] How to append two arrays?

2014-09-09 Thread Diego Tapias
:31 PM, Diego Tapias dandrove...@gmail.com wrote: Thanks for answering!, but what if I want to form a matrix of dimension 2 and not an array of dimension 1. 2014-09-09 17:27 GMT-05:00 Stefan Karpinski ste...@karpinski.org: append!(v,w) – it modifies and returns v. On Wed, Sep 10

[julia-users] Discrete sine transform

2014-09-09 Thread Diego Tapias
Can please anyone help me with the use of the method FFTW.r2r?, I need to do a discrete sine transform over the elements of an array. Particularly I need the transform RODFT00 (option of the method). I read what the manual says but it is a little bit confused for me. Thanks in advance.

Re: [julia-users] Julia with LightTable

2014-07-21 Thread Diego Tapias
20, 2014 at 4:12 PM, Diego Tapias dandrove...@gmail.com wrote: I have got the following error whenever I try to run a Julia Script with the editor LightTable: Couldn't connect to Julia ERROR: REPLCompletions not defined in anonymous at no file in include at boot.jl:238

[julia-users] Julia with LightTable

2014-07-20 Thread Diego Tapias
I have got the following error whenever I try to run a Julia Script with the editor LightTable: Couldn't connect to Julia ERROR: REPLCompletions not defined in anonymous at no file in include at boot.jl:238 in include_from_node1 at loading.jl:114 in include at boot.jl:238 in

Re: [julia-users] Re: Julia with LightTable

2014-07-20 Thread Diego Tapias
it on your path. More details can be found at https://github.com/one-more-minute/Jupiter-LT/wiki/Installing-%26-Upgrading On Sunday, July 20, 2014 4:12:23 PM UTC-7, Diego Tapias wrote: I have got the following error whenever I try to run a Julia Script with the editor LightTable: Couldn't connect