Skip to main content

Problem - Cant launch Red-R, cant find R?

Posted in

Hey guys,

Trying out different guis for R. Got 2.13.0 on both 64 and 86. Cant get Red- R to work with them. Couldnt find any documentation on this. I suppose i click on the .exe file in bin folder. Gives me this in the logs in appdata folder

REDRCORE:CRITICAL :

############################################################
Unhandled exception of type RuntimeError occured at 2011-07-11 16:56:48.496000:
Traceback:
File: red-RCanvas.pyw, line 19 in
File: RSession.py, line 46 in
File: __init__.pyc, line 12 in
File: __init__.pyc, line 52 in
RuntimeError: Unable to locate R.dll within E:\Utils - Finance\Red-R\R\R-2.11.1
############################################################

What do with this?

Set up R_Home in enviro vars in win 7 pointing to the 64 bits bin folder still doesn't work.

sorry if q is stupid,couldnt solve it,

Thanks in advance,

Arsenio

Custom R Install

Setting up a custom R install is a bit tricky.

The fundamentals are that Red-R ships with an R "install" that is private to it. Red-R's modules need to know the location of these files and this is governed by the RSession.py module and the redREnviron.py module.

If you are using the compiled Red-R version there is really no way to override the presets to use R-2.11.1. You could try to lie to Red-R and copy the contents of 2.13.0 into the 2.11.1 directory and pray that everything works.

If you build the development environment, there are more options. You can then set the location of the R install in the above mentioned modules and hopefully everything will work out. You might need to build the rpy3 and conversion modules and set them up. No promises on these compiling outright, I always have to fight with the code to get these things working.

Is there some reason why 2.11.1 isn't working for what you want? All Red-R packages are built on 2.11.1 (as far as I know) so trying to use things with 2.13.0 would be really unstable.

Kyle

Oh i see! I will try to use

Oh i see! I will try to use it like that. All my packages are for 2.13 and all other IDEs i have are also for 2.13. I thought you could just point to R_HOME like for SAS/IML or for other progs like Eclipse/STATET.
I just downloaded the binaries for Red R, didn't compile or anything like that.

Thanks for the info!

ericf