Re: [Rd] paths capability FALSE on devel?
In the past I've observed similar behaviour with R compiled with support for cairo but no pango: https://stat.ethz.ch/pipermail/r-devel/2022-April/081587.html Despite cairo support if no pango then the documentation in ?X11 says R defaults to type "Xlib" instead of type "cairo" even though both seem to work and only type "cairo" supports all the new grid features like paths... What happens if you set `X11.options(type = "cairo")`? Trevor [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] paths capability FALSE on devel?
On Wed, 27 Mar 2024 at 12:19, Ivan Krylov wrote: > В Wed, 27 Mar 2024 11:28:17 +0100 > Alexandre Courtiol пишет: > > > after installing R-devel the output of > > grDevices::dev.capabilities()$paths is FALSE, while it is TRUE for R > > 4.3.3 > > Your system must be missing Cairo development headers, making x11() > fall back to type = 'Xlib': > > $ R-devel -q -s -e 'x11(); grDevices::dev.capabilities()$paths' > [1] TRUE > $ R-devel -q -s -e \ > 'x11(type="Xlib"); grDevices::dev.capabilities()$paths' > [1] FALSE > > If that's not the case and capabilities()['cairo'] is TRUE in your > build of R-devel, please show us the sessionInfo() from your build of > R-devel. > > -- > Best regards, > Ivan > Thanks everyone for your feedback. Here is the requested information: > x11() > grDevices::dev.capabilities()$paths [1] FALSE > capabilities()['cairo'] cairo TRUE > sessionInfo() R version 4.3.3 Patched (2024-02-29 r86166) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 22.04.4 LTS Matrix products: default BLAS: /home/courtiol/R-devel/lib/R/lib/libRblas.so LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0 locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C time zone: Europe/Berlin tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.3.3 However, since it works on your side, I think there is nothing to worry about, I must have simply failed to install R-devel properly. -- Alexandre Courtiol, www.datazoogang.de [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] paths capability FALSE on devel?
В Wed, 27 Mar 2024 11:28:17 +0100 Alexandre Courtiol пишет: > after installing R-devel the output of > grDevices::dev.capabilities()$paths is FALSE, while it is TRUE for R > 4.3.3 Your system must be missing Cairo development headers, making x11() fall back to type = 'Xlib': $ R-devel -q -s -e 'x11(); grDevices::dev.capabilities()$paths' [1] TRUE $ R-devel -q -s -e \ 'x11(type="Xlib"); grDevices::dev.capabilities()$paths' [1] FALSE If that's not the case and capabilities()['cairo'] is TRUE in your build of R-devel, please show us the sessionInfo() from your build of R-devel. -- Best regards, Ivan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] paths capability FALSE on devel?
On 27 March 2024 at 11:03, Prof Brian Ripley via R-devel wrote: | On 27/03/2024 10:28, Alexandre Courtiol wrote: | > Hi all, | > | > I don't know if it is a local issue on my hands or not, but after | > installing R-devel the output of grDevices::dev.capabilities()$paths is | > FALSE, while it is TRUE for R 4.3.3. | > Relatedly, I have issues with plotting paths on devel. | > | > At this stage, I simply would like to know if others running R devel and R | > 4.3.3 can replicate this behaviour and if there are obvious reasons why the | > observed change would be expected. | | The help says | | Query the capabilities of the current graphics device. | | You haven't told us what that was. See the posting guide for the "at a | minimum" information you also did not provide Yes, with that I see > x11() > grDevices::dev.capabilities()$paths [1] TRUE > > getRversion() [1] ‘4.5.0’ > > R.version _ platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status Under development (unstable) major 4 minor 5.0 year 2024 month 03 day27 svn rev86214 language R version.string R Under development (unstable) (2024-03-27 r86214) nickname Unsuffered Consequences > Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] paths capability FALSE on devel?
On 27/03/2024 10:28, Alexandre Courtiol wrote: Hi all, I don't know if it is a local issue on my hands or not, but after installing R-devel the output of grDevices::dev.capabilities()$paths is FALSE, while it is TRUE for R 4.3.3. Relatedly, I have issues with plotting paths on devel. At this stage, I simply would like to know if others running R devel and R 4.3.3 can replicate this behaviour and if there are obvious reasons why the observed change would be expected. The help says Query the capabilities of the current graphics device. You haven't told us what that was. See the posting guide for the "at a minimum" information you also did not provide -- Brian D. Ripley, rip...@stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] paths capability FALSE on devel?
Hi all, I don't know if it is a local issue on my hands or not, but after installing R-devel the output of grDevices::dev.capabilities()$paths is FALSE, while it is TRUE for R 4.3.3. Relatedly, I have issues with plotting paths on devel. At this stage, I simply would like to know if others running R devel and R 4.3.3 can replicate this behaviour and if there are obvious reasons why the observed change would be expected. Man thanks, Alex -- Alexandre Courtiol, www.datazoogang.de [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel