[NTG-context] Can anyone connect context to R or python?

Hans Hagen j.hagen at xs4all.nl
Fri Oct 5 20:07:27 CEST 2018


On 10/5/2018 8:00 PM, Kelley, Claire wrote:
> Thank you for all the answers so far !
> 
> 
> 
> Ive gathered from that I need to use filter to call R externally.
> 
>   What I am still most interested in is how I could get a single value from R to be part of the Context code. (Like you would do with \Sexpr{} in sweave. The use case for this is that I have some complicated tikz code that makes a fancy matrix - I want to fill it in with numbers that r reads from a csv file and processes.
Can you give an example? Do you only need R for reading the csv?

Hans ntg-context at ntg.nl


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list