[R] how to obtain the Gradiente from the Mars models (from earth package)

2010-08-11 Thread Cleber Borges
Hello, I use the earth package to obtain a approximate models to my data. Now, I want to get the gradiente from this model... Is there an automatized form to get this? The model has a hundred of the terms... Thaks for any help Cleber -- O bom senso é a coisa do mundo mais bem distribuída:

[R] EBImage do not read an Image: requested image not found or could not be loaded

2009-11-21 Thread Cleber Borges
Hello all, I am trying to use the EBImage package, (EBImage 3.2.0 and ImageMagick 6.5.7-9 2009-11-19 Q8 (dinamic linked) with R 2.10.0 winXP) but I get the following error: #- library(EBImage) Loading required package: abind ?readImage ## Reads

Re: [R] EBImage do not read an Image: requested image not found or could not be loaded

2009-11-21 Thread Cleber Borges
()) display(y, title='rotate(x, 30)') Cleber Borges wrote: Hello all, I am trying to use the EBImage package, (EBImage 3.2.0 and ImageMagick 6.5.7-9 2009-11-19 Q8 (dinamic linked) with R 2.10.0 winXP) but I get the following error

Re: [R] EBImage do not read an Image: requested image not found or could not be loaded --- RESOLUTION

2009-11-21 Thread Cleber Borges
-19 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC Features: OpenMP Cleber Borges escreveu: Thanks Uwe for your reply. I can open the lena-color.png file with several programs: firefox, M$ Picture Manager, IMDisplay (GUI of ImageMagick) I converted

Re: [R] Triangular filled contour plot

2010-02-16 Thread Cleber Borges
hello, maybe this code can be useful for you. cleber --- trimage - function(f){ x = y = seq( 1, 0, l=181 ) t1 = length(x) im = aux = numeric(0) for( i in seq( 1, t1, by = 2 ) ){ #idx = seq( t1**2, i*t1, by = -t1 ) - ((t1 - i):0) idx = seq( i*t1, t1**2, by = t1 )

Re: [R] Response surface plot

2009-05-12 Thread Cleber Borges
hello, I have an code for similar plot in 2D. HTH Cleber Borges

[R] SVGAnnotation in Windows

2010-03-06 Thread Cleber Borges
Does anyone know if there is SVGAnnotation package for Windows, and if so, a link to download? Thank you! Cleber N. Borges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] How to config the RStudio

2015-09-23 Thread Cleber Borges
Dear useRs, 1) how to configure the plot command into windows device by default in RStudio? 2) in layout panels, how to config for one panel to start in "minimized mode" ? (i would like to see only the "Environment panel" opened and only the headers of the other panel) when start RStudio.

Re: [R] how to add 1 + 1 with the interface between R and C

2015-09-21 Thread Cleber Borges
I think is time to learning Rcpp! :-) thank you (Peter Dalgaard and Dirk Eddelbuettel ) by the examples! the more simples are often more informatives... cleber Em 21/09/2015 12:36, Dirk Eddelbuettel escreveu: peter dalgaard gmail.com> writes: C is call by value and k and res are

Re: [R] How to use the options "usecommand" and "command" of tktable?

2015-12-18 Thread Cleber Borges
# only a update the R code (with strange behavior) library( tcltk ); tclRequire( "Tktable" ) top <- tktoplevel() tcl('variable', 'myarray') tcl('array', 'unset', 'myarray') x <- 0 tabCmd <- function() { x <<- x + 1 return( as.tclObj( paste(x) ) ) } tab <- tkwidget( top, 'table', rows=2,

[R] pkg reticulate + python3 + MSYS2 (windows)

2019-09-14 Thread Cleber Borges
help! Cleber Borges > system("where python") C:\Python27_64bit\python.exe [1] 0 > system("C:/msys64/mingw64/bin/python.exe -V") Python 3.7.4 [1] 0 > system("C:/Python27_64bit/python.exe -V") Python 2.7.10 [1] 0 > Sys.setenv(

[R] all letters like the R Logo

2021-10-30 Thread Cleber Borges via R-help
in advance for tips. Cleber Borges -- Este email foi escaneado pelo Avast antivírus. https://www.avast.com/antivirus __ 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

Re: [R] png raster in 3D chart

2021-10-30 Thread Cleber Borges via R-help
, 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, yz, xz...

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] 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

Re: [R] png raster in 3D chart

2021-10-31 Thread Cleber Borges via R-help
correct solution to do this. It's already working almost 100%. It's just a toy to put inside Shiny... It's for learning (see the difference between rgl inside R and via webGL). Thanks for your attention... Cleber Borges -- Este email foi escaneado pelo Avast antiví

[R] helps in closing a shiny session

2023-05-30 Thread Cleber Borges via R-help
for any help yours sincerely., Cleber Borges --- CODE ui <- fluidPage( actionButton( "disconnect", "disconnect" ) ) server <- function( input, output, session ) {     observeEvent( input$disconnect, {    se