Re: [Rd] FR: Customize background colour of row and column headers for the View output

2024-05-15 Thread Iago Giné Vázquez
About the decisions: Actually, the same way dataedittext modifies the text colour not only of data, but also of row and column names, and dataedituser modifies the colour of all the borders, I think dataeditbg should modify the background of all the window, at least that "inside" those borders.

[Rd] FR: Customize background colour of row and column headers for the View output

2024-05-14 Thread Iago Giné Vázquez
Thanks again Duncan and Ivan, I forward then the email to R-devel. Summarizing, the dataedit options (in RGui preferences or RConsole) to colouring the View output do not have effect on the background of the row and column names (see https://ibb.co/Dkn2pVs). Could this be implemented? Thank

Re: [Rd] Request: documenting more specifically language objects in the R Language Definition document

2023-12-13 Thread Iago Giné Vázquez
ore people lose >> interest. >> >> This would be a lot of work for you.  Besides the work of writing >> clearly and correctly, you need to learn the material. But that's a >> big benefit for you if you are really interested in working with this >> kin

[Rd] Request: documenting more specifically language objects in the R Language Definition document

2023-12-13 Thread Iago Giné Vázquez
Dear all, This is a request to get language objects more documented in the R Language Definition document (CRAN version, ETHZ R-devel version). Section '2.1.3 Language

Re: [R-pkg-devel] Check warning around sprintf: Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system

2023-11-20 Thread Iago Giné-Vázquez
Thanks to all for the inputs and Ivan and Martin for the cleaner code you suggest and which I will definitely use. Iago Sent with Proton Mail secure email. On Monday, 20 November 2023 at 10:09, Martin Maechler wrote: > > > > > > Serguei Sokol > > > > > > on Mon, 20 Nov 2023 10:04:10

Re: [R-pkg-devel] Check warning around sprintf: Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system

2023-11-18 Thread Iago Giné-Vázquez
here n is the maximum number of bytes to write, including the > terminating nul character. For example: > > char msg[8191]; > snprintf(msg, 8191, "criteria: error (%d) -> %s\n", inErr, errStr); > Rf_error(msg); > > or however large you made the error string. > >

[R-pkg-devel] Check warning around sprintf: Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs

2023-11-18 Thread Iago Giné-Vázquez
Dear all, I am updating a CRAN-archived R package, so it can get back to CRAN. But there is a warning produced in Linux OS that I am not sure to understand and I do not know how to solve, even after looking at ‘Writing portable packages’ in the ‘Writing R Extensions’ manual and after searching

Re: [Rd] [R] Why Rprofile.site is not built with manual installation of R devel in linux?

2023-11-10 Thread Iago Giné Vázquez
Thanks all for your answers. First of all, I wrote to R-help and not R-devel, because I wanted to get help and not discussing anything relative to R development, and also because this issue could be due to my fault (as it was indeed), and not to the R devel branch... Thanks particularly to

[R-pkg-devel] Tools beyond roxygen2 to write Rd documentation

2021-08-05 Thread Iago Giné-Vázquez
Dear all, Are there any tools to edit .Rd files by hand (so avoiding roxygen2), as an editor (like could be *RdStudio*, à la RStudio or TeXstudio) or a plugin for ViM or another editor (like could be *vim-Rd*, à la vim-latex)? Thanks for your answers, Stay safe, Iago Sent with

[Rd] A wish on t.test.formula values

2021-02-18 Thread IAGO GINÉ VÁZQUEZ
Dear all, In `?t.test`, **Value** section we can read: "data.name a character string giving the name(s) of the data." But, for *formula* class: t.test(mpg ~ am, data = mtcars, subset = cyl==4, na.action = "na.omit")$data.name [1] "mpg by am" I believe it would be desirable to have all the

Re: [Rd] The presence/absence of `zone` in POSIXlt depending on time zone as a cause of possible inconsistences?

2020-10-23 Thread IAGO GINÉ VÁZQUEZ
"isdst" "zone" "gmtoff" $class [1] "POSIXlt" "POSIXt" > $tzone [1] "CET" "CET" "CEST" So `x[1,"zone"]` is what I expect, but I would expect `attributes(x)$tzone` would be related to `T

[Rd] The presence/absence of `zone` in POSIXlt depending on time zone as a cause of possible inconsistences?

2020-10-23 Thread IAGO GINÉ VÁZQUEZ
Dear all, I have just detected what seems a minor inconsistence with data types. If one unlists a POSIXlt time with GMT zone gets a numeric vector, since the POSIXlt list has no `zone` element, while if one unlists a POSIXlt time with a non GMT zone (also non specifying tz if the Sys.timezone

[Rd] A bug understanding F relative to FALSE?

2020-01-15 Thread IAGO GINÉ VÁZQUEZ
Hi all, Is the next behaviour suitable? identical(F,FALSE) ## [1] TRUE utils::getParseData(parse(text = "c(F,FALSE)", keep.so=rce = TRUE)) ##line1 col1 line2 col2 id parenttoken terminal text ## 14 11 1 10 14 0 exprFALSE ## 1 1

[Rd] A weird behaviour of strsplit?

2019-12-18 Thread IAGO GINÉ VÁZQUEZ
Hi all, In the help of strsplit one can read split character vector (or object which can be coerced to such) containing regular expression(s) (unless fixed = TRUE) to use for splitting. If empty matches occur, in

Re: [Rd] Printing chinese characters (UTF-8) on R 3.5.2 -windows 10

2019-09-13 Thread IAGO GINÉ VÁZQUEZ
But if I type > "會" the output is [1] "會" so seemingly it can be represented. Or, am I wrong? Best Iago De: Tomas Kalibera Enviat el: divendres, 13 de setembre de 2019 11:24 Per a: IAGO GINÉ VÁZQUEZ ; r-devel@r-project.org Tema: Re

[Rd] Printing chinese characters (UTF-8) on R 3.5.2 -windows 10

2019-09-13 Thread IAGO GINÉ VÁZQUEZ
I have a chinese character on a data frame, but the output of printing it is its UTF-8 code. Concretely, the character is 會 and the code is U+6703. Following the code I arrive to the instruction > base::format.default("會") which prints [1] "" I do not know which is the extent of this

[Rd] Could generic functions check different S3 methods for an object when one of them produces an error?

2019-06-18 Thread IAGO GINÉ VÁZQUEZ
Hi, Let's say one has an object with multiple classes, and a generic function to apply to it has associated S3 methods for more than one of those classes. Further, the method it chooses (I do not know how; some order in the class vector?) is not the suitable one and it produces an error.

[Rd] Proposal for a new feauture on summary applied to numeric class

2019-04-04 Thread IAGO GINÉ VÁZQUEZ
Dear all, Following the indications given in https://www.r-project.org/bugs.html, and as I wish to submit a feature request, I ask about it first on here. The function 'summary' from the package 'base', when applied to numeric vectors returns the quantiles together with the mean of the