[ESS] problems when no julia found

Ross Boylan ross at biostat.ucsf.edu
Wed Jul 23 21:56:11 CEST 2014


On Tue, 2014-07-22 at 22:47 -0700, Vitalie Spinu wrote:
> I thought people adjusted the default of inferior-julia-program-name to
> julia long time ago. Why is it still julia-basic?
julia-basic is the name that appears in the emacs status line when it
can't find julia.  I verified it still appears with the latest git
version.

Regardless, why does C-x C-b after failing to find the program stick me
down on the status line with the with a query like
ESS (*julia:3*, julia-basic) starting data directory? ~/UCSF/HIVRace/
instead of showing a list of buffers?

It's possible the comment in ess-julia.el needs to be updated, since
that's where I got the idea for setting the julia location:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Commentary:
;;  customise inferior-julia-program-name to point to your julia-basic
;;  and start the inferior with M-x julia.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;

Since using inferior-julia-program-name seems to work, it must be at
least a fall-back option in the current code.

I forgot to mention one point earlier:
(setq inferior-julia-program-name "/usr/local/bin/julia")
precedes loading ESS in my .emacs.  I don't know if that's necessary,
but if it is that would be dicey for those using the packaged version on
Debian.  It loads all the packages before reading ~/.emacs.

Are there any plans for the ESS manual to include an ESS for julia
section, parallel to the other languages?

Ross
> 
> >>> Ross Boylan on Tue, 22 Jul 2014 20:55:51 -0700 wrote:
> 
>  > On Tue, 2014-07-22 at 20:39 -0700, Ross Boylan wrote:
>  >> 3) It would be nice if ESS could find julia, in /usr/local/bin.
>  >> 
>  > For the record,
>  > (setq inferior-julia-program-name "/usr/local/bin/julia")
>  > in my .emacs file solved the "can't find julia" problem.  Hint from
>  > reading ess-julia.el.
> 
>  > It would still be nice if it were auto-detected, as R is.
> 
>  > Ross
> 
>  > ______________________________________________
>  > ESS-help at r-project.org mailing list
>  > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list