Hi there, perl6 offers with the NativeCall package a great tool to implement other languages into perl scripts. This has already been done with python, C(++) and perl5. For my use cases - lots of data munging and statistical analyses (climatology/meteorology) - it would be perfect to parse data and call/run models from perl6 and then to do plotting and analyses in R. I saw R does have some C-interface so an implementation should be possible, right? I'm not good in that kind of programming, so is there maybe someone out there, that likes the idea of a perl6 Inline:R-package and knows how the R-C interface works? I would of course help in what ever way I can^^ greetings Flo -- View this message in context: http://r.789695.n4.nabble.com/Integrate-R-in-perl6-tp4706844.html Sent from the R devel mailing list archive at Nabble.com.
Perl6 is not great to do maths, even at basic level. So a dedicated sub-language ("slang" in perl6 linguo) would make a lot of sense indeed, and R would be a natural choice (other possibilities are octave and J). I don't know much about R, I've used it a little bit once but have forgotten pretty much everything since then. I know Perl 6 much better, but I'm not familiar with all subtleties of NativeCall, nor with how to create sublangs (we should take Inline::Perl5 as an example, though). If R has a C API (does it?), it should totally doable. First step would be to create a github repo, wouldn't it? -- View this message in context: http://r.789695.n4.nabble.com/Integrate-R-in-perl6-tp4706844p4706879.html Sent from the R devel mailing list archive at Nabble.com.