Patrick, 

Thanks kindly for identifying your installed version of RAndFriends.

Anybody else out there?

So, I installed the identified version (RAndFriendsSetup2090V3.0-14-2.exe), but 
it did not fix the string problem.

This simple code gives me garbage in the Interpretation window for the string 
return (bb):

/*
        R-Test-06.afl

        Simple test of setting numeric and string values on R side and then 
returning them.
        Observe the output in the interpretation window.

        Using AB 5.30.1, the string part fails with:

        RAndFriendsSetup2090V3.0-14-2
        RAndFriendsSetup2092V3.0-17-2

        Cause of failure:  Unknown

*/

// Numeric works fine
RMathProcedure("RandomVarA = 122.0 + 8.0");
aa = RMathGetValue("RandomVarA");
printf( "RMath numeric Return Value: " + NumToStr(aa, 1.2) + "\n" ); 

//      String does not work
RMathProcedure("RandomVarB = <DQ>Abcde<DQ>");
bb = RMathGetValue("RandomVarB");
printf("RMath alpha Return Value: " + bb + "\n" ); //garbage instead of Abcde


If this works correctly for you, I'm nearly ready to punt, as I have no clue at 
all what to do to fix the issue if it is unique to me, and I realize there is 
no place to inquire for specific assistance with this sort of interop issue on 
a non-commercial, non-open-source contribution such as RMath.  (And I just got 
over how to load a file into a time series in R itself ! <g>)

OTOH, if this does not work for you, well, you probably want to know.

Finally, if this does not work for you, and you know it, and you just proceed 
anyway to do what interests you without ever getting or needing to get back 
strings as shown, that would be good to know too.  What's important to me, and 
perhaps some others, is to know what should be expected to work and what 
shouldn't.

Thanks kindly,

- Progster



--- In [email protected], "vlanschot" <vlansc...@...> wrote:
>
> I have the following installed:
> 
> RAndFriends - RAndFriendsSetup2090V3.0-14-2.exe
> AB – 5.30.1
> 
> For what I am doing both existing code and new code (I coded some graphing 
> functionality only last week, for example), this works fine. However, there 
> may be instances, considering the scale of what's available in R, where the 
> RMath plug-in doesn't work, simply because I never tested it.
> 
> PS
> 
> --- In [email protected], "progster01" <progster@> wrote:
> >
> > There have been many RAndFriends distros.
> > 
> > Prior distros are here:.
> > 
> > http://sunsite.univie.ac.at/rcom/download/RAndFriends.distro/old/
> > 
> > Exactly which ones work and which ones don't is a question that still seems 
> > to need an answer.
> > 
> > I was having good numeric array results with this one:
> > 
> >   RAndFriendsSetup2092V3.0-17-2.exe
> > 
> > but as Conrad has pointed out, the strings aren't working as expected.
> > 
> > I suspect we will have to go further back to find one that works fully.  
> > Also, it is possible that AB 5.3 is involved (though I tend to doubt it).
> > 
> > It would be very helpful if those who are using any version of AB with a 
> > specific RAndFriends install could say:
> > 
> > Using AB xxx
> > Using RAndFriends yyy
> > All working!
> > 
> > or for that matter, not working!
> > 
> > - Progster
> > 
> > 
> > --- In [email protected], "conrad_faber" <cfaber@> wrote:
> > >
> > > 
> > > 
> > > Thanks for replying. Your problem was caused by incompatible software 
> > > installation which you solved by using the 'RandFriends' distribution. In 
> > > our case we are using that distribution so it is likely different issue.
> > > 
> > > regards, Con
> > > 
> > > --- In [email protected], Jeff Henderson <jeffro861@> wrote:
> > > >
> > > > I had a problem a while back (can't remember if it's the same issue) 
> > > > and  I posted what I did to resolve it, so you might want to search the 
> > > > group. 
> > > > 
> > > > Sent from my iPhone
> > > >
> > >
> >
>


Reply via email to