[R] Question about assigning values in a matrix, conditional on column first row; how to do the loop.

2010-10-05 Thread Paula Fergnani Salvia
Hello, I’m new at programming and I will greatly appreciate if you can help me with this. I have a very large matrix (hundreds of rows and columns), with the first raw filled with different numbers (between 0 and 1). The rest of the matrix is filled with values 0, 1, 2. What I need is to

[R] Help with output height

2009-09-22 Thread Paula Fergnani Salvia
Hello everyone I have a problem using the R console. I have written 2000 lines in a notepad, this lines are commands for reading dbf files. When I paste these lines in the R console I can only visualize the end of the output, this is because the R console has a default number of rows which is