On Fri, 16 Nov 2018 at 22:10, Pedro Venâncio <[email protected]> wrote:
>
> 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'

Have you got "use 64" checked in the provider options?

Nyall

>
>
>
> Pedro Venâncio <[email protected]> escreveu no dia sexta, 16/11/2018 
> à(s) 10:38:
>>
>> Hi Nyall,
>>
>> Nyall Dawson <[email protected]> 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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to