search for: r_xlen_t_max

Displaying 9 results from an estimated 9 matches for "r_xlen_t_max".

2024 May 13
2
Description of error is untranslated when R_XLEN_T_MAX is exceeded by only 1 element.
Hello everyone When asking to create sequence longer than 2^48 (which is forbidden) the same error message appears translated and untranslated depending on whether R_XLEN_T_MAX is reached or exceeded while not an error o problem beyond that of the untranslated text, i find this weird. ?could it be fixed in any manner? R_XLEN_T_MAX <- 4503599627370496 > length(1:(R_XLEN_T_MAX - 1)) [1] 4.5036e+15 > length(1:(R_XLEN_T_MAX + 0)) Error: result would be too long a v...
2024 May 14
1
Description of error is untranslated when R_XLEN_T_MAX is exceeded by only 1 element.
Dear Ricardo Villalba, Thank you for spotting this corner case! ? Mon, 13 May 2024 11:37:57 -0300 Ricardo Villalba <rikivillalba at gmail.com> ?????: > I track the messages to be coded here: > https://github.com/r-devel/r-svn/blob/abe625945c4402cd2bb97b5a64e7469db3e904f0/src/main/altclasses.c#L580 > and here >
2024 May 14
1
Description of error is untranslated when R_XLEN_T_MAX is exceeded by only 1 element.
Dear Ricardo Villalba, Thank you for spotting this corner case! ? Mon, 13 May 2024 11:37:57 -0300 Ricardo Villalba <rikivillalba at gmail.com> ?????: > I track the messages to be coded here: > https://github.com/r-devel/r-svn/blob/abe625945c4402cd2bb97b5a64e7469db3e904f0/src/main/altclasses.c#L580 > and here >
2024 May 14
1
Altrep and translations (was " Description of error is untranslated when ....")
>>>>> Ivan Krylov via R-help >>>>> on Tue, 14 May 2024 08:08:58 +0300 writes: > Dear Ricardo Villalba, Thank you for spotting this corner > case! > ? Mon, 13 May 2024 11:37:57 -0300 Ricardo Villalba > <rikivillalba at gmail.com> ?????: >> I track the messages to be coded here: >>
2024 May 14
1
Altrep and translations (was " Description of error is untranslated when ....")
>>>>> Ivan Krylov via R-help >>>>> on Tue, 14 May 2024 08:08:58 +0300 writes: > Dear Ricardo Villalba, Thank you for spotting this corner > case! > ? Mon, 13 May 2024 11:37:57 -0300 Ricardo Villalba > <rikivillalba at gmail.com> ?????: >> I track the messages to be coded here: >>
2013 Jul 12
1
robustbase compilation problem: probably boneheaded? maybe 32-bit?
...vious declaration of ?R_xlen_t? was here As far as I can see there isn't any junk left over in my systems from previous installs. Rinternals.h has #ifdef LONG_VECTOR_SUPPORT typedef ptrdiff_t R_xlen_t; typedef struct { R_xlen_t lv_length, lv_truelength; } R_long_vec_hdr_t; # define R_XLEN_T_MAX 4503599627370496 # define R_SHORT_LEN_MAX 2147483647 # define R_LONG_VEC_TOKEN -1 #else typedef int R_xlen_t; # define R_XLEN_T_MAX R_LEN_T_MAX #endif while robustbase has #ifndef LONG_VECTOR_SUPPORT # ifndef XLENGTH // for R <= 2.15.x : # define XLENGTH(x) LENGTH(x) typedef int R...
2013 May 02
3
Minimal build of R ...
Hi, I'm trying to cross-compile R to javascript so that it can run in a web-browser. Take as long as you need to stop laughing. So, as I was saying - I want to try and get a build of R running in the browser. [If you're not familiar with it already, you might enjoy looking at emscripten.org. It's a remarkably capable tool for translating LLVM bitcode to javascript. Check out some of
2013 May 25
0
R in the browser ...
...cordingly - also adding instruction to link in a version of libf2c that I'd pre-compiled to LLVM bitcode. - I had to manually hack on the configure.h file to remove references to some functions that don't seem to exist in emscripten: ccosh, cexp etc. - I also added code to set SSIZE_MAX and R_XLEN_T_MAX to sensible values (thanks Peter). - I hacked connections.c as there were some duplicate case statements. I think this was because the ./configure was getting confused over the size of some basic types. I suspect all of above hacks could be avoided if I understood autotools better. - I tweaked conf...
2017 Jun 07
1
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
>>>>> Martin Maechler <maechler at stat.math.ethz.ch> >>>>> on Tue, 6 Jun 2017 09:45:44 +0200 writes: >>>>> Herv? Pag?s <hpages at fredhutch.org> >>>>> on Fri, 2 Jun 2017 04:05:15 -0700 writes: >> Hi, I have a long numeric vector 'xx' and I want to use >> sum() to count the number of