Hi:
I have a matrix, named "mat," of numeric values that are in days since
Jan 1, 1960.
I want to convert them Date class values so that I can do things like
seq( value , len=10, by="1 week")
where "value" is any of the matrix elements.
How do I do this?
Please reply to: [EMAIL PROTECTED]
Hi R-People:
I use 2 machines: a machine with a Windows XP operating system, and
another with a Linux Ubuntu OS. I transport my code between these 2
machines. However, pathnames to data files always need to be "adjusted"
to account for the OS that I'm working on.
Here is my question:
How do
R Community:
At the risk of getting my hands slapped by posting "too much" on the
forum, I've described the strategy for reading only certain portions of
huge .csv files below.
I think that this very well could be of interest to others... I'm sure
that I'm not alone in the need to read only
Hi all:
I made a few typos. Here are the corrections...
unix.cmd<-paste( "cut -d, -f" , col.pos , " " , fn , sep = ''
)# comma (,) inserted
Sorry...
Best regards,
Phil
Philip James Smith wrote:
He Ted:
My command will look like:
g
ew Mexico
so I don't seem to have had the problem you describe below.
On the other hand, back in Linux, if I do:
[EMAIL PROTECTED]:~$ ls -l \"New Mexico\"
ls: "New: No such file or directory
ls: Mexico": No such file or directory
which looks like the problem you describe --
executes it. When unix sees that slash before the quotes, it gives an error.
I'd be grateful if you can provide a solution to this!!
Thank you, Ted!
Gratefully,
Phil Smith
Duluth, GA
(Ted Harding) wrote:
On 03-Jul-08 01:25:55, Philip James Smith wrote:
Hi R Community:
I
Hi R Community:
I've got a character string that looks like: New Mexico
How to I create the new character string that looks like: "New Mexico"
That is, it is the original string (New Mexico) with double quotes
infront and behind it?
Thanks,
Phil Smith
__
Hi R people:
I have huge files with as many as 5000 columns. I'd really like to read
only certain columns of those files. I know column names I want to read.
I looked at the documentation of read.csv . Although there is a
col.names option, it allows users to specify the names of the columns,
8 matches
Mail list logo