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. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel