Hi Vincent,

2014-12-17 6:02 GMT-03:00 Blondeau Vincent <vincent.blond...@worldline.com>:
>
>  Hernan,
>
>
>
> I agree that it is a problem.
>
>
>
> To detect the R installation path is complicated.
>

Yes, I am currently working in a NBWin32Registry so we can do:

(NBWin32Registry hKeyLocalMachine at: 'Software\R-core\R') values

the reason I didn't committed a solution is I am having
ERROR_INVALID_FUNCTION with RegEnumValueA

apiRegEnumValue: hKey with: dwIndex with: lpValueName with: lpcchValueName
with: lpReserved with: lpType with: lpData with: lpcbData
    "
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724865%28v=vs.85%29.aspx
"

    <primitive: #primitiveNativeCall module: #NativeBoostPlugin error:
errorCode>
    ^ self nbCall: #(
        long RegEnumValueA(
            HKEY hKey,
            DWORD dwIndex,
            LPTSTR lpValueName,
            LPDWORD lpcchValueName,
            LPDWORD lpReserved,
            LPDWORD lpType,
            LPBYTE lpData,
            LPDWORD lpcbData)) module: 'advapi32.dll'


> Under Windows, you should be able to extract a key in the registry to know
> where the program is installed. Under linux, as there is x64 and x32 R
> versions, and Pharo supports only x32 (but x64 soon), if you have a R x64
> you should reinstall your whole Linux system to have the right libraries (I
> tried without success…).
>
>
>

Thanks for the advice


>  I think that to set the libraries available to download on a server is
> currently a better idea. Do you know where it can be hosted?
>
>
>

An option to upload library files could be http://files.pharo.org/ but I
don't have access to.

Foy my configurations I am currently using DropBox although not charming it
serves well.
But AFAIK you cannot link multiple accounts to one DropBox.

There are other reliable options?

Hernán

Reply via email to