It might be an overkill for what you need, but take a look at package Ruuid.
-Christos > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ralph S. > Sent: Thursday, September 04, 2008 11:44 PM > To: r-help@r-project.org > Subject: [R] algorithm to create unique identifiers > > > Hi all, > > I am trying to create a unique identifier for each row, > combining numbers from three columns. > > Do you know if there is a general formula to do this (or some > manual where I can read about this)? > > I figure I can use the numeric entries of the columns as > "coordinates" and multiply them with different coefficients > (different magnitudes) to get the unique ID - but it would be > nice to read about such algorithms in general. > > Any links/input would be great - > > Ralph > > _________________________________________________________________ > > e. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > > ______________________________________________ R-help@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.