emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
613 stars 160 forks source link

C-c C-l to source file no longer works #345

Closed richardsc closed 8 years ago

richardsc commented 8 years ago

I just updated ESS through MELPA, and now get an error when I try and use C-c C-l to source a file:

R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
> 
Error: could not find function ".ess.source"

MELPA info is:

ess is an installed package.

     Status: Installed in `~/.emacs.d/elpa/ess-20160626.955/' (unsigned).
    Archive: n/a
    Version: 20160626.955
   Requires: julia-mode-0.3
    Summary: Emacs Speaks Statistics
   Homepage: http://ess.r-project.org
    Other versions: 20160626.955 (melpa).
richardsc commented 8 years ago

Similar issues for C-c C-b to eval buffer:

Error: could not find function ".ess.eval"
vspinu commented 8 years ago

I presume something went wrong with your installation. Works as expected here. Try to delete all ESS inside elpa folder and re-install.

The ESSR code is not loaded (you should see ESSR in your load path). See also *ESS* buffer for any clues. It's strange that you don't see any errors in the inferior buffer though.

richardsc commented 8 years ago

Great, thanks. Deleting ESS in elpa and re-installing seems to have done the trick. Sorry for the noise, and thanks for ESS!