How long did it take the singer - songwriter Randy Newman to compose the hit song " You 've Got a Friend in Me " ?
The song was released from the " Toy Story " soundtrack , and peaked at number 40 on the Canadian " RPM " Adult Contemporary chart .