Xemas, ESS und R

Faheem Mitha faheem at email.unc.edu
Thu Sep 7 22:03:44 CEST 2000



In my experience installing rpms using Yast (in SuSE 6.2) is a bad idea
(particularly for third party rpms like ess) because dependency checking
is screwed up. I used to used Yast for this purpose but have now stopped
doing so. This may have been fixed in Yast2 in 6.4, but I just thought I
would give a warning. I would suggest instead, use rpm directly and
perhaps run suseconfig afterwards.

The ess rpms for suse used to have a little file which you has to add to
site-start.el. I still have the ancient 5.0 ESS rpm for Xemacs installed,
and it had a file called for-sitestart.el as follows

***************************************************************************
; -- ESS
(load "ESS/ess-site")

  (add-hook 'Rd-mode-hook
            (lambda ()
              (abbrev-mode 1)
              (if (eq window-system 'x)
                  (font-lock-mode 1))))
****************************************************************************

I added this to /usr/X11R6/lib/xemacs/site-lisp/site-start.el

and everything was cool. Of course if you don't want system-wide changes,
add this to ~/.emacs.  I think the same person (Albrecht Gebhardt) is
still maintaining them, so it may be the same kind of thing in 6.4. I am
not suggesting you use the above unchanged in 6.4 of course.

Funny thing, by the way, there appear to be two site-start.els in my
xemacs distribution. They are

/usr/X11R6/lib/xemacs-20.4/lisp/site-start.el
/usr/X11R6/lib/xemacs/site-lisp/site-start.el

I am not clear about why there are two. I appear to have added the lines
about ESS above to the latter, for reasons that are now not very clear to
me.

I remember there was also some kind of permission problem getting ESS to
run on SuSE 6.3 as follows. SuSE 6.3 sets permissions 0660 to /dev/pty*,
this prevents ESS from running unless you change this back to 0666. This
may not be a problem in SuSE 6.4 of course.

I am sorry, I don't read German, so don't know exactly what the original
message said.

Disclaimer: all the above information may be out of date or inaccurate,
since the Linux distributions change so rapidly.


                                         Faheem.

On Thu, 7 Sep 2000, Peter Malewski wrote:

> On Thu, 7 Sep 2000, Wolfgang Kohn wrote:
> 
> > Hallo,
> > 
> > ich habe ESS-5.1.13.rpm mit YAST2 unter SUSE 6.4 installiert. Bekomme
> > aber unter XEMACS mit dem Befehl M-x R R nicht gestartet. In der
> > Kommandozeile wird [no match] angezeigt. Was muß ich tun damit ich ESS
> > nutzen kann?
> 
> I never used SuSe nor Ess-rpm's nor xemacs. I think you have to add
> somethink like (require 'ess-site) to your .emacs. Of course the path to
> the ess-site have to be given. read the readme's and docs of ess. 
> 
> in ess-site.el:
> 
> ;;; with XEmacs, this is simply:
> ;;;      (add-path "/path/to/ess/lisp-directory")
> 
> Peter
> 
> BTW: The bad think with Suse is that you never understand what happens if
> you install something...

?? How do you mean, exactly?  F.



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list