[R] replace text by uniqe number

Ragia . ragia11 at hotmail.com
Wed Mar 9 09:10:49 CET 2016

Dear group
kindly if i had data frame of 2 columns that has repeated URLS ..and want to replace those urls with ID's for each one so the url will have
unique ID, how  can I do this
thanks in advance
e.g otf  data

pcworld.com	open.itworld.com
pcworld.com	storage.itworld.com
salon.com	images.salon.com
go.theregister.com	theregister.co.uk
techchuck.com	pcworld.com
ecoustics.com	pcworld.com

More information about the R-help mailing list