Re: [R] Error because of large dimension

2016-01-24 Thread li li
Thanks all for the reply. I think I need to think of other ways to approach the problem. Hanna 2016-01-24 17:45 GMT-05:00 William Dunlap : > > 28 PiB. Storing such a large matrix even on file is not possible. > > The ads for Amazon Red Shift say it is possible. E.g., >

[R] Block Triangular Matirx

2016-01-24 Thread Amina Shahzadi Shahzadi
Hi I want to create a block upper triangular square matrix. Anybody who can help in this regard. Thank You [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R-es] test z de tres proporciones

2016-01-24 Thread José Trujillo
El 23/01/16 a las 16:14, Fernando Sanchez escribió: Hola a todos, Quería hacer un test z con tres proporciones. He buscado información acerca de si es posible en R y no he encontrado nada al respecto. La información de la que dispongo es la siguiente: A nº total de casos: 56 nº eventos: 14

Re: [R] Block Triangular Matirx

2016-01-24 Thread Olivier Crouzet
Hi, I think this page will help, https://stat.ethz.ch/R-manual/R-devel/library/base/html/lower.tri.html Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes - EA3827 Université de Nantes -Original Message- From: Amina Shahzadi Shahzadi

Re: [R] Estimating MA parameters through arima or through package "dlm"

2016-01-24 Thread Paul Gilbert
(Sorry for the delay in responding to this.) On 01/05/2016 06:00 AM, r-help-requ...@r-project.org wrote: Date: Mon, 4 Jan 2016 11:31:22 -0500 From: Mark Leeds To: Stefano Sofia Cc:"r-help@r-project.org" Subject: Re:

[R] Error because of large dimension

2016-01-24 Thread li li
Hi all, I am doing some calculation with very large dimension. I need to create a matrix with three columns and a very large number of rows (3195*1290*495*35*35*35*15=1.312083e+15) i n order to allocate calculation result from a for loop. R does not allow me to create such a matrix because of

Re: [R] Error because of large dimension

2016-01-24 Thread Oliver Keyes
Hey Hanna, nrow and ncol in matrix() are integer-based, for the moment at least; accordingly they have a maximum value. (3195*1290*495*35*35*35*15) is actually larger than an integer can hold - you can test this with: str((3195*1290*495*35*35*35*15)) Which shows that it's stored as a numeric

[R] Extracting complete information from XML data file using R-Nested Lists

2016-01-24 Thread sowmiyan
I am working with a XML, which can be found in the link Sample XML file I am trying to extract each and every fields information to a csv file. I want my output to be as below: Required output: *Total of 20 columns and 2 rows*

[R] logical vector of the indices of a string in a vector

2016-01-24 Thread carol white via R-help
Hi, it might be trivial but is there any way to get the logical vector of the indices of a string in a vector? I thought that %in% would do but it doesn't. I also want to filter the empty fields. Here I want to extract the non-empty elements containing "Yes":x =c("Yes, fsd", "", "No","","Yes,

Re: [R] logical vector of the indices of a string in a vector

2016-01-24 Thread ruipbarradas
Hello, Try x[grepl("Yes", x) & x != ""] Hope this helps, Rui Barradas   Citando carol white via R-help : > Hi, it might be trivial but is there any way to get the logical > vector of the indices of a string in a vector? I thought that %in% > would do but it

Re: [R] R-help mailing list activity / R-not-help?

2016-01-24 Thread Robert Sherry
I think this mailing list is wonderful and it has helped me a lot. In fact, I am not sure I would be using R today if it was not for this list. Bob On 1/24/2016 4:42 PM, Michael Friendly wrote: On 1/23/2016 7:28 AM, Jean-Luc Dupouey wrote: Dear members, Not a technical question: But one

Re: [R] Error because of large dimension

2016-01-24 Thread Henrik Bengtsson
FYI, the matrix you tried to allocate would hold (3195*1290*495*35*35*35*15) * 3 = 3.936248e+15 values. Each value would occupy 8 bytes of memory (for the double data type). In other words, in order to keep this data matrix in memory you would require a computer with at least 3.148998e+16 bytes

Re: [R] Extracting complete information from XML data file using R-Nested Lists

2016-01-24 Thread Oliver Keyes
Hey Sowmiyan, I would recommend taking a look at the xml2, rather than xml, package for a start. It's a lot more structured and traversing between elements far easier :) On 24 January 2016 at 12:27, sowmiyan wrote: > I am working with a XML, which can be found in the

Re: [R] R-help mailing list activity / R-not-help?

2016-01-24 Thread Michael Friendly
On 1/23/2016 7:28 AM, Jean-Luc Dupouey wrote: Dear members, Not a technical question: But one worth raising... The number of threads in this mailing list, following a long period of increase, has been regularly and strongly decreasing since 2010, passing from more than 40K threads to less

Re: [R] Error because of large dimension

2016-01-24 Thread William Dunlap via R-help
> 28 PiB. Storing such a large matrix even on file is not possible. The ads for Amazon Red Shift say it is possible. E.g., Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse that makes it simple and cost-effective to analyze all your data using your existing business