-----Message d'origine----- De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de Serge Stinckwich Envoyé : vendredi 31 octobre 2014 11:39 à : Pharo Development List Objet : Re: [Pharo-dev] Time Series in Smalltalk
On 31 Oct 2014, at 10:50, Blondeau Vincent <vincent.blondeau@worldline.com> wrote:
Dear Serge,
Bonjour Vincent,
That's nice but I will need more statistical functions to calculate autocorrelations. Yes having some statistical functions and tests is definitively something we are looking for SciSmalltalk.
These functions are already implemented in R (http://www.r-project.org/). So, there is two solutions: - As the sources are open, implement them in Pharo (but it is some thousands of lines...)
This is R code ? Do you have a link to this source ? This is C code: you can download it here: http://cran.r-project.org/sources.html I'm also interested to have a native solution in Pharo. Maybe we can join our forces ;-)
I look at the sources a little and it seems costly to translate them. Maybe we can select a few. Statistical Tests looks simpler.
- With nativeboost, use the R libs (written in C)
As I prefer the second solution, I began to write some code with native boost and it seems to work well.
I'm a little bit worried with performance issue for the second solution ;-) or R libs are not written in R ?
R libs are in C. So I think that the performances are not the problem.
I can add them in SciSmalltalk package if I have the rights. But I don't know how to package the R libraries for the different OS...
Yes, this is a nice idea. We can give you access to the SciSmalltalk repo. Please join the ml: https://groups.google.com/forum/#!forum/scismalltalk What could be nice is write tests so we can use this tests latter if we want to have a native solution.
That's what I planned to do ;) Thanks, Regards, Vincent
Thank you. Regards, -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://doesnotunderstand.org/
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.