From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: Re: Re: [babel] Re: org-babel-R and windows ? Date: Fri, 15 Jan 2010 10:32:22 +0100 Message-ID: <1A858358-D131-4DFE-8615-0E58123C8E45@nf.mpg.de> References: <878wc3kyli.fsf@stats.ox.ac.uk> <874ompiyk2.fsf@stats.ox.ac.uk> <87hbqpkroz.fsf@mundaneum.com> <87tyuomvra.fsf_-_@stats.ox.ac.uk> <87y6k0328c.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NViXk-0004NW-Bz for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:32:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NViXf-0004NH-3Q for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:32:35 -0500 Received: from [199.232.76.173] (port=36427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NViXe-0004NE-DY for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:32:30 -0500 Received: from mail.nf.mpg.de ([134.95.44.50]:41576) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NViXe-0005GW-0h for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:32:30 -0500 Received: from [192.168.178.21] by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0KWA00FA07WHN600@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:33:53 +0100 (MET) In-reply-to: <87y6k0328c.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Cc: Dan Davison , =?iso-8859-1?Q?S=E9bastien_Vauban?= Dear S=E9bastien, dear Dan, On 14.01.2010, at 20:39, S=E9bastien Vauban wrote: > Hi Dan, >=20 > Dan Davison wrote: >> S=E9bastien Vauban writes: > [...] > So, trying to answer your question, I would split it in two parts: >=20 > - calling scripts, > - calling applications with some data or description. >=20 > First case: script written for the shell. Without cygwin, your = interpreter is > `cmd.exe', so pretty limited. And, here, we come back to one question = I had > some weeks ago about which interpreter is chosen when executing the = snippet: > bash, Zsh, etc. Same problem here, with a third possible command = interpreter. >=20 > Second case: "applications" like R, ditaa, etc. There, I don't see any = problem > for calling them with some data to feed them. The only real condition = is that > the program must be found in the PATH (or the full path to the = executable has > to be given). I would like to add something which we had to learn the hard way when = working on a platform-independent project with a commandline-interface: = the native commandline in MS Windows (cmd.exe) can only digest input = with significantly fewer characters than the usual shells in Linux and = Solaris - and then you get really strange and unhelpful error messages. = The number of characters for Windows XP is 8191 characters, for older = systems (Windows 2000) it is about 2000 characters. This was a = showstopper-class problem for us (we worked around this by putting all = previous commandline arguments into an optional parameter file), much = later we found an official Microsoft article on this: = http://support.microsoft.com/kb/830473/EN-US Warm regards, Stefan=20 --=20 Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de