Hi Vitalie

Thanks ever so much for giving me the hints to track down problem. My
guess is that it arose from running 'make install' to make ESS and
would have been fine if I list added the source code to my emacs load
path. My guess is that 'make install' will generate the same problem
on a fresh install of ESS but if /usr/local/share/emacs/etc/ess/ESSR
is already there it will just use that

"package:ESSR" wasn't in my search path which once I looked at ESS
messages gave me enough of a clue to fix problem (not properly of
course) - basically 'make install' doesn't install ESSR in etc
directory so I symlinked it to fix problem - I have no idea why
although it could be that ESSR-VERSION file appears to be missing in
./etc

Perhaps the problem is that somewhere along the line I did a 'make
clean' which removed ESSR-VERSION file but I'm not sure

ElDoc mode is on status bar but doesn't seem to be doing anything but I'll
leave that for another time

I wish I could help with this project as it is awesome but my lack of
time and more importantly my lack of lisp coding ability is a severe
limitation I'm afraid. But thanks and keep up the great work!

Thanks a lot!

Cheers
Peter

--- Details -----

Basically, I think the ESSR directory in install (or prior to that)
doesn't get made as ESSR_VERSION variable is missing because there is
no ESSR-VERSION file

I think the problem is with make install because when I look in *ESS*
buffer I see the following but there is no ESSR directory installed in
ess directory

load-ESSR cmd:
local({

source('/usr/local/share/emacs/etc/ess/ESSR/R/.load.R', local=TRUE) #define
load.ESSR
                      load.ESSR('/usr/local/share/emacs/etc/ess/ESSR/R')})

So I simply fixed this with a hack by linking the missing ESSR
directory and everything works fine

[root]# ln -s /home/peter/Data/src/ess-svn/etc/ESSR
/usr/local/share/emacs/etc/ess/.


I also get the following problem

[peter]$ sudo make install
[sudo] password for peter:
cd etc; make install
cat: ESSR-VERSION: No such file or directory
cat: ESSR-VERSION: No such file or directory
cat: ESSR-VERSION: No such file or directory
--- stuff deleted -----

There is no ESSR directory in /usr/local/share/emacs/etc/ess/

[peter]$ ls /usr/local/share/emacs/etc/ess/
ess-s4.S            function-outline.S  sas-keys.ps
ess-sas-sh-command  icons               sas-keys.rtf
ess-sp3.S           sas-keys.doc        SVN-REVISION
[peter]$

So I did this:
[peter]$ cp -i etc/ESSR/VERSION etc/ESSR-VERSION

But it doesn't make any difference apart from getting rid of error
message 'cat: ESSR-VERSION: No such file or directory'

[peter]$ sudo make install
cd etc; make install
make[1]: Entering directory `/home/peter/Data/src/ess-svn/etc'
install -d /usr/local/share/emacs/etc/ess/icons
cp -p SVN-REVISION *.S sas-keys.* ess-sas-sh-command
/usr/local/share/emacs/etc/ess
cp -p icons/*.xpm /usr/local/share/emacs/etc/ess/icons
chmod +x /usr/local/share/emacs/etc/ess/ess-sas-sh-command
make[1]: Leaving directory `/home/peter/Data/src/ess-svn/etc'
cd lisp; make install
make[1]: Entering directory `/home/peter/Data/src/ess-svn/lisp'
install -d /usr/local/share/emacs/site-lisp/ess
cp -p ChangeLog *.elc /usr/local/share/emacs/site-lisp/ess
export J; for I in *.elc; do J=$I; cp -p `basename $J .elc`.el
/usr/local/share/emacs/site-lisp/ess; done
make[1]: Leaving directory `/home/peter/Data/src/ess-svn/lisp'
cd doc; make install
make[1]: Entering directory `/home/peter/Data/src/ess-svn/doc'
install -d /usr/local/share/info
cp -p info/ess.info /usr/local/share/info
test -f /usr/local/share/info/dir || cp -p dir.txt /usr/local/share/info/dir
grep '* ESS: (ess).' /usr/local/share/info/dir || \
(echo >> /usr/local/share/info/dir; echo 'Emacs' >>
/usr/local/share/info/dir; \
echo '* ESS: (ess).' '        Emacs Speaks Statistics' >>
/usr/local/share/info/dir; \
echo '                        (S/S+/R, SAS, BUGS, Stata, XLisp-Stat).' >>
/usr/local/share/info/dir)
* ESS: (ess).         Emacs Speaks Statistics
install -d /usr/local/share/doc/ess
cp -p ess.dvi ess.pdf readme.dvi readme.pdf ../README ../ANNOUNCE
/usr/local/share/doc/ess
cp -p html/ess.html html/readme.html html/news.html /usr/local/share/doc/ess
cp -p refcard/refcard.pdf /usr/local/share/doc/ess
make[1]: Leaving directory `/home/peter/Data/src/ess-svn/doc'
[peter]$



On Wed, Nov 20, 2013 at 6:15 PM, Vitalie Spinu <spinuvit@gmail.com> wrote:

>
> This might be a bug. Do you see ESSR attached in the search path?
>
> If not, something must be going wrong at start-up. To diagnose, M-x: R
> then immediately go to *ess-command-output* and see what is going on
> there.
>
>
>    Vitalie
>
>  >>> Peter Baker on Wed, 20 Nov 2013 17:49:13 +1000 wrote:
>
>  > Hi
>  > Would anyone be able to help with the above error message on running
> latest
>  > svn and git versions of ESS version 13.09-1 (and stable emacs 24.3.1+
>  > bazaar development version 24.3.50.2) just to see if it made a
> difference
>  > (git ess-20131118.1949 and svn revision 5892)
>
>  > Basically, eldoc seems to not work either and I think this is related
>  > because ElDoc mode is on status bar.
>
>  > I get the error message when I try and run standard help with ?ls say
>
>  > I have tried both emacs 24.3.1 from Fedora 19 and 24.3.50.2 from source
> and
>  > just used a minimal 2 line init file with
>
>  > emacs -q -l test-init.el
>
>  > ;; ess mode from svn - latest version 13.09-1 - fedora 19 a year behind
>  > (setq load-path
>  >       (append '("/usr/local/share/emacs/site-lisp/ess")
>  >               load-path))
>  > (require 'ess-site)
>
>  >> sessionInfo()
>  > R version 3.0.2 (2013-09-25)
>  > Platform: x86_64-redhat-linux-gnu (64-bit)
>
>  > locale:
>  >  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  >  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  >  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  >  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>  >  [9] LC_ADDRESS=C               LC_TELEPHONE=C
>  > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
>  > attached base packages:
>  > [1] stats     graphics  grDevices utils     datasets  methods   base
>
>  > loaded via a namespace (and not attached):
>  > [1] tools_3.0.2
>  >>
>
>  > My laptop is running slightly older versions of ESS (only by a week) on
>  > Fedora 19 and desktop at home is Fedora 20 beta etc but both of these
> seem
>  > to be working perfectly
>
>  > Any idea on what I may be able to do to fix problem? I am so use to
> using
>  > ?help and the completion with eldoc that this is really slowing me up. I
>  > guess it could be elpa packages etc but thought the '-q -l' would rule
> that
>  > out
>
>  > Advice welcome
>
>  > Thanks a lot!
>
>  > Cheers
>  > Peter
>



-- 
Dr Peter Baker | Co-Director Biostatistics Unit | Senior
Lecturer/Statistician | Epidemiology & Biostatistics

Room 423 | School of Population Health |The University of Queensland |
Public
Health Building | Herston Rd | Herston Qld 4006 | Australia

Ph: +61 7 3346 4747 | Fax: +61 7 3365 5442 | http://www.sph.uq.edu.au/  |
Email: p.baker1@uq.edu.au or baker.peter2009@gmail.com

	[[alternative HTML version deleted]]

