From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2C4zEV0xAmBZOQAA0tVLHw (envelope-from ) for ; Sat, 16 Jan 2021 00:20:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kPwBDV0xAmDoCgAA1q6Kng (envelope-from ) for ; Sat, 16 Jan 2021 00:20:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31A48940111 for ; Sat, 16 Jan 2021 00:20:44 +0000 (UTC) Received: from localhost ([::1]:55908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0ZKd-0003gV-4o for larch@yhetil.org; Fri, 15 Jan 2021 19:20:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0ZJF-0003gH-CN for emacs-orgmode@gnu.org; Fri, 15 Jan 2021 19:19:19 -0500 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:56588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0ZJ9-0001LJ-AP for emacs-orgmode@gnu.org; Fri, 15 Jan 2021 19:19:17 -0500 Received: from pps.filterd (m0173172.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10G0AgXq013421; Fri, 15 Jan 2021 16:19:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=RXplKfHVbZWJR7qADX0I20bnosZw4JxP9TF4iTcGpt8=; b=v5MjNapmi1c2Tv7rTQbRuS7PwbCBKqFGylnltt8w01ATswyyb9q5VNB9XoHc1wee25I3 viksfuyd6l7ya5/e0Ed4SvaJmMtiYY44NabYXG0KUibr67QKwibVXWkrTm1esAfznqUZ L3zya5DxeOljPuzBUoFyII88E9ZqolmfZA8cYD4/91O90z6ZJuysEFlEzNpbXYHb/jVw PGoR5wsxY2d0PrmM9NLDSNLg4AMNYZ3DwwTbJVmdtpCyBluNeJIrJdm8WEarAprvSJ2f VEdGd4jFA8LkWLQ3/gQtoER4QUKT92Tzdj5p3OZTZ0zF59x43GjZiMmS5kEZAv9EoHWq Gw== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com with ESMTP id 3639dtbtru-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Jan 2021 16:19:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+f95t2u3uYKIXkIwdQsIFWwMHb/NdyPHyq7sxrk6jwJKXbm4nShz/rG/bXGFVWPs2VjHJDJBy2QtZnU6M5P01CLax2QWd1poR/QiKErFVOXZWQCeBSzMfNEk9xDbjx4BFeNyTN03OLU/O+E89HPPjCmgYsnKSAkC7NpfSFkv6gmZe1zfPOwxpA20g/e5SCDXuZSgi5ow/dZTu28esDd87kcVRZJLFiaOT2gLxPisOoUy/QC/GFhmh/cxj3EDWpgntU5rVSFCwWVOHNos1hq+lopAnWCsBVrQMXYleQs7LLRFz6Lgg+kSs+L2W1E3e4NI5RGDK9l88qoy4lfogK3Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RXplKfHVbZWJR7qADX0I20bnosZw4JxP9TF4iTcGpt8=; b=IY8HMpqFl1ERFknh28KKiqUALqz0J9xS8VX2dgKEUsL2D1Cqp12TmsG19ykqp7hGw9z1UvClrfC9rjjnnSraiN+TdzSyX5x4ZCTcHV6pWnOlwueAEO2Ce7A8FjmTIL/257t9uxyPuB/SR644sW1duIfvCBd3rphZ0vyOf5T7afS0bIOHM5yooESDgBG/EkvU6wa5rumliepKe0/Wv1vXfGJ0MbZ8MResawEtRYaZfcG679HhVFMtTTMWVjg+Es1w01hwraa+E6dO/x4G2Rh35Gjxvh+ZAFb3XUQs526MJH2AKysWTJfZ+M7d7si8i6X1akKev5xzKdqbC4G+4Hcx/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RXplKfHVbZWJR7qADX0I20bnosZw4JxP9TF4iTcGpt8=; b=eXD7b2yQX4e8/ZyyF8QsBmz1kAds6d5COsGnI4Agrsg1BWZw/KJ+/gXjLAgQlQ+kaayGb4SUrsXvIOzJSA+PboeuWD3Z4S2ipFyCbVcuLhoG/xPYn8r6uk6scrLDnjI0eLd0m2mBFSh6r93pmy4FAqHOSilXhLBS1zXgqzjJIlk= To: Brett Presnell Subject: Re: na=\"nil\" in ob-R.elo Thread-Topic: na=\"nil\" in ob-R.elo Thread-Index: AQHW650zphy1FUmMv0uh8IR3tbA6kA== Date: Sat, 16 Jan 2021 00:19:05 +0000 Message-ID: <97F6B6F8-E109-4089-8C21-03E087AA4AD3@health.ucsd.edu> References: <87h7njdr0x.fsf@ufl.edu> In-Reply-To: <87h7njdr0x.fsf@ufl.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2600:1702:1021:b0:a470:77c3:ba8:b780] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 940f4e4f-cd56-44c2-8f93-08d8b9b455a8 x-ms-traffictypediagnostic: SJ0PR19MB4796: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EDBEUQLv7Ora5SoK4IhNuZSD5Qh+QbVFZiAA0jUmAQiO0ELtWe4TTZ4yMOvwobzV5r2/rzpeFtHkGoBGHvYFyZb4gIw8+IbhyATH4khv7+mwMCYkgi15VpWendPkNwiY6VnuGsBytK7A96ihYPa7XhVzriOVk8SHtq6rx2eCRuvS7JPjaqAYWKT4BjSWfp90Mkrr0aWnfeYU7s4clyZCBSir4xO36DUUNkTeHusVBse3Z6aMXv2fd0aUh6vXhJpAvBcPPsdV/ueLMwztybcXizs9TD4vMdzh6Qeyxr2SEQxQO6AIP+n/eQ509rDk0TCtaHfk85dmpCXJNoTHVTXfTwwvOQPwrTqqSxuorplDhhG7lCnzvEifJsrAs1w5bWlaGO1hKFyucHL11ML9pnrtAs1klLM5j9HU6n+ATA99w2or/Pc1byI3K93UbW0Ed52g x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(366004)(136003)(346002)(396003)(6512007)(6486002)(66946007)(786003)(4326008)(64756008)(2616005)(8936002)(53546011)(316002)(186003)(76116006)(6506007)(66476007)(66446008)(66556008)(2906002)(83380400001)(5660300002)(8676002)(71200400001)(478600001)(6916009)(86362001)(75432002)(33656002)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antisp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an9+drNuyp4bIVi7nHri+kXKjxEQHw260lpnKEr9NA?= =?us-ascii?Q?b3ussjqHqZn8qYuutw1fWBBt14OHf1ur1qOUq6yjYuufgiN/uhA7mq+S5a5D?= =?us-ascii?Q?v4BLN50P4+IBv0uIk29SZaphbbW6tDLg9IRFoianOgiXqB29rsNFgDj/oiDD?= =?us-ascii?Q?9+u/HtUjzM6vHOD7O/WzrPXvImODVhfdc9Wi53swZhpcrJ/kA+prbYRSUlcF?= =?us-ascii?Q?wu19t7LN?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 940f4e4f-cd56-44c2-8f93-08d8b9b455a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2021 00:19:05.3907 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YvF7Pf7M6ETw+wttkK2DI6OkhnQPGSek67sBS4lITXRvI6OtKheeL6z0NKGG00tCLS0tDIgKml0xWsfwHL7F4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR19MB4796 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-15_15:2021-01-15, 2021-01-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 impostorscore=0 mlxscore=0 phishscore=0 spamscore=0 clxscore=1011 mlxlogscore=999 adultscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101160000 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=v5MjNapm; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=eXD7b2yQ; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 31A48940111 X-Spam-Score: -0.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: jvy1ffXGj2hA > On Jan 14, 2021, at 3:42 PM, Brett Presnell wro= te: >=20 >=20 > Probably a silly question, but in ob-R.el, what is the reason for > setting na=3D\"nil\" when defining org-babel-R-write-object-command? Is > this an elisp compatibility thing? >=20 I don't get it either. The value corresponding to the NA becomes a string i= n emacs-lisp whether \"nil\" or \"\" is used. So when passed to elisp via a :post header referencing an emacs-lisp src bl= ock, its treated as a string. =20 > Regardless, I generally (always?) want na=3D\"\" for this, so I am findin= g > all those "nil"s very annoying, and the only way that I see to defeat > them is to redefine org-babel-R-write-object-command. >=20 > If there is no reason for the current behavior (doubtful I know) and if > I am not missing an obvious work-around, then I would like to suggest > changing this behavior. Otherwise, would it be feasible to add an > option for R code blocks (:nastring?) where one could specify the NA > replacement string? >=20 > What do you think? It's easy to suggest I know and certainly beyond my > elisp coding skills at present, but I am supposing that someone more > fluent in elisp could do this safely without too much trouble. >=20 You can use a :post header to customize outputs like this to make them more= pleasing. Or just use your own `org-babel-R-write-object-command'. Adding another header arg qualifies as feature creep and in this case would= require non-trivial work to implement. HTH, Chuck=