ess error when doing C-c C-l

Eric.Belpaire at Eric.Belpaire at
Fri Sep 20 09:32:18 CEST 2002


it seems as if you have defined your directories as "c:
instead of "c:\\shidara\\data.insula" OR "c:/shidara/data.insula".
In Emacs, the backslash is considered as a special character.
Hope this helps.

>From "shidara" <m.shidara at> on 20 September 2002 05'03'34
To : <ess-help at>
Subject : ess error when doing C-c C-l

I have got the problem when I tried to use R-1.5.1 in xemacs-21.4.9 and
doing C-c C-l to load the function.
If there is a fix method, please let me know.

The error messsage:

Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `c:shidaradata.insulashidara.f.go2.R'

The pc's information I am using (3 pc's I tested, the same error

Windows XP Professional, Windows 2000 Professional, Windows Me
R.1.5.1 (default installation)
xemacs-21.4.9 (default installation, full package)

My home directory is c:\shidara
My data directory is c:\shidara\data.insula
"f.go2" in the error message is the function I wrote, which works fine
in Rgui.
After double-clicking the xemacs icon on the desktop,
I typed in "M-x R", then the program showed the default starting R
directory "c:\Documents and Settings\shidara\desktop\ "
or other directory, which I changed to "c:\shidara\data.insula".
Then .RData in c:\shidara\data.insula was loaded successfully,
and using ls() or dir() worked fine.
I tried to edit my  functon "f.go2", which came to the buffer correctly
by C-c C-d,
but when I used C-c C-l to load it, The above error appeared (by C-c `

Environment variables:
HOME c:/shidara/
R_HOME c:/shidara/

(HOME c:\shidara\
R_HOME c:\shidara\
had the same error)

c:\shidara\.xemacs\init.el :
(load "c:/xemacs/XEmacs-21.4.9/ess-5.1.24/lisp/ess-site")
(setq ess-source-directory
      (lambda ()
 (concat ess-directory "")))

ess-5.1.24 folder is placed in c:\xemacs\XEmacs-21.4.9
uncommented line in "ess-site.el" is:
(setq-default inferior-R-program-name "Rterm")  ; msdos systems

Munetaka Shidara, PhD.
Senior Research Scientist
Systems Neuroscience Group
Neuroscience Research Institute
National Institute of Advanced Industrial Science and Technology
AIST Tsukuba Central 2
1-1-1 Umezono, Tsukuba, Ibaraki 305-8568, Japan
tel: +81-298-61-5833
fax: +81-298-61-5849
e-mail: m.shidara at

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

Norma, 5th Floor, Office 9
18, rue Paul Lafargue - 92904 Paris La Defense 10 Cedex
Tel. +33 146 41 12 94 / CVS: 220 1294 / Mobile: none
mailto: Eric.Belpaire at

"C'est à nous de tenir le cap à la recherche de pratiques et d'idées
nouvelles qui nous permettront de créer des vies et des organisations
dignes d'être vécues et habitées par l'homme."
"It is up to us to journey forth in search of new practices and new ideas
that will enable us to create lives and organizations worthy of human
habitation."            Margaret Wheatley

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

More information about the ESS-help mailing list