Page 1 of 1

R not installed

Posted: Wed Apr 14, 2010 10:23 am
by javiersan
Hi,

Eviews doesn't seem to find my R installation (whether R is open or not). Do you have any suggestions?

Thanks,

Javier

Re: R not installed

Posted: Wed Apr 14, 2010 10:27 am
by EViews Gareth
If you type

Code: Select all

xopen(r)
in the command line, what's the exact error message that comes back?

Re: R not installed

Posted: Wed Apr 14, 2010 12:05 pm
by EViews Steve
R itself doesn't have COM capabilities, but some folks built a program called statconnDCOM to remedy that. It uses an R package named "rscproxy" as well so you'll need both of these installed to get everything working.

You can find more specific instructions in the EViews 7 Command Ref.pdf, page 154 (under Chapter 7 "External Interfaces", section "EViews COM Automation Client Support", sub "Using R", sub "Installing R Components"). But quickly,

To download statconnDCOM:
Go to: http://rcom.univie.ac.at/download.html and scroll down, you should see the download link to statconnDCOM.

To install rscproxy package:
You can do this from within R itself. If statconnDCOM installer didn't automatically install this package for you, you'll have to manually install it in R.

Once you install statconnDCOM, there should be a shortcut installed under Programs->statconn->DCOM->Server 01 - Basic Test. Run this program and click the "Start R" button. If you get error messages, you'll have to investigate further why statconnDCOM can't talk to your R installation (perhaps you didn't install R with the option to store the path to R in the registry?).

If you get the Basic Test to work, EViews should work as well.

Steve

Re: R not installed

Posted: Wed Apr 14, 2010 1:02 pm
by javiersan
Thanks Steve.

I have some admin rights issues that I need to sort out for installing statconnDCOM before going ahead. However, I couldn't find the whitepaper mentioned in the Command & Programming reference manual p. 154 "Using EViews COM Automation Client for R", although everything is probably explained in the manual and your post.

Regards,

Javier

Re: R not installed

Posted: Sat Sep 14, 2013 10:05 pm
by chshay
Hi:

I currently installing statconnDCOM3.5-1B2_Noncommercial and R 3.01 (with rscproxy)
When I statconnDCOM3.5-1B2_Noncommercial, I got the error message "installtion program:unable to load connector".

Could anyone tell me how to fix it?

Sincerely,

Chshay

Re: R not installed

Posted: Fri Oct 09, 2015 4:29 am
by SEMA
If you type

Code: Select all

xopen(r)
in the command line, what's the exact error message that comes back?
When I write that command I get "Failed to initialize R" error. I have R, Statcon and scrproxy already loaded to my computer. I have already checked the path for R; C:Program Files. Thus for the moment I hav no clue about what the problem could be? Thank you in advance.

Re: R not installed

Posted: Fri Oct 09, 2015 7:38 am
by EViews Steve
First, you need to have 32-bit R installed.

Next, when you installed Statconn (which is the COM wrapper for R), it should've installed a test program (named Server 01 - Basic Test) to see if the COM has been setup properly. Run that test program and click the "R" button. After it finished, scroll thru the results and verify that it all worked. If that test works, then EViews should be able to do talk to R successfully. If the test doesn't work, you may have to re-install R or some of it's components.

Steve