Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread A J
Subject: Re: [R] extracting rows and columns from a big matrix To: anxu...@hotmail.com CC: r-help@r-project.org Hello, In my previous email, I used index to subset the data. Then, I looked at your code. I guess you wanted to try the subset function to get the same output. Try

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread jim holtman
X12 3 7 5 2 X22 6 7 4 9 X31 1 1 1 1 A.K. - Original Message - From: A J anxu...@hotmail.com To: jholt...@gmail.com Cc: r-help@r-project.org Sent: Sunday, July 15, 2012 3:43 PM Subject: Re: [R] extracting rows and columns from a big matrix Sorry so

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread A J
the enigmatic problem when I find it (I hope so...). Thanks for your comments and help. AJ Date: Mon, 16 Jul 2012 05:46:46 -0700 From: smartpink...@yahoo.com Subject: Re: [R] extracting rows and columns from a big matrix To: anxu...@hotmail.com CC: r-help@r-project.org Hello, Have you tried

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread Petr Savicky
On Mon, Jul 16, 2012 at 03:10:22PM +0200, A J wrote: Yes, I have tried it and this works. Indeed, if I use a small number of colums, all the methods proposed here are working. Following the previous mail I have splited the number of colums in 4 parts of 447 colums each one. The first and

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread A J
. Thanks everybody! AJ Date: Mon, 16 Jul 2012 09:08:15 -0700 From: smartpink...@yahoo.com Subject: Re: [R] extracting rows and columns from a big matrix To: anxu...@hotmail.com CC: r-help@r-project.org Hi, If you think that R may not be able to subset greater than 300X300, Try

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread William Dunlap
wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of A J Sent: Monday, July 16, 2012 9:56 AM To: smartpink...@yahoo.com Cc: r-help@r-project.org Subject: Re: [R] extracting rows and columns from a big matrix I

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread Nordlund, Dan (DSHS/RDA)
Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of William Dunlap Sent: Monday, July 16, 2012 10:39 AM To: A J; smartpink...@yahoo.com Cc: r-help@r-project.org Subject: Re: [R] extracting rows and columns from a big matrix Did you ever show

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread arun
-project.org Sent: Monday, July 16, 2012 6:49 AM Subject: RE: [R] extracting rows and columns from a big matrix Thank you very much to everybody for your fast respones. All your solutions are working well, but I keep with the same problem. When I use whatever of your proposals with a small set

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread arun
2012 07:05:44 -0700 From: smartpink...@yahoo.com Subject: Re: [R] extracting rows and columns from a big matrix To: anxu...@hotmail.com Hello AJ, If I understand your email, there is no problem in subsetting n (say 300 or 400) number of columns from theĀ  1st and 2nd splitted ones (447

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread Sarah Goslee
] extracting rows and columns from a big matrix Did you ever show the code that caused the problem? In particular, was it one very long line of code? It is possible that copying and pasting a long line into R might cause problems, but the details would depend on which OS you are using and which user

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread Sarah Goslee
@r-project.org Subject: Re: [R] extracting rows and columns from a big matrix Hi, Did you follow up on Bill's suggestion? -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of William Dunlap Sent: Monday, July 16, 2012 10:39

Re: [R] extracting rows and columns from a big matrix

2012-07-16 Thread A J
shortened them. Sorry so much for all inconveniences. AJ Date: Mon, 16 Jul 2012 15:26:27 -0400 From: sarah.gos...@gmail.com To: r-help@r-project.org Subject: Re: [R] extracting rows and columns from a big matrix Hi, Did you follow up on Bill's suggestion

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread jim holtman
For a start, you are missing a quote and a parenthese on the statement; probably should be: (another quote was also missing) n-subset(m, select=c(X1, X7, X12,X15, X22, X26, X31, X34, X39, X44, X51, X58)) Not sure what you want with the rownames; an example would help and post with 'dput'. On

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread Sarah Goslee
You're missing a ) You close c() but not subset(). That's the most common cause of incomplete commands: it often works to just keep typing ) return until you get the regular prompt. Sarah On Sun, Jul 15, 2012 at 2:47 PM, A J anxu...@hotmail.com wrote: Hi there and thanks in advance. I have

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread A J
a text file with the idea in order to understand it better. Thanks again, and sorry for the inconvenience. Best, AJ Date: Sun, 15 Jul 2012 14:53:47 -0400 Subject: Re: [R] extracting rows and columns from a big matrix From: jholt...@gmail.com To: anxu...@hotmail.com CC: r-help@r-project.org

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread jim holtman
matrix. I have enclosed a text file with the idea in order to understand it better. Thanks again, and sorry for the inconvenience. Best, AJ Date: Sun, 15 Jul 2012 14:53:47 -0400 Subject: Re: [R] extracting rows and columns from a big matrix From: jholt...@gmail.com To: anxu

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread arun
A.K. - Original Message - From: A J anxu...@hotmail.com To: jholt...@gmail.com Cc: r-help@r-project.org Sent: Sunday, July 15, 2012 3:43 PM Subject: Re: [R] extracting rows and columns from a big matrix Sorry so much for mistakes. It was an example code and I commited some

Re: [R] extracting rows and columns from a big matrix

2012-07-15 Thread arun
...@hotmail.com To: jholt...@gmail.com Cc: r-help@r-project.org Sent: Sunday, July 15, 2012 3:43 PM Subject: Re: [R] extracting rows and columns from a big matrix Sorry so much for mistakes. It was an example code and I commited some mistakes typing it. But meaning the original code is right (I