vle-forge / rvle

R wrapper
GNU General Public License v3.0
1 stars 3 forks source link

Error when loading a vpz from rvle. #28

Closed rtrepos closed 5 years ago

rtrepos commented 5 years ago

On windows 8 (or seven) the errror occured :

"Failed to initialized prefix from registry. Try to " "use the current executable to determine the prefix " "but access to cmake, vle, curl or wget will fail." (PathWin 32 line 115)

quesnel commented 5 years ago

Does this happen for any vpz files? With VLE 2.0.2 and R > 3.5?

rtrepos commented 5 years ago

I have no more information for now.

quesnel commented 5 years ago

Closing now. Feel free to reopen. Thanks.

rtrepos commented 5 years ago

I tried it on Windows 7 using vle -2.0.2 (default installer) This happens only with Rstudio. It seems the VLE_BASEPATH is not built successfully from the Windows Registry (the key is empty). Not sure why this is related to rstudio.

quesnel commented 5 years ago

This happens only with Rstudio.

Don't use Rstudio :p

quesnel commented 5 years ago

The VLE_BASEPATH is referenced in: https://github.com/vle-forge/vle/blob/master/src/vle/utils/Context.cpp#L130 and in the CMake scripts.

rtrepos commented 5 years ago

To fix this problem, choose to use R 32bits in Rstudio. If possible and depending on the version of Rstudio. I think that the use of 32bits version of R in Rstudio is deprecated.