[julia-users] Newbie questions: How to use PlotlyJS in Atom/Juno properly

2016-05-04 Thread Ben Southwood
Hello Julia-users, I can currently create PlotlyJS plots in Atom/Juno. However, the only way I know of creating publishing a plot is to use display(my_plot). This always generates a new plot window. How do I send new plots to the same plot window? Where is the documentation I can read that

Re: [julia-users] Re: Newbie question. Need help with grouping dataframes, cumulative sums and plotting.

2016-05-04 Thread Ben Southwood
r return values (the last line in the do-block) gets concatenated >>>> together to form the final result. The code I really wanted to write is: >>>> >>>> using RDatasets >>>> df = dataset("datasets", "iris") >>>> # Fo

[julia-users] Re: Newbie question. Need help with grouping dataframes, cumulative sums and plotting.

2016-05-04 Thread Ben Southwood
ne can provide a more elegant solution. `sub_df` a > SubDataFrame, and those objects can neither have a new column nor be > converted to DataFrame. > > On Tuesday, May 3, 2016 at 4:22:29 PM UTC-4, Ben Southwood wrote: >> >> I have the following dataframe with values of the for

[julia-users] Newbie question. Need help with grouping dataframes, cumulative sums and plotting.

2016-05-03 Thread Ben Southwood
I have the following dataframe with values of the form date1,label1,qty1_1 date2,label1,qty1_2 date3,label1,qty1_3 dateN,label1,qty1_N date1,label2,qty2_1 date2,label2,qty2_2 date3,label2,qty2_3 dateN,label2,qty1_N I would like to cumulative sum the qtys such that the value of

Re: [julia-users] Time handling: Micro/Nanosecond precision and time string formatting like Unix

2016-05-02 Thread Ben Southwood
; >>> > >>> > >>> > sexta-feira, 29 de Abril de 2016 às 14:03:52 UTC+1, Stefan Karpinski >>> > escreveu: >>> >> >>> >> I'll answer with a pair of questions: >>> >> >>> >> what range of dates can you r

[julia-users] Unused variable warning in Julia

2016-04-29 Thread Ben Southwood
I really like the functional style of Julia as I primarily code in OCaml. One of the cool optional features of the OCaml compiler is that if you define a function and a variable is unused, the compiler will complain that you have a variable that was never used. I'm surprised how many bugs

[julia-users] Time handling: Micro/Nanosecond precision and time string formatting like Unix

2016-04-29 Thread Ben Southwood
Are there any packages that can handle "Unix style" times? How come Julia can only handle seconds in 0.4.5 and milliseconds in 0.5 (unstable)? Shouldn't we just aim big and go all the way to nanos? For example, it would be great if I could handle the following times. 2015-12-11