[Qgis-user] R in QGIS on OSX using Kyngchaos build
gene
martin.laloux at gmail.com
Mon Mar 7 09:43:37 PST 2016
The test is done in the lines 179-200 in the script Rutils.py. It consists
in running the shell command
command = ['R --version'] with processing
proc = subprocess.Popen(
command,
shell=True,
stdout=subprocess.PIPE,
stdin=open(os.devnull),
stderr=subprocess.STDOUT,
universal_newlines=True,
).stdout
for line in iter(proc.readline, ''):
if 'R version' in line:
settings.setValue(R_INSTALLED, True)
return
The result in my shell is
$ R --version
WARNING: ignoring environment value of R_HOME
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
....
Therefore, it is an R problem with El Capitan and not a Kyngchaos build
problem
The problem of El Capitan is that only Apple is allowed to install software
under /usr/bin (only /usr/local/bin) and the R (R, Rscript) executables are
in /usr/bin. This affects also MacTeX and XQuartz (because of the new
System Integrity Protection (SIP)
<https://support.apple.com/en-us/HT204899> )
Therefore, it is an R problem and not a Kyngchaos build problem ( the
problem of R with El Capitan has been resolved)
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/R-in-QGIS-on-OSX-using-Kyngchaos-build-tp5254567p5254940.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
More information about the Qgis-user
mailing list