Chris Burke wrote"
>
> Bill Harris wrote:
> > I'm trying to explore R from J, and I'm having problems.
> > So I tried the DCOM server. I've got an up-to-date J, and
> > PacMan says
> > everything is current.
> >
> > ,----
> > | load'stats/r/rdcom'
> > | '' conew 'prdcom'
> > | |domain error: wd
> > | | wd'cc w oleautomation:StatConnectorSrv.StatConnector.1'
> > |
> > `----
> >
> I suspect the problem is the rdcom installation. The wiki
> page had suggested installing this from the R command line,
> using install.packages("rcom")`. When I tried this, I got the
> same error as you. When I removed that installation and then
> installed from rsrv250.exe, everything worked fine.
>
> Likely the install.packages method needs some additional
> steps, other than those documented in the README, i.e. other
> than registering the com server. I think Ric Sherlock had got
> things working from install.packages, perhaps he can comment.
>
I had got this working back in March, but now (without any installs etc)
I get the same error as Bill now when I try and run '' conew 'prdcom'.
I tried deleting it and using install.packages again, but same problem.
But after installing using rsrv250.exe all was well. I'm not sure why
the install.packages doesn't work (now???), but suspect that the path to
the rcom.dll isn't getting properly set. For now it certainly seems to
be safer to install manually from the rsrv250.exe. I see Chris has
updated the Wiki accordingly.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm