[R] png raster in 3D chart

2021-10-30 Thread Cleber Borges via R-help
Hello all How to plot a raster image (like the R logo for example) on a plane of a 3D chart? My intention is to plot an image on each plane: xy, yz, xz... I've seen something a long time ago on the internet but I can't find it anymore. Thanks in advance for any help. Cleber Borges -- Es

Re: [R] png raster in 3D chart

2021-10-30 Thread Cleber Borges via R-help
id.raster( logo, x=0, width=1, y=0 )   }) Em 30/10/2021 13:58, Duncan Murdoch escreveu: On 30/10/2021 12:42 p.m., Cleber Borges via R-help wrote: Hello all How to plot a raster image (like the R logo for example) on a plane of a 3D chart? My intention is to plot an image on each plane: xy

Re: [R] png raster in 3D chart

2021-10-30 Thread Cleber Borges via R-help
-+","x+-","y","y++","z","z--","z++"), tick=FALSE, labels=FALSE, expand=1.1 ) Em 30/10/2021 18:34, Duncan Murdoch escreveu: On 30/10/2021 3:06 p.m., Cleber Borges via R-help wrote:   library( jpeg );   library( rgl

[R] all letters like the R Logo

2021-10-30 Thread Cleber Borges via R-help
I once saw an internet article someone who made all the letters of the alphabet with the R logo style (font type, blue color and bow). I tried several Google searches with different combinations of strings but I couldn't find it. Would anyone know to give news of this article? Thanks in advance

Re: [R] png raster in 3D chart

2021-10-31 Thread Cleber Borges via R-help
Em 31/10/2021 08:09, Duncan Murdoch escreveu: Rlogo <- "C:/R/doc/html/logo.jpg" That won't work on most systems.  Please use something like Rlogo <- file.path(R.home(), "doc/html/logo.jpg") Ok. Done! box3d( floating=NA  ) I don't think that has ever worked.  "floating=NA" is a special

[R] helps in closing a shiny session

2023-05-30 Thread Cleber Borges via R-help
Hello everybody I tried closing a shiny session with the call: session$close() and then I found that it didn't do what I thought it would. The result of calling: session$isClosed() is still FALSE. Does anyone have any tips on how to close the shiny session using a button? Thanks in advance for

Re: [R] Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link

2024-10-26 Thread Cleber Borges via R-help
For now, I've been able to think of a temporary solution... until I can think of a better teaching solution: The same function f(): # f <- function(xmd) {     rs <- NULL     xmd1 <- 9     xmd2 <- 9     if (xmd[1] > 0) {     xmd1 <- f(r$merge[ xmd[1], ])     } else {    

[R] Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link

2024-10-26 Thread Cleber Borges via R-help
Hello everybody, I'm trying to build a function to illustrate, in 2D, the sequence of the "Single Link" algorithm (the purpose is merely didactic). The idea is to have the scatter of points on a graph. Iteratively, build the segments (with the "segments()" function, for each step). I simula