From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Schwartz Newsgroups: gmane.emacs.help Subject: Re: Can't open R in Emacs Date: Sat, 04 Aug 2007 09:43:51 -0500 Message-ID: References: <1186163463.463509.313420@d55g2000hsg.googlegroups.com> <1186180218.598538.157180@q75g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186242072 23270 80.91.229.12 (4 Aug 2007 15:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2007 15:41:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 04 17:41:10 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IHLkQ-0005HT-OK for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 17:41:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHLkN-0000Jt-KW for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 11:40:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 04 Aug 2007 09:43:52 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:dnCx9xXW0udBtpnftQuyuCwbyEk= Original-Lines: 29 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 76.17.205.60 Original-X-Trace: sv3-5LrOEQL/tqXz2P6vuc5srJrLfBWlHbc4uT1ebDD6/4wQedzNY6F/3ijU+rm1nFycdUHmd5M0tUrh3hP!5/tx5XFDV1JbpXYx74yLC40p9m5tjBpkVRXgXchzdJ9MQ0ighc2GdihT6EGCcgbCHokqGiFjjB2N!GqDPJUD8oFlg7UfllD8b Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Original-Xref: shelby.stanford.edu gnu.emacs.help:150742 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46317 Archived-At: Peter Dyballa writes: > Am 04.08.2007 um 00:30 schrieb Hosley: > >> I can open R by clicking on my desktop "R 2.5.0" icon, or by opening >> from "C:\Program Files\R\R-2.5.0\bin\Rgui.exe" > > You certainly won't be running R's GUI in GNU Emacs, you'll need to > find the "simple" command line oriented utility, R.exe or such. The > Swedish URL you provided mentions C:\tools\bin\ to contain R. No. The 'tools' directory is for other purposes, such as compiling R from source and/or creating add-on packages. In this case, the terminal based executable on Windows, as per the link I provided is called 'Rterm.exe'. Note also that the full path to the application, which on Windows has a space in it, needs to use the '~1' contraction. So for R 2.5.1 it should be something like: (setq inferior-R-program-name "C:/progra~1/R/R-2.5.1/bin/Rterm.exe") if you are going to use that approach in .emacs. Again, that is described in the aforementioned ESS manual. HTH, Marc