Re: [R] Issue with assigning text to matrix

2010-06-09 Thread Jessica Queree
On Tue, Jun 1, 2010 at 11:04 AM, Jessica Queree j.j.que...@googlemail.com wrote: My issue relates to adding text to a matrix and finding that the text is converted to a number. This is the section of code I'm having trouble with: # First, I load in a list of names from a .csv file

[R] Issue with assigning text to matrix

2010-06-01 Thread Jessica Queree
My issue relates to adding text to a matrix and finding that the text is converted to a number. This is the section of code I'm having trouble with: # First, I load in a list of names from a .csv file to 'names' names - read.csv(file(Names.csv)) # Then I define a matrix which will be