search for: sdec

Displaying 6 results from an estimated 6 matches for "sdec".

Did you mean: dec
2018 Apr 19
3
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
...dertaken may the following small fix (in addition to "(R_xlen_t)nr * nc") will be sufficient for cases where nr and nc are in int range but their product can reach long vector limit: replace ??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod, ??? ??? ??? ??? ??? &strBuf, sdec); by ??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0, quote_col[j], qmethod, ??? ??? ??? ??? ??? &strBuf, sdec); Serguei
2017 Mar 20
2
IO error when writing to disk
...++ src/library/utils/src/io.c (copie de travail) @@ -1120,12 +1120,23 @@ for(int i = 0; i < nr; i++) { if(i % 1000 == 999) R_CheckUserInterrupt(); if(!isNull(rnames)) - Rconn_printf(con, "%s%s", - EncodeElement2(rnames, i, quote_rn, qmethod, - &strBuf, sdec), csep); + + if(Rconn_printf(con, "%s%s", EncodeElement2(rnames, i, quote_rn, qmethod, &strBuf, sdec), csep) < 0) { + error(_("IO error, cannot write table.")); + break; + } + for(int j = 0; j < nc; j++) { xj = VECTOR_ELT(x, j); -...
2018 Apr 19
0
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
...small fix (in addition to "(R_xlen_t)nr * > nc") will be sufficient for cases where nr and nc are in int range but > their product can reach long vector limit: > > replace > ??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod, > ??? ??? ??? ??? ??? &strBuf, sdec); > by > ??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0, > quote_col[j], qmethod, > ??? ??? ??? ??? ??? &strBuf, sdec); Unfortunately we can't do that, x is a matrix of an atomic vector type. VECTOR_ELT is taking elements of a generic vector, so it cannot be a...
2018 Apr 19
2
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
On 18/04/2018 5:08 PM, Tousey, Colton wrote: > Hello, > > I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C's int limit). I found this bug already reported about before: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17182. However, there appears to be no solution or fixes in upcoming
2018 Apr 19
2
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Le 19/04/2018 ? 12:15, Tomas Kalibera a ?crit?: > On 04/19/2018 11:47 AM, Serguei Sokol wrote: >> >> replace >> ??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod, >> ??? ??? ??? ??? ??? &strBuf, sdec); >> by >> ??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0, >> quote_col[j], qmethod, >> ??? ??? ??? ??? ??? &strBuf, sdec); > > Unfortunately we can't do that, x is a matrix of an atomic vector > type. VECTOR_ELT is taking elements of a gene...
2008 Oct 22
2
Another node is heartbeating in our slot! errors with LUN removal/addition
Greetings, Last night I manually unpresented and deleted a LUN (a SAN snapshot) that was presented to one node in a four node RAC environment running OCFS2 v1.4.1-1. The system then rebooted with the following error: Oct 21 16:45:34 ausracdb03 kernel: (27,1):o2hb_write_timeout:166 ERROR: Heartbeat write timeout to device dm-24 after 120000 milliseconds Oct 21 16:45:34 ausracdb03 kernel: