emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Cc: "Dan Davison" <davison@stats.ox.ac.uk>,
	"Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Subject: Re: Re: [babel] Re: org-babel-R  and windows ?
Date: Fri, 15 Jan 2010 10:32:22 +0100	[thread overview]
Message-ID: <1A858358-D131-4DFE-8615-0E58123C8E45@nf.mpg.de> (raw)
In-Reply-To: <87y6k0328c.fsf@mundaneum.com>

Dear Sébastien,
dear Dan,

On 14.01.2010, at 20:39, Sébastien Vauban wrote:

> Hi Dan,
> 
> Dan Davison wrote:
>> Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
> [...]
> So, trying to answer your question, I would split it in two parts:
> 
> - calling scripts,
> - calling applications with some data or description.
> 
> 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.
> 
> 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 
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, 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

      reply	other threads:[~2010-01-15  9:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 13:24 org-babel-R and windows ? d.tchin
2010-01-12 14:56 ` [babel] " Giovanni Ridolfi
2010-01-12 17:05   ` Manish
2010-01-12 17:43 ` Dan Davison
2010-01-12 18:05   ` Eric Schulte
2010-01-13  4:16   ` Manish
2010-01-13  9:20   ` d.tchin
2010-01-13 19:39     ` Dan Davison
2010-01-14  8:37       ` Sébastien Vauban
2010-01-14 17:39         ` [babel] " Dan Davison
2010-01-14 19:39           ` Sébastien Vauban
2010-01-15  9:32             ` Stefan Vollmar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1A858358-D131-4DFE-8615-0E58123C8E45@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).