Hmmm... So you seem to get the behavior on Windows for all
combinations of 32 vs 64 bit Windows/R and J602/J701.

I don't get it on 32-bit Windows/R for either J602/J701. I wonder if
the issue is a Chip architecture one? The Windows machine that works
OK for me is Intel, whereas the Linux box that gives the error is AMD.

On Fri, Feb 25, 2011 at 3:13 AM, David Mitchell <[email protected]> wrote:
> No, I get the same discrepancy:
>
>    load 'stats/r/rserve'
>    load 'c:/users/me/j764p/j64-701/addons/stats/r/test_rserve.ijs'
> |assertion failure: test
> |   (1 2 _ __ __)-:Rget'c(1,2,Inf,-Inf,NA)'
>    Rget'c(1,2,Inf,-Inf,NA)'
> 1 2 _ __ _.
>
> I get the same result for J732/R32
>
>      load 'stats/r/rserve'
>      load '~addons/stats/r/test_rbase.ijs'
> test_rbase.ijs rmap interface tests passed
> test_rbase.ijs showdata tests passed
>    load 'c:/users/me/j732p/j701/addons/stats/r/test_rserve.ijs'
> |assertion failure: test
> |   (1 2 _ __ __)-:Rget'c(1,2,Inf,-Inf,NA)'
>    Rget'c(1,2,Inf,-Inf,NA)'
> 1 2 _ __ _.
>
> and J602_32/R32
>
>      load 'stats/r/rserve'
>
>      load '~addons/stats/r/test_rbase.ijs'
> test_rbase.ijs rmap interface tests passed
> test_rbase.ijs showdata tests passed
>
>    load 'c:\users\me\j602\addons\stats\r\test_rserve.ijs'
> |assertion failure: test
> |   (1 2 _ __ __)-:Rget'c(1,2,Inf,-Inf,NA)'
>    Rget'c(1,2,Inf,-Inf,NA)'
> 1 2 _ __ _.
>
> and J602_64:
>
>      load 'stats/r/rserve'
>      load '~addons/stats/r/test_rbase.ijs'
> test_rbase.ijs rmap interface tests passed
> test_rbase.ijs showdata tests passed
>
>    load 'c:\users\me\j64-602\addons\stats\r\test_rserve.ijs'
> |assertion failure: test
> |   (1 2 _ __ __)-:Rget'c(1,2,Inf,-Inf,NA)'
>    Rget'c(1,2,Inf,-Inf,NA)'
> 1 2 _ __ _.
>    Rget'c(1,2,Inf,-Inf,NA,NA_real_,NA_integer_)'
> 1 2 _ __ _. _. _.
>    x=:Rget'c(1,2,Inf,-Inf,NA,NA_real_,NA_integer_,NA_character_)'
>    x
> ┌─┬─┬───┬────┬─┬─┬─┬─┐
> │1│2│Inf│-Inf│�│�│�│�│
> └─┴─┴───┴────┴─┴─┴─┴─┘
>    (3!:0)&.>x
> ┌─┬─┬─┬─┬─┬─┬─┬─┐
> │2│2│2│2│2│2│2│2│
> └─┴─┴─┴─┴─┴─┴─┴─┘
>    (a.&i.)&.>x
> ┌──┬──┬──────────┬─────────────┬───┬───┬───┬───┐
> │49│50│73 110 102│45 73 110 102│255│255│255│255│
> └──┴──┴──────────┴─────────────┴───┴───┴───┴───┘
>
>
> On 2/24/2011 0:42, bill lam wrote:
>> Does the test_rserve.ijs also run clean?
>>
>> Чтв, 24 Фев 2011, David Mitchell писал(а):
>>> I ran ~addons/stats/r/test_rbase.ijs on Win7_64 in J7_64 with R x64 2.12.0 
>>> and
>>> whatever version of Rserve R installed using
>>>
>>> install.packages("Rserve")
>>>
>>> It seemed to run fine:
>>>
>>>      load 'stats/r/rserve'
>>>        load '~addons/stats/r/test_rbase.ijs'
>>> test_rbase.ijs rmap interface tests passed
>>> test_rbase.ijs showdata tests passed
>>>
>>>
>>> On 2/23/2011 7:05, Ric Sherlock wrote:
>>>> Hard to say ATM.
>>>> There is no diff between j602 vs j701 for Win32 so it doesn't look
>>>> like it is a J version issue, but there may be some interaction with
>>>> OS or 64-bit there.
>>>>
>>>> I don't have Win64 so can't test that and haven't got a 32-bit Linux
>>>> install so can't test that either :(.  I'm pretty sure the version of
>>>> R and Rserve that installed on my 64-bit Linux machine was 64-bit so
>>>> it could just be the 64-bitness of the R or Rserve version.
>>>>
>>>> Can anyone else help fill in the table of combinations? Otherwise it
>>>> will have to wait till I have time to organise tests on other
>>>> configurations.
>>>>
>>>> On Wed, Feb 23, 2011 at 1:47 PM, bill lam<[email protected]>   wrote:
>>>>> Is this a difference between j602 vs j701; or 32 vs 64-bit; or win vs
>>>>> linux? Or the differene between versions of R itself?
>>>>>
>>>>> Could you update the test_rserve.ijs if necessary?
>>>>>
>>>>> Срд, 23 Фев 2011, Ric Tikkanz писал(а):
>>>>>> Tested ~addons/r/rserve.ijs using j701 on 64-bit Linux. In general
>>>>>> seems to work OK but did fail one test in test_rserve.ijs
>>>>>>      (1 2 _ __ __) -: Rget 'c(1,2,Inf,-Inf,NA)'
>>>>>> 0
>>>>>>      Rget'c(1,2,Inf,-Inf,NA)'
>>>>>> 1 2 _ __ _.
>>>>>>
>>>>>> IOW "indeterminate" is being returned where "negative-infinity" is 
>>>>>> expected.
>>>>>>
>>>>>> On Tue, Feb 22, 2011 at 11:18 PM, Ric Sherlock<[email protected]>   
>>>>>> wrote:
>>>>>>> Thanks Bill, I'd hoped to get to that tonight but you beat me to it.
>>>>>>>
>>>>>>> I've tested in both j701 and j602 on 32-bit Windows 7 with R 2.12.1
>>>>>>> and Rserve 0.63.
>>>>>>> Both pass the test_rserve.ijs test script.
>>>>>>>
>>>>>>> On Tue, Feb 22, 2011 at 8:46 PM, bill lam<[email protected]>   wrote:
>>>>>>>> An updated version of stats/r is available in pacman, please test if 
>>>>>>>> it works in
>>>>>>>> j701, and if it breaks anything in j602.
>>>>>>>>
>>>>>>>> Втр, 22 Фев 2011, Piet de Jong писал(а):
>>>>>>>>> I can certainly test it.   However I am not an expert in testing 
>>>>>>>>> software.
>>>>>>>>> Happy to help out.   (Not sure if your request was aimed at me).
>>>>>>>>>
>>>>>>>>> On Tue, Feb 22, 2011 at 2:31 PM, Ric Sherlock<[email protected]>   
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I've had a quick look (not tested yet) and it looks like it will need
>>>>>>>>>> a little bit of work at least to get it to run e.g switch some
>>>>>>>>>> "script_z_ 'fullpath'" to 'require 'alias'" etc.
>>>>>>>>>>
>>>>>>>>>> On Tue, Feb 22, 2011 at 2:09 PM, bill lam<[email protected]>   
>>>>>>>>>> wrote:
>>>>>>>>>>> I think it is should be released for J7, could you test it?
>>>>>>>>>>>
>>>>>>>>>>> Втр, 22 Фев 2011, Ric Tikkanz писал(а):
>>>>>>>>>>>> The J stats/r addon package hasn't been released for J701 yet. Have
>>>>>>>>>>>> you tested it?
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Feb 22, 2011 at 12:31 PM, Piet de 
>>>>>>>>>>>> Jong<[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>>>> I've recently switched to J701.   At the same time I switched to a
>>>>>>>>>> Mac.
>>>>>>>>>>>>>    Everything works great.  I'm surprised how seamless the switch 
>>>>>>>>>>>>> went.
>>>>>>>>>>    All
>>>>>>>>>>>>> the usual packages I use (LAPACK etc) work perfectly insofar as I 
>>>>>>>>>>>>> can
>>>>>>>>>> tell.
>>>>>>>>>>>>>    I had avoided the switch to a Mac as I thought J+Mac was  
>>>>>>>>>>>>> inferior to
>>>>>>>>>>>>> J+Windows.   With J701 this seems not to be the case.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Have not been able to interface J701 with R on the Mac via Rserve.
>>>>>>>>>> Having
>>>>>>>>>>>>> R alongside J allows access to all the R specialised algorithms 
>>>>>>>>>>>>> while
>>>>>>>>>>>>> retaining the power, generality and flexibility of J.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Is it possible to run Rserve+J701+Mac?    The Rserve 
>>>>>>>>>>>>> documentation is
>>>>>>>>>>>>> confusing to me.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Piet de Jong
>>>>>>>>>>>>> --------------------------------------------------
>>>>>>>>>>>>> View my current research at
>>>>>>>>>>>>> http://ssrn.com/author=619154
>>>>>>>>>>>>> --------------------------------------------------
>>>>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>>>>> For information about J forums see
>>>>>>>>>> http://www.jsoftware.com/forums.htm
>>>>>>>>>>>>>
>>>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>>>> For information about J forums see 
>>>>>>>>>>>> http://www.jsoftware.com/forums.htm
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> regards,
>>>>>>>>>>> ====================================================
>>>>>>>>>>> GPG key 1024D/4434BAB3 2008-08-24
>>>>>>>>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>>> For information about J forums see 
>>>>>>>>>>> http://www.jsoftware.com/forums.htm
>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>> For information about J forums see 
>>>>>>>>>> http://www.jsoftware.com/forums.htm
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Piet de Jong
>>>>>>>>> --------------------------------------------------
>>>>>>>>> View my current research at
>>>>>>>>> http://ssrn.com/author=619154
>>>>>>>>> --------------------------------------------------
>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>>>>>
>>>>>>>> --
>>>>>>>> regards,
>>>>>>>> ====================================================
>>>>>>>> GPG key 1024D/4434BAB3 2008-08-24
>>>>>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>>>>>> ----------------------------------------------------------------------
>>>>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>>>>
>>>>>> ----------------------------------------------------------------------
>>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>>
>>>>> --
>>>>> regards,
>>>>> ====================================================
>>>>> GPG key 1024D/4434BAB3 2008-08-24
>>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>>> ----------------------------------------------------------------------
>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to