~ubuntu-branches/ubuntu/raring/ess/raring-proposed

« back to all changes in this revision

Viewing changes to lisp/ess-custom.el

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2011-02-03 16:10:05 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110203161005-g1bg3cd5mtu15uh3
Tags: 5.13-1
New upstream version released today

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
;; Original Author: A.J. Rossini <blindglobe@gmail.com>
7
7
;; Created: 05 June 2000
8
 
;; Maintainers: ESS-core <ESS-core@stat.math.ethz.ch>
 
8
;; Maintainers: ESS-core <ESS-core@r-project.org>
9
9
 
10
10
;; Keywords: editing and process modes.
11
11
 
124
124
 
125
125
;; Variables (not user-changeable)
126
126
 
127
 
(defvar ess-version "5.12"
 
127
(defvar ess-version "5.13"
128
128
  "Version of ESS currently loaded.")
129
129
 
130
130
(defvar no-doc
801
801
  :type 'string)
802
802
 
803
803
 
804
 
(defcustom ess-program-files
 
804
(defcustom ess-program-files ;; 32 bit version
805
805
  (if ess-microsoft-p
806
 
      (w32-short-file-name (getenv "ProgramFiles"))
 
806
      (if (getenv "ProgramW6432")
 
807
          (w32-short-file-name (getenv "ProgramFiles(x86)"));; always 32 on 64 bit OS
 
808
        (w32-short-file-name (getenv "ProgramFiles")))      ;; always 32 on 32 bit OS
807
809
    nil)
808
 
  "Safe (no embedded blanks) 8.3 name that works across internationalization."
 
810
  "Safe (no embedded blanks) 8.3 name for 32-bit programs that works across internationalization."
809
811
  :group 'ess
810
812
  :type 'string)
811
813
 
 
814
(defcustom ess-program-files-64 ;; 64 bit version
 
815
  (if (and ess-microsoft-p (getenv "ProgramW6432"))
 
816
      (w32-short-file-name (getenv "ProgramW6432"))
 
817
    nil)
 
818
  "Safe (no embedded blanks) 8.3 name for 64-bit programs that works across internationalization."
 
819
  :group 'ess
 
820
  :type 'string)
812
821
 
813
822
(defcustom ess-rterm-version-paths nil
814
823
  "Stores the full path file names of Rterm versions, computed via
842
851
       "/Insightful/splus8.0.4"
843
852
       "/Insightful/splus80"
844
853
       "/TIBCO/splus81"
 
854
       "/TIBCO/splus82"
845
855
))
846
856
  "List of possible values of the environment variable SHOME for recent
847
857
releases of S-Plus.  These are the default locations for several
858
868
  :group 'ess-SPLUS
859
869
  :type '(repeat string))
860
870
 
 
871
(defcustom ess-SHOME-versions-64
 
872
    ;;   ess-program-files-64  ~= "c:/progra~1"  for typical locales/languages
 
873
    (mapcar
 
874
     '(lambda (ch) (concat ess-program-files-64 ch))
 
875
     '("/TIBCO/splus82"
 
876
))
 
877
  "List of possible values of the environment variable SHOME for recent
 
878
releases of 64-bit S-Plus.  These are the default locations for several
 
879
current and recent releases of S-Plus.  If any of these pathnames
 
880
correspond to a directory on your machine, running the function
 
881
`ess-sqpe-versions-create' will create a function, for example, `M-x
 
882
splus70', that will start the corresponding version Sqpe inside an
 
883
emacs buffer in iESS[S] mode.  If you have versions of 64-bit S-Plus in
 
884
locations other than these default values, redefine this variable with
 
885
a `custom-set-variables' statement in your site-start.el or .emacs
 
886
file.  The list of functions actually created appears in the *ESS*
 
887
buffer and should appear in the \"ESS / Start Process / Other\"
 
888
menu."
 
889
  :group 'ess-SPLUS
 
890
  :type '(repeat string))
 
891
 
861
892
(defcustom inferior-S3-program-name "/disk05/s/S"
862
893
  "Program name for invoking an inferior ESS with S3()."
863
894
  :group 'ess-S
946
977
 
947
978
(if ess-microsoft-p
948
979
    (defcustom inferior-S+6-program-name
949
 
      (concat ess-program-files "/TIBCO/splus81/cmd/Splus.exe")
 
980
      (concat ess-program-files "/TIBCO/splus82/cmd/Splus.exe")
950
981
      "Program name to invoke an external GUI S+6 for Windows.
951
982
The default value is correct for a default installation of
952
983
S-Plus 8.1 and with bash as the shell.
985
1016
  :type 'string)
986
1017
 
987
1018
(defcustom inferior-Sqpe+6-program-name
988
 
  (concat ess-program-files "/TIBCO/splus81/cmd/Sqpe.exe")
 
1019
  (concat ess-program-files "/TIBCO/splus82/cmd/Sqpe.exe")
989
1020
  "Program name for invoking an inferior ESS with Sqpe+6() for Windows."
990
1021
  :group 'ess-S
991
1022
  :type 'string)
992
1023
 
993
1024
(defcustom inferior-Sqpe+6-SHOME-name
994
 
  (if ess-microsoft-p (concat ess-program-files "/TIBCO/splus81" ""))
 
1025
  (if ess-microsoft-p (concat ess-program-files "/TIBCO/splus82" ""))
995
1026
  "SHOME name for invoking an inferior ESS with Sqpe+6() for Windows.
996
1027
The default value is correct for a default installation of
997
1028
S-Plus 8.1.  For any other version or location,
1182
1213
(setq-default inferior-ess-program inferior-S-program-name)
1183
1214
 
1184
1215
 
 
1216
(defvar inferior-R-version "R (newest)"
 
1217
  "A (short) name of the current R version.  A global variable for
 
1218
ESS internal communication.")
 
1219
 
1185
1220
(defvar inferior-ess-start-args ""
1186
1221
  "String of arguments passed to the ESS process.
1187
1222
If you wish to pass arguments to a process, see e.g. `inferior-R-args'.")