Typo: *2^48 should be 2^52 El lun, 13 may 2024 a las 11:37, Ricardo Villalba (<rikivilla...@gmail.com>) escribió:
> 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 vector > > length(1:(R_XLEN_T_MAX + 1)) > Error en 1:(R_XLEN_T_MAX + 1): el resultado seria un vector muy largo > > The last is the same as the second, but translated into spanish. > > I track the messages to be coded here: > https://github.com/r-devel/r-svn/blob/abe625945c4402cd2bb97b5a64e7469db3e904f0/src/main/altclasses.c#L580 > and > here > https://github.com/r-devel/r-svn/blob/abe625945c4402cd2bb97b5a64e7469db3e904f0/src/main/seq.c#L102 > > -- > ®DV! > -- ®DV! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.