[R] installation question/problem

DW dwinner-lists at att.net
Fri Jan 6 19:01:49 CET 2006


Peter Dalgaard wrote:

>DW <dwinner-lists at att.net> writes:
>
>  
>
>>Hello,
>>
>>Can anybody tell me why I am getting the error below when I run "make 
>>check" and if it has any consequences I may regret later?
>>
>>I run:
>>
>>#  ./configure --enable-R-shlib
>># make
>># make check
>># make install
>>
>>
>>configure, make and make install all work without errors, and it seems 
>>to install ok, and I even test the R binary after install, so I guess 
>>it's working. But I want to make sure. I'm not going to be using R, but 
>>I'm the net admin who has been tasked with installing it our servers, so 
>>I don't want any nasty surprises.
>>
>>I wonder if it's possible that I'm missing libraries because I'm not 
>>running X on the servers?
>>
>>This is:
>>FreeBSD 5.4 p8
>>R-2.2.1
>>
>>
>>make check output:
>>
>>(snip)
>>.....
>>running code in 'grDevices-Ex.R' ... OK
>>comparing 'grDevices-Ex.Rout' to 'grDevices-Ex.Rout.prev' ... OK
>>running code in 'graphics-Ex.R' ... OK
>>comparing 'graphics-Ex.Rout' to 'graphics-Ex.Rout.prev' ... OK
>>running code in 'stats-Ex.R' ...*** Error code 1
>>    
>>
> 
>Ouch.
>
>Please look for stats-Ex.Rout.fail at tell us what is in it (you
>should find it in tests/Examples in your builddir, interesting stuff
>should be towards the end of the file).
>
>  
>
Here is what I found:

 > ## using the nl2sol algorithm
 > fm4DNase1 <- nls( density ~ Asym/(1 + exp((xmid - log(conc))/scal)),
+                   data = DNase1,
+                   start = list(Asym = 3, xmid = 0, scal = 1),
+                   trace = TRUE, algorithm = "port")
  0      0.00000:  3.00000  0.00000  1.00000
Error in nls(density ~ Asym/(1 + exp((xmid - log(conc))/scal)), data = 
DNase1,  :
        Convergence failure: See PORT documentation.  Code (27)
Execution halted


Thanks,
DW




More information about the R-help mailing list