similar to: Weird and changed as.roman() behavior

Displaying 20 results from an estimated 300 matches similar to: "Weird and changed as.roman() behavior"

2025 Jan 15
2
Weird and changed as.roman() behavior
>>>>> Jani V?limaa >>>>> on Tue, 14 Jan 2025 20:39:19 +0200 writes: > Hello, > I don't know what's changed or how to figure out why as.roman() started > to work different way lately on Mageia Cauldron. Cauldron is the > latest development version of Mageia Linux. > Expected bahavior: >>
2025 Jan 16
2
Weird and changed as.roman() behavior
>>>>> Stephanie Evert >>>>> on Wed, 15 Jan 2025 13:18:03 +0100 writes: > Well, the real issue then seems to be that .roman2numeric uses an invalid regular expression: >>> grepl("^M{,3}D?C{,4}L?X{,4}V?I{,4}$", cc) >> [1] TRUE TRUE TRUE TRUE TRUE > or >>> grepl("^I{,2}$", c("II",
2025 Jan 15
1
Weird and changed as.roman() behavior
Well, the real issue then seems to be that .roman2numeric uses an invalid regular expression: >> grepl("^M{,3}D?C{,4}L?X{,4}V?I{,4}$", cc) > [1] TRUE TRUE TRUE TRUE TRUE or >> grepl("^I{,2}$", c("II", "III", "IIII")) > [1] TRUE TRUE FALSE Both the TRE and the PCRE specification only allow repetition quantifiers of the
2015 Aug 10
2
Bug or expected behavior of APFloat class?
Hi, I've been playing around with the APFloat class lately and I came across behavior I was not expecting based on reading the implementation comments and I'm wondering if it's a bug or intentional. The behavior concerns converting an APFloat to a string and back again. In the implementation of ``APFloat::toString(...)`` you can specify ``FormatPrecision`` as 0. The method comments
2016 Jun 01
2
segfault / crash when asking for large memory via strrep()
We've had this more general topic on R-help, and also in R-devel recently. There's one case here where I get the feeling R never gets into swapping but more directly aborts possibly from a bug we can more easily fix. Today I've been working (successfully! - not yet committed) at fixing str() for very large strings. In this process, I've found that pc <- function(.)
2009 Jun 01
3
Problem EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Hi, When i want load eclipse with wine 1.1.22 I obtained this error : # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7ec06ec4, pid=27, tid=28 # # JRE version: 6.0_14-b08 # Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode windows-x86 ) # Problematic frame: # C [comctl32.dll+0x86ec4] # # If you would like
2018 Oct 25
1
small bug in formatC?
formatC(0.0001, digits = 3, format = "f", zero.print="< 0.01") Error in strrep(" ", nc - i1) : invalid 'times' value The problem, if it is one, is in .format.zeros: .format.zeros("0.000", "xxxxxx") Error in strrep(" ", nc - i1) : invalid 'times' value R version 3.5.1. David [[alternative HTML version deleted]]
2017 Dec 19
1
abort
FYI. G?bor ? R --vanilla -q > sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Sierra 10.12.6 Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.0.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib locale: [1]
2016 Jun 01
0
segfault / crash when asking for large memory via strrep()
That would be because the product nc * ni overflows in cbuf = buf = CallocCharBuf(nc * ni); Since we disallow strings with more than 2^31-1 bytes we could test and reject this. It might be more future-proof to change the declaration of int j, ni, nc; to R_xlen_t j, ni, nc; and let the character allocation code reject, but that would create a memory leak since the Free call
2006 Oct 26
2
pairs matchning
Hi You could try to find an equivalent representation as a string and try to match those. > (A <- cbind(sample(1:2, 10, rep=TRUE), sample(1:2, 10, rep=TRUE))) [,1] [,2] [1,] 1 2 [2,] 1 2 [3,] 1 2 [4,] 2 2 [5,] 1 1 [6,] 1 2 [7,] 1 2 [8,] 1 1 [9,] 1 2 [10,] 1 1 > (B <- unique(A)) [,1] [,2] [1,] 1 2
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following: # Produces right justfified column names caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)
2009 Jan 22
2
expire plugin error
Hi, I am using the db backend for the expire plugin and found the following error message in the logfile: dovecot: Jan 22 10:10:55 Error: dict: secondary db: unable to allocate space from the buffer cache dovecot: Jan 22 10:10:55 Error: dict: Failed to initialize dictionary 'expire' dovecot: Jan 22 10:10:55 Error: IMAP(xxxxxxxxxx): read(/var/dovecot/dict-server) failed: Remote
2005 Jun 30
2
[OT] SPARC platforms -- WAS: Hot swap CPU
Bryan J. Smith b.j.smith at ieee.org wrote: >Not only that, but people forget that SPARC is not sold by just Sun. >SPARC is an IEEE standard licensed under "fair and non-discriminatory" >terms. The SPARC ISA and most architectural details are freely >available. Yep - but what is your point with bringing that up? >The _majority_ of my Solaris/SPARC experience in more
2011 Dec 16
6
java installation failure
Readers, Openjdk and ibm java versions have failed to install, all reporting a bad elf, e.g. ./ibm-java-i386-sdk-7.0-0.0.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... strings: '/lib/libc.so.6': No such file
2025 Feb 28
0
R 4.4.3 is released
The build system rolled up R-4.4.3.tar.gz (codename "Trophy Case") this morning. This is intended to be the round-up release of the 4.4.x series. It also happens to be as close as we can get to celebrating 25 years since R-1.0.0. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.3.tar.gz
2025 Feb 28
0
R 4.4.3 is released
The build system rolled up R-4.4.3.tar.gz (codename "Trophy Case") this morning. This is intended to be the round-up release of the 4.4.x series. It also happens to be as close as we can get to celebrating 25 years since R-1.0.0. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.3.tar.gz
2025 Feb 28
0
R 4.4.3 is released
The build system rolled up R-4.4.3.tar.gz (codename "Trophy Case") this morning. This is intended to be the round-up release of the 4.4.x series. It also happens to be as close as we can get to celebrating 25 years since R-1.0.0. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.3.tar.gz
2009 Oct 15
8
Sparc?
HI All, I have acquired a Sun Fire VL 240. I know there is not a SPARC version of CentOS. Can anyone recommend a good OS for a machine that will do apache, postfix, mysql, etc. I know this is sort of a loaded question, but I don't have a lot of knowledge on distros that are stable on Sparc. -Jason
2006 Jul 13
3
set the bahavior that R deal with missing values?
Dear Rusers, The default behavior in R when performing a regression model with missing values is to exclude any case that contains a missing value? How could i set the bahavior that R deal with missing values? e.g.: exclude cases listwise exclude cases pairwise replace with mean Thanks very much! -- Kind Regards, Zhi Jie,Zhang ,PHD Department of Epidemiology School of Public Health Fudan
2009 Nov 29
1
Roman numerical output
I have integers and I want R to give them back/output as Roman numerals: s=c(7,17) format(s,roman=T) is obviously wrong. Is there any other way/function to do this? Thanks, Thomas