Displaying 2 results from an estimated 2 matches for "bpgome".
Did you mean:
bpgomes
2007 Oct 15
4
Get the last 3 chars of a string
...ng.
So far, I've done this:
> symbol = 'XYZ.VX"
> substr(symbol,nchar(symbol)-2,nchar(symbol))
[1] ".VX"
It works, but the code looks UGLY as hell. Am I missing something? Or
is this the way it's supposed to be?
Thanks,
Sergio
On 10/15/07, pintinho <diego at bpgomes.com> wrote:
>
> Hi everyone,
>
> When I try to import data do R, the following message appears: "\Uxxxxxxxx
> 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...
2007 Oct 15
2
Get data from matrix
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 message in context: http://www.nabble.com/Get-data-from-matrix-tf4629336.html#a13218653
Sent from the R