[R] Functional Programming patterns

Suzen, Mehmet msuzen at gmail.com
Wed Nov 20 10:42:59 CET 2013


Have you checked the r.lambda package of Brian Lee Yung Rowe
?

http://cran.r-project.org/web/packages/lambda.r/index.html

On 20 November 2013 10:02,  <mohan.radhakrishnan at polarisft.com> wrote:
> Hi,
> '
> Not specific to 'R'. I search for patterns and found
> http://patternsinfp.wordpress.com/ which is too heavy for me. There is a
> 'Pragmatic Programmer' book on such patterns for Scala and Clojure. Is
> there anything for R ?
>
> I wanted to code this. Is there a functional pattern in R for multiple
> 'if' loops like this ?
>
>         if( is.na(str_extract(input,"T[^.]*")[1]) ){
>
>         }else{
>
>
> Thanks,
> Mohan
>
>
> This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
>
> Visit us at http://www.polarisFT.com
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list