Hi,
Eviews doesn't seem to find my R installation (whether R is open or not). Do you have any suggestions?
Thanks,
Javier
R not installed
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: R not installed
If you type
in the command line, what's the exact error message that comes back?
Code: Select all
xopen(r)
-
EViews Steve
- EViews Developer
- Posts: 844
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: R not installed
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
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
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
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
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
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
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.If you typein the command line, what's the exact error message that comes back?Code: Select all
xopen(r)
-
EViews Steve
- EViews Developer
- Posts: 844
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: R not installed
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
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
Who is online
Users browsing this forum: No registered users and 1 guest
