Re: [R] R formatting

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 07 Dec 2005 - 04:19:07 EST

Barry Rowlingson <B.Rowlingson@lancaster.ac.uk> writes:

> While mucking about with semicolons and line endings I wrote this little
> piece of mildly obfuscated R code:
>
> f1=function(n){
>
> x = 1
> ---
> n
>
> return(x)
> }
>
> [best viewed with a proportionally-spaced font]
>
> f1(1) does indeed return 1/1.

It doesn't calculate it though... ;-)

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Dec 07 04:53:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:29 EST