Nyall, Running this on Python Console
import os from processing.core.ProcessingConfig import ProcessingConfig R_FOLDER = 'R_FOLDER' folder = ProcessingConfig.getSetting(R_FOLDER) os.path.abspath(folder) if folder else '' bin_folder = folder executable = 'Rscript' exec_dir = 'x64' os.path.join(bin_folder, 'bin', exec_dir, '{}.exe'.format(executable)) I get the correct path to Rscript: 'C:\\Users\\pedro.venancio\\Documents\\R\\R-3.5.1\\bin\\x64\\Rscript.exe' Pedro Venâncio <pedrongvenan...@gmail.com> escreveu no dia sexta, 16/11/2018 à(s) 10:38: > Hi Nyall, > > Nyall Dawson <nyall.daw...@gmail.com> escreveu no dia sexta, 16/11/2018 > à(s) 10:30: > >> >> >> What sub folder is your rscript.exe file in? >> >> > I have it in two subfolders: > > C:\Users\pedro.venancio\Documents\R\R-3.5.1\bin\Rscript.exe > > C:\Users\pedro.venancio\Documents\R\R-3.5.1\bin\x64\Rscript.exe > > >
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer