From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4CpALdfncmMVagEAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 02:13:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KBlHLNfncmNicgAAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 02:13:59 +0100 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 49A7A3B231 for ; Tue, 15 Nov 2022 02:13:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouirY-0004uV-9G; Mon, 14 Nov 2022 18:27:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouihh-0006jw-0w for emacs-orgmode@gnu.org; Mon, 14 Nov 2022 18:17:25 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouQ1d-0000DE-RD for emacs-orgmode@gnu.org; Sun, 13 Nov 2022 22:20:47 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 8520915E6E8 for ; Sun, 13 Nov 2022 22:20:41 -0500 (EST) (envelope-from wtd@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:subject:message-id:mime-version:content-type; s=sasl; bh=e1/ MNZ8jv2VvMxk+4Ydit2tSYNDcpEhhzJGmKt8jhd8=; b=BglKnurNsNP9C6oOLZ8 Tiy8Fl/HU1llMrfI0oPGruvrZ3MN5JF9/+kYXMTMwMX2OmPlutkkUroGTlem7h5o YPn6HE3WQ/s90bv4MNUgXzCwsaft2bcvM4IbBJm0U5/RyrSYUULgAjRhWYk5TyY0 1DZJFprkd2qCF1A6W/VBDPsw= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 7D5AB15E6E7 for ; Sun, 13 Nov 2022 22:20:41 -0500 (EST) (envelope-from wtd@pobox.com) Received: from shell3.miskatonic.org (unknown [199.103.62.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 0B08915E6E6 for ; Sun, 13 Nov 2022 22:20:41 -0500 (EST) (envelope-from wtd@pobox.com) Received: by shell3.miskatonic.org (Postfix, from userid 1000) id 668B5120F92; Sun, 13 Nov 2022 22:20:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by shell3.miskatonic.org (Postfix) with ESMTP id 60206120F1A for ; Sun, 13 Nov 2022 22:20:40 -0500 (EST) Date: Sun, 13 Nov 2022 22:20:40 -0500 (EST) From: William Denton X-X-Sender: wtd@shell3.miskatonic.org To: emacs-orgmode@gnu.org Subject: Seeing all the steps when I run an R code block Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Pobox-Relay-ID: 5139D4E6-63CB-11ED-9A5C-307A8E0A682E-56320186!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=wtd@pobox.com; helo=pb-smtp2.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668474839; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BWKxsVt8sy8vfPwqTyPOf+rTUvCai05WgXvHc+OAN/c=; b=p+c0TLRnoRKA+3cT1TltFNT9lg9+VtLNtMlXYqmwYygnhGXFDxtqoFsCweYxzTaXw+1d17 nPtXBYqtBF/gjdl3rkZ1r02r7xBbhG65HNtuALAdGnX6MdhOcAIxkfGR/i8wRaDWzF8el7 c8O9XMF4TgESOy9h7xsLInKxu4onS7T50LFF1eaI3FsI6D8crIVcYiPjgIeaVZTj1JpqU9 yHsQnK2oFjPFl6YkBnnwvi8ZgPA7L0ym0uNk4iJej+tlfJTHJms1/lCYlDkO/5nYIFJZFy reCcilHrtjFJtNwPaVO5TojH6B+FbcOsq0LhHcs7lR1pBQ5Yxp0yYtQgYxDn4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668474839; a=rsa-sha256; cv=none; b=jhNUk0sKS99Gx6s0YvDwUDH6tkBo1tNBWDLr3ofFJxhWn4DNZwUwmzLzWHNQxshrQacd4R Hjc9CsVpr9Yglw2cPTmbHXo4uyeJDztpO2D2ujQCT4/qM3trfzWL6E1C3axT1kY0lQxriq eSZKR2ahauuOoKwT9MMnEZvODNodD5gy8BZYw1ZwrX3UoRR1nuVUjqAR39UJ63IDcKIiw9 EazCpJ4LVERskLtpBTZ560XZXywqzSdKZ2tRSG3E7qqLQ61jymEpWmxZjZbnyTHOtyaDGI TejSZtBis3LaldEcV97NNwKZySb39jWuJO6yzE0c3AuCNFbIFM1XfRvgET1Pkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=BglKnurN; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=BglKnurN; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 49A7A3B231 X-Spam-Score: -4.14 X-Migadu-Scanner: scn1.migadu.com X-TUID: xKiW/CSxpUp+ I've got a few problems with R source blocks that I can't figure out. They started late last month, I think. I'm running Emacs and Org from the development trees, refreshing and recompiling regularly. ESS (the package for working with R) is up to date too. Here's one big problem. I have a file, /home/wtd/books/reading/test-r.org, and in it is this R block: # ----- #+begin_src R :session R:testing :results value 1 #+end_src # ----- If I execute that with C-c C-c, the R session buffer starts, but in the wrong working directory. This is in the R session buffer, reported by ESS: # ----- > setwd('/home/wtd/books') # ----- It's in the directory *above* where the Org file is! It should be in /home/wtd/books/reading/. I copied the test file to /tmp/r/test/, and it's fine there. The session's working directory is /tmp/r/test/, not /tmp/r/. Something strange is going on, but I can't see why. Is there some way I can see all the steps that are happening when I hit C-c C-c on that code block? Or maybe there's some other way to figure it out? Any suggestions welcome. Thanks, Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada