From: Hans Hagen <j.hagen@xs4all.nl>
To: "Kelley, Claire" <ckelley@air.org>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Can anyone connect context to R or python?
Date: Fri, 5 Oct 2018 20:07:27 +0200 [thread overview]
Message-ID: <34be546b-d1b0-cbb5-cad9-8b8cbc2adf85@xs4all.nl> (raw)
In-Reply-To: <764679D5-F624-44B4-921B-D8DE3DC696D5@air.org>
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@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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-10-05 18:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-05 14:55 Kelley, Claire
2018-10-05 17:48 ` Henning Hraban Ramm
2018-10-05 17:48 ` Pablo Rodriguez
2018-10-05 18:00 ` Kelley, Claire
2018-10-05 18:07 ` Hans Hagen [this message]
2018-10-05 18:24 ` Alan Braslau
2018-10-06 16:41 ` Kelley, Claire
2018-10-06 17:06 ` Aditya Mahajan
2018-10-06 17:08 ` Kelley, Claire
2018-10-06 17:17 ` Wolfgang Schuster
2018-10-06 17:24 ` Alan Braslau
2018-10-06 20:19 ` Aditya Mahajan
2018-10-06 20:42 ` Hans Hagen
2018-10-08 18:58 ` Stanislav Sokolenko
2018-10-08 20:57 ` Alan Braslau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=34be546b-d1b0-cbb5-cad9-8b8cbc2adf85@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ckelley@air.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).