[18720] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] Re: S-News Digest V1 #511

daemon@ATHENA.MIT.EDU (Christian Hoffmann)
Fri Jul 23 04:45:45 1999

Message-Id: <3.0.5.32.19990723103958.009f9870@mail.wsl.ch>
Date: Fri, 23 Jul 1999 10:39:58 +0200
To: s-news@wubios.wustl.edu
From: Christian Hoffmann <christian.hoffmann@wsl.ch>
In-Reply-To: <199907220650.BAA02117@wubios.wustl.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"


Hi there,

I tried it out and got the following:

jjdat <- matrix(c(1,2,3,4,2,3,4,5,1,2,3,4,4,5,6,7,8,6,4,2,1,2,3,4,4,5,6,7),ncol=4,byrow=T);jjdat

1)
jjdat[!duplicated(apply(jjdat,1,paste,collapse=",")),]

works.

2)
Venables, Bill:
jjdat[!duplicated(do.call("paste", c(as.list(jjdat), list(sep ="\t")))), ]

does not work, because do.call(paste,..) concatenates everything into one string:

(or is there something missing??)


Christian W. Hoffmann
Swiss Federal Institute for Forest, Snow and Landscape Research
CH-8903 Birmensdorf, Switzerland
phone: ++41-1-739 22 77    fax  : ++41-1-739 22 15   e-mail: Hoffmann@WSL.CH
WWW: http://www.wsl.ch/land/dynamics/modeling/hoffmann.htm 
FTP:     ftp://ftp.wsl.ch/pub/hoffmann/
I prefer WWW pages which can be viewed best with *any* browser, contain
*no* cookies, *no* Java, *no* frames, and *no* required images !
*******************************************************
Do not miss the TOTAL ECLIPSE OF THE SUN on 
     1999 August 11, 12:35 MEST (at Stuttgart).
The center line will pass through Metz, Karlsruhe, Stuttgart, Muenchen, into Austria up to Romania
   duration of totality will be 2min 20sec. See the corona, protuberances !! 
The southern limit of totality will pass through Offenburg, Lake Starnberg,
   Berchtesgaden.
Zuerich will see the diameter of the sun being covered by 97.4%,
   reducing sun light to about 1/60. See no corona, protuberances :-(
Information at:
 http://www.astroinfo.org/eclipse/
********************************************************
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post