From simon.urbanek at r-project.org  Sun Aug 17 17:49:23 2008
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Sun, 17 Aug 2008 11:49:23 -0400
Subject: [Rd] 'javareconf -e' as normal user (PR#12544)
In-Reply-To: <20080815125003.3CD05282C765@mail.pubhealth.ku.dk>
References: <20080815125003.3CD05282C765@mail.pubhealth.ku.dk>
Message-ID: <6CE0DFD0-77D5-4918-9C54-9A22D7B6B8AD@r-project.org>

Rune,

On Aug 15, 2008, at 8:50 AM, bugs at philosof.dk wrote:

> Full_Name: Rune Philosof
> Version: 2.6.2 and 2.7.1
> OS: Ubuntu 8.04
> Submission from: (NULL) (130.226.87.177)
>
>
> When I try to install rJava I am requested to run 'R CMD javareconf - 
> e' if I
> don't have root access.
>
> rune at rune-laptop:~$ R CMD javareconf -e
> shift: 59: can't shift that many
>

Can you tell us which shell you are using? It works fine for me with  
sh/bash.

FWIW in general the syntax is "-e <prog>" (see -h) e.g.
R CMD javareconf -e /bin/bash
You can also use '' for the default shell.

Cheers,
Simon



[Rd] 'javareconf -e' as normal user (PR#12544)
Simon Urbanek