[ESS] r-autoyas not working: "Namespace: `nil'"

Hofert Jan Marius marius.hofert at math.ethz.ch
Wed Sep 28 21:54:12 CEST 2011


Dear all,

I work with Aquamacs 2.3a under Mac OS X 10.6.8. 
I would like to use r-autoyas and put in the following lines [and nothing more] in Preferences.el:

;; r-autoyas; see http://www.svenhartenstein.de/Software/R-autoyas
(require 'r-autoyas)
(load-file "~/Library/Preferences/Aquamacs Emacs/r-autoyas/r-autoyas.el")

After saving and restarting Aquamacs, I open an .R file and an R process. By typing "pnorm" and hitting TAB, this should expand the arguments of the function pnorm. However, I obtain "Namespace: `nil'" and nothing happens. 
What is wrong?

I can use C-h v r-autoyas- + TAB and obtain:

Possible completions are:
r-autoyas-auto-expand-with-paren
r-autoyas-cache
r-autoyas-echo-inject-commands
r-autoyas-expand-package-functions-only
r-autoyas-ignored-functions
r-autoyas-lisp-based-dot-replacement
r-autoyas-number-of-commas-before-return
r-autoyas-paren-skip-autopair
r-autoyas-preloaded-packages
r-autoyas-r-based-dot-replacement
r-autoyas-remove-explicit-assignments
r-autoyas-save-expression-to-memory
r-autoyas-use-lisp-based-dot-replacement
r-autoyas-use-r-based-dot-replacement
r-autoyas-wrap-on-exit

This should mean that r-autoyas is found. But why is it not working? Any ideas?

Marius




ETH Zurich
Dr. Marius Hofert
RiskLab, Department of Mathematics
HG E 65.2
Rämistrasse 101
8092 Zurich
Switzerland

Phone +41 44 632 2423
marius.hofert at math.ethz.ch
http://www.math.ethz.ch/~hofertj



More information about the ESS-help mailing list