On 15 January 2010 at 09:00, Denis Laxalde wrote:
| Hi,
| 
| Le jeudi 14 janvier 2010 à 20:00 -0600, Dirk Eddelbuettel a écrit :
| > Maybe you could just a two-liner in /usr/local/bin/, say 
/usr/local/bin/Rcmdr
| > that contains
| > 
| >      #!/bin/sh
| >      sh /usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh
| > 
| > (minus the indentation) and you then load this ?  You'd also have to place
| > the .desktop file in the right place by hand, I can't do that easily for the
| > package as all files belonging to the package end up below
| > /usr/lib/R/site-library/Rcmdr
| > 
| 
| Wouldn't it be possible to just modify the 'Exec' line in the .desktop
| file that is shipped in the package to make it work ?
| Something like:
|       Exec=sh /usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh

Not a bad idea.  Does that work for you?

All this is, as far as I know, only in Rcmdr as someone will invariably have
suggested it to John Fox who almost surely said 'why not' and included it. He
is primarily a Windows user.
 
| Otherwise, I don't really see the interest of adding a menu entry that
| does not work.
| An other alternative would be to disable it by default and let the
| user/administrator the possibility to add it by hand (as this is done
| for ipython for example).

Fine with me too.  I would like the Debian-specific tweaking to be as minimal
as possible.  If you suggested change works, we can patch it and report the
change upstream.  If we not we can remove it -- or just leave it as an
example that local sysamins could look at.

Dirk

| 
| Cheers,
| 
| Denis
| 

-- 
Three out of two people have difficulties with fractions.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to