[R] Strange results converting string to number

2007-10-15 Thread pintinho
Hi, I am getting a strange result while converting a string vector into numeric vector: > Datas[1] [1] 37315 > as.numeric(Datas[1]) [1] 2 Can anyone help me?? -- View this message in context: http://www.nabble.com/Strange-results-converting-string-to-number-tf4629811.html#a13220089 Sent from

[R] Get data from matrix

2007-10-15 Thread pintinho
Hi, I have a matrix that has a variable number of columns. I do not know, a priori, the number of columns. How can I get a sub matrix, for example, from row 10 to the end of the columns? In MatLab I would use something like this: SubMatrix = Matrix[10, 1:end] Thanks a lot. -- View this messa

Re: [R] ERROR while importing data

2007-10-15 Thread pintinho
Stefan, I found what was wrong. Thank you very much anyway! Stefan Grosse-2 wrote: > > On Monday 15 October 2007 06:43:52 pm pintinho wrote: > pi> I tried lots of methods to import (read.csv, read.table, RODBC, > read.delim) > pi> and the same message appears for

[R] ERROR while importing data

2007-10-15 Thread pintinho
Hi everyone, When I try to import data do R, the following message appears: "\U sequences are not supported on Windows". I tried lots of methods to import (read.csv, read.table, RODBC, read.delim) and the same message appears for all these methods. I think it is a bigger problem. Can