From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [babel] Working dir incorrect Date: Mon, 13 Mar 2017 11:42:10 -0400 Message-ID: <87tw6xmbe5.fsf@alphaville.usersys.redhat.com> References: <8760jd4592.fsf@fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnS7B-0008AC-FV for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:42:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnS77-0001BP-GM for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:42:29 -0400 Received: from [195.159.176.226] (port=45454 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnS77-00019n-AN for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 11:42:25 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cnS6v-0003J0-6R for emacs-orgmode@gnu.org; Mon, 13 Mar 2017 16:42:13 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Loris Bennett" writes: > Hi, > > In a file that used to work, when I now try to run some R code which > generates an image, I get the error: > > cannot open file './usage_users_historical_facet.pdf' > > If I check the working directory for the R session I see > > getwd() > [1] "/usr/share/emacs/site-lisp/ess" > > instead of the directory in which my org file is located. > > I am now running Org 9.0.5 on Emacs 25.1.1. The last time things worked > I was definitely using an older version of Org and possibly Emacs 24. > > Any thoughts? > Can I make a plea for an ECM? If you provide one, I can spend five minutes testing it, but without it I'll have to do real work to get an example together and that's much more unlikely to happen. -- Nick