[R] ffnet problem

Adrian Trapletti a.trapletti at bluewin.ch
Tue Jun 1 13:24:29 CEST 2004


>
>
>Given that those files are dated 27/06/2000, they are unlikely to work with
>the current version of R.  (R has changed quite a bit since 2000!!)
>  
>
In fact, I stopped to support ffnet in 2000, and I would be very 
surprised if it would still run under the newer versions of R.

>Don't know why/how the code depends on NR codes, as one can find better
>quality code in many instances.  It might not be too difficult to get rid of
>the dependency on NR codes.
>  
>
The underlying c++ code of ffnet has been programmed around 1996 at a 
time when the capabilities of R to do multidimensional optimization 
through an API where rather limited. Hence my decision at that time to 
base the code on Numerical Recipes. But from today's perspective, it 
would be much better to call the optimizers from optim() through the API.

>BTW, why not use nnet in the VR bundle?  (Obviously I have not looked at
>ffnet at all...)
>  
>
I also suggest you use nnet.

>Best,
>Andy
>
>  
>
>>> From: Dirk Eddelbuettel
>>> 
>>> On Mon, May 31, 2004 at 10:38:37PM +0200, 
>>> v.demartino2 at virgilio.it wrote:
>>    
>>
>>>> > 
>>>      
>>>
>>>>>> > >> 
>>>>>> > >> I've just installed the contributed ffnet package wit no 
>>>>>          
>>>>>
>>> problem at all.
>>    
>>
>>>>> > >
>>>>> > >"No problem at all" seems unlikely in light of ...
>>>>        
>>>>
>>>> > 
>>>> > Dirk,
>>>> > 
>>>> > You're right! 
>>>> > Here you are what happened:
>>>> > 
>>>> > desktop:/tmp# R INSTALL -l /usr/local/lib/R/library ffnet/
>>>> > * Installing *source* package 'ffnet' ...
>>>> > ** libs
>>>> > make: Nothing to be done for `all'.
>>>> > ** R
>>>> > ** help
>>>> >  >>> Building/Updating help pages for package 'ffnet'
>>>> >      Formats: text html latex example
>>>> > ......................................................
>>>> > ......................................................
>>>> > 
>>>> > And  the compilation of ffnet commands kept going on as 
>>>      
>>>
>>> though  there had
>>    
>>
>>>> > been no problems.... This was somewhat misleading to a newbye!!
>>>> > 
>>>> > Anyway, what steps should I take now?
>>>      
>>>
>>> 
>>> Don't know, sorry. But looking at the comment in
>>> 
>>    
>>
>      http://cran.r-project.org/contrib/extra/ffnet/ReadMe
>
>it would appear that one needs additional sources to build ffnet. Also, if
>the package built reliably, it would probably reside in the main part of
>CRAN rather than in the contrib/extra directory.
>  
>
Numerical Recipes in C and apply the patches provided by ffnet (But I am 
not sure if the patches still work with newer versions of NRC).

>Dirk
>
> -- FEATURE: VW Beetle license plate in California 
> ______________________________________________ 
> R-help at stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read 
> the posting guide! http://www.R-project.org/posting-guide.html
>
best
Adrian




More information about the R-help mailing list