From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105612 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: R module Date: Sat, 23 Nov 2019 22:11:58 -0500 (EST) Message-ID: References: <9D30C3C6-8780-42A7-88CD-93ECDFC1872E@gmail.com> <46AF595E-9472-48A4-B1D2-BB683EEC47C7@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-548466037-1574565120=:20039" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190537"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.21 (LNX 202 2017-01-01) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 24 04:12:30 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iYiK6-000nRg-Gu for gctc-ntg-context-518@m.gmane.org; Sun, 24 Nov 2019 04:12:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 96BA81631CC; Sun, 24 Nov 2019 04:12:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b_W7-6_kf9Fp; Sun, 24 Nov 2019 04:12:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C54EE1634BC; Sun, 24 Nov 2019 04:12:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E43A01634B6 for ; Sun, 24 Nov 2019 04:12:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SW-4w3xrH26S for ; Sun, 24 Nov 2019 04:12:03 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=141.211.125.12; helo=maleficent.mr.itd.umich.edu; envelope-from=adityam@umich.edu; receiver= Original-Received: from maleficent.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.125.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 790AB1631CC for ; Sun, 24 Nov 2019 04:12:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1574565121; bh=epak5Uuaw1lgLzrHmRI+aM8z2IwhqJp8UIxaT5cwzYc=; h=Date:From:To:Subject:In-Reply-To:References; b=JsbZ5+ciGUx+dV61ORlF/k3X8U7LTxUlPJsw6PEHE2xAWzpQkWNxvAef2ipImrtjS K7vuAC6KtpKNljDPjtsFVQhJyFnCIBfnnK8dJhe9aGE2MSGRQlAxq/7KfQJQdRpDav tXbjzkm40EhGSqHtB6v8pn8bkAwC/WcxHzYL0wvHcVuupPrW7qyQb3b049/dM2opEr 5epNGjOOD0lVBTTBxId2wyU1nqLVmT6j/aTyEl2I6cTDzFMwgy6TX78yjnsuTCYh2M yxCbRPrHqsF+TmnNGk/zaP8RDzfapaLahN07G50z3ESSk3ZQNZG0q6YkD5anqA42V9 GtGbCyFZilhkA== Authentication-Results: maleficent.mr.itd.umich.edu; iprev=pass policy.iprev=198.84.255.218 (198-84-255-218.cpe.teksavvy.com); auth=pass smtp.auth=adityam Original-Received: FROM adi-thinkpad.local (198-84-255-218.cpe.teksavvy.com [198.84.255.218]) By maleficent.mr.itd.umich.edu ID 5DD9F500.A154A.27009; Authuser adityam; Sat, 23 Nov 2019 22:12:00 -0500 In-Reply-To: <46AF595E-9472-48A4-B1D2-BB683EEC47C7@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:105612 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-548466037-1574565120=:20039 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 23 Nov 2019, Fabrice L wrote: > Dear Aditya. > >> Le 22 nov. 2019 =C3=A0 17:49, Aditya Mahajan a =C3= =A9crit : >> >>> =09I=E2=80=99m teaching with R this term, and I tried (without success)= the R-module (I think the path of R is not found). Having no time to test = and find out the problem, I have tried with success knitr (with is Rmarkdow= n code converted to latex-beamer). But I=E2=80=99m missing Context=E2=80=A6= My understanding is that the R-module is working only with mk-ii. Is there= people in this list using successfully the r-module with mk-iv ? >>=20 >> Have you tried the filter module: >> https://github.com/adityam/filter/blob/master/README.md >>=20 >> For setup with R, see: >> https://github.com/adityam/filter/wiki/R >>=20 >> Aditya > > Thanks for your answer. I did not know about the filter module. I had a= =20 > look; the module is powerful=E2=80=A6 but complex to install. Why do you say so? If you are using context-minimals, then this can be=20 installed like any other module. If you are using texlive, then can be=20 installed using tlmgr. > It is not clear for me: this module would permits to submit code to R,=20 > optionally shows this code in the conTeXt document, and includes the=20 > output of R ? Yes, to all three. > So is it a modern replacement of the r-module ? You can think of it that way. It works for all programming languages, and= =20 not just R. Aditya --8323329-548466037-1574565120=:20039 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --8323329-548466037-1574565120=:20039--