[ESS] Using ESS with nix

Dominic Steinitz |dontgetoutmuch @end|ng |rom gm@||@com
Mon Jan 29 09:36:41 CET 2018


For my python development I have

>  '(python-shell-interpreter "/nix/var/nix/profiles/default/bin/nix-shell")
>  '(python-shell-interpreter-args
>    "-p \"callPackage /Users/dom/Dropbox/Tidy/mrp/dl.nix {}\" -I nixpkgs=/Users/dom/nixpkgs --run python")
>  '(python-shell-process-environment
>    (quote
>     ("NIX_PROFILES=/nix/var/nix/profiles/default /Users/dom/.nix-profile" "NIX_REMOTE=daemon" "NIX_PATH=/nix/var/nix/profiles/per-user/root/channels" "NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt" "NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/dom"))))

I can see

> inferior-ess-r-program-name

And

> inferior-R-args

But I can’t see how to set the process environment. The release notes mention

> ess-r-set-evaluation-env

But describe-variable doesn’t seem to be able to find it.

In summary, my question is how do I get ESS to use my nix version of R?

Many thanks, Dominic.




	[[alternative HTML version deleted]]




More information about the ESS-help mailing list