can't find ctrl d dump files

S.McClatchie s.mcclatchie at niwa.cri.nz
Thu Dec 21 00:59:48 CET 2000


Colleagues

I am using ESS 5.1.18 with emacs 20.4 and R 1020. I am having some 
trouble getting the file dumping to work with the scripts in the 
subdirectories where I start R. 

If my startup directory for R is called
/work
I create 2 subdirectories
/work/.GlobalEnv/.Src
The .rdata and .Rhistory files go in work.
I put the scripts to dump into .Src.
The problem is that ESS does not seem to find the source files. The 
directory setup in my ~/.emacs file is as follows:

(setq-default inferior-R-program-name "C:/Program Files/R 
environment/rw1020/bin/Rterm.exe") ; smcc

;(setq ess-ask-for-ess-directory nil) 
(setq ess-ask-for-ess-directory t) ; smcc

(setq ess-execute-in-process-buffer t)
(make-local-variable 'comment-indent-function)
(setq-default comment-indent-function 'ess-comment-indent)

; added from http://stat.ethz.ch/ESS/ess_4.html#SEC31
(setq ess-source-directory
   (lambda ()
       (file-name-as-directory
       (expand-file-name (concat
                           (car ess-search-list)
                           "./GlobalEnv/.Src")))))
; end addition

------------------------------------------
Are you able to see an error in my setup from this information?

Thanks

Sam

Sam McClatchie, Research scientist (fisheries acoustics))))))))))
NIWA (National Institute of Water & Atmospheric Research Ltd)
PO Box 14 901, Kilbirnie, Wellington, New Zealand
s.mcclatchie at niwa.cri.nz 

                    /\
...>><xX(°> // \\
                 /// \\\   
                //// \\\\
               ///  <°)Xx><<
              /////  \\\\\\
        ><(((°>   
  >><(((°>   ...>><xX(°>O<°)Xx><<

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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