Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Bill Dunlap
gctorture(TRUE) helps too, but it will take a long time. -Bill On Fri, Oct 22, 2021 at 11:07 AM lampros mouselimis < mouselimislamp...@gmail.com> wrote: > Thank you all for your answers, > > I'll give it a try using both valgrind (on linux) and the rhub's linux gcc > Address Sanitizers (Asan).

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread lampros mouselimis
Thank you all for your answers, I'll give it a try using both valgrind (on linux) and the rhub's linux gcc Address Sanitizers (Asan). I've already used rhub to test the package on the Solaris OS but it didn't give any error (it seems to me that the configurations between CRAN and rhub differ).

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Henrik Bengtsson
I agree with others that this suggests there is a hidden bug in the code. In addition to running with Valgrind, R-hub's > rhub::check(platform="linux-x86_64-rocker-gcc-san") will compile the native code with the Address Sanitizer (ASan) and the UndefinedBehaviorSanitizer (UBSan). Those have

[R] machine learning to define contours in R

2021-10-22 Thread Luigi Marongiu
Hello, I have run some support vector machine analysis. If I draw a grid of 10*10 points in a space, the model I built will assign the points to a given group. Lets' say: ``` results1 = data.frame(row_1 = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0), row_2 = c(0, 0, 0, 1, 0,

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Bill Dunlap
I agree with Stefan. Try using valgrind (on Linux) to check for memory misuse: R --debugger=valgrind --debugger-args="--leak-check=full --track-origins=yes" ... > yourTests() > q("no") -Bill On Fri, Oct 22, 2021 at 7:30 AM Stefan Evert wrote: > Just to add my personal cent to this: I've

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Stefan Evert
Just to add my personal cent to this: I've had similar issues with an R package some time ago, which kept crashing somewhat unpredictably in the Solaris tests. Debugging was hard because it only happened on Solaris, but in the end it turned out to be due to serious bugs in the code that only

Re: [R] Wild cards for dataframes

2021-10-22 Thread Bert Gunter
A terse but useful resource is to use R's Help docs: ?regex. It also gives the R regex syntax, which can of course differ from others, especially in regard to escapes. Do note that the rseek.org site is a better place to ask for such info than here. Or just searching on "regular expressions R".

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Marc Schwartz via R-help
Hi, Just to add some additional comments that may be helpful. 1. The CRAN repository policy here: https://cran.r-project.org/web/packages/policies.html notes: "Package authors should make all reasonable efforts to provide cross-platform portable code. Packages will not normally be

Re: [R] Wild cards for dataframes

2021-10-22 Thread Grzegorz Smoliński
Well, Wikipedia is probably the place where people who know some topic can check if people who wrote the article did it right :) You can try this short subchapter in R for Data Science (by Hadley Wickham) as a starting point:

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Eric Berger
Hi Lampros, I cannot answer your question but I believe the correct place to post such a question would be the r-package-devel list https://stat.ethz.ch/mailman/listinfo/r-package-devel Good luck On Fri, Oct 22, 2021 at 2:13 PM lampros mouselimis wrote: > > Dear R-help team, > > I'm the

Re: [R] Wild cards for dataframes

2021-10-22 Thread Eric Berger
You can check out Wikipedia for regular expressions: https://en.wikipedia.org/wiki/Regular_expression On Fri, Oct 22, 2021 at 3:48 PM Steven Yen wrote: > Thanks, it works! > > What can I read to understand more about this part "\\..*$" of the > pattern? And more such as ^ and $ that I know

Re: [R] Wild cards for dataframes

2021-10-22 Thread Steven Yen
Thanks, it works! What can I read to understand more about this part "\\..*$" of the pattern? And more such as ^ and $ that I know from experience? On 2021/10/22 下午 06:22, Rui Barradas wrote: Hello, Use ls() with argument pattern. It accepts a regex and returns a vector of objects names

[R] [R-pkgs] monobin: new version 0.2.0

2021-10-22 Thread Andrija Djurovic
Dear R users, the new version of monobin package is now on CRAN. Additional binning algorithm is implemented - monotonic binning driven by decision tree (mdt.bin). For details and examples, install the new version of the monobin (install.packages("monobin")) and check the help page of the

[R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread lampros mouselimis
Dear R-help team, I'm the maintainer of the textTinyR package. Currently the package fails on the Solaris Operating System (OS), you can see the results in the following weblink: https://cran.r-project.org/web/checks/check_results_textTinyR.html All my packages are tested on Solaris OS

Re: [R] Wild cards for dataframes

2021-10-22 Thread Rui Barradas
Hello, Use ls() with argument pattern. It accepts a regex and returns a vector of objects names matching the pattern. rm(list = ls(pattern = "data\\..*$")) Hope this helps, Rui Barradas Às 10:20 de 22/10/21, Steven Yen escreveu: I like to be able to use a command with something similar

[R] Wild cards for dataframes

2021-10-22 Thread Steven Yen
I like to be able to use a command with something similar to a "wild card". Below, lines 4 works to delete all three dataframes, but line 5 does not work. Any elegant way to accomplish this? My list of dataframes can be long and so this would be convenient.

Re: [R-es] Error al cargar paquetes después de reinstalar R y Rstudio (Urgente)

2021-10-22 Thread Manuel Mendoza
Gracias Carlos, estaba a punto de escribirte para decirte que todo parece resuelto. Al reiniciar el ordenador, Microsoft me ha preguntado si quería recomponer Onedrive, o algo así. Ha hecho no sé qué en 14 pasos, y todo parece estar ya normal. ¡Me he agobiado un montón! Gracias de nuevo, Manuel

Re: [R-es] Error al cargar paquetes después de reinstalar R y Rstudio (Urgente)

2021-10-22 Thread Emilio L. Cano
Manuel, Yo cuando actualizo me gusta empezar de cero, en vez de “como estaba ayer tarde”. No obstante hay formas de hacerlo, básicamente copiar todos los directorios de paquetes de la versión anterior en la carpeta de paquetes de la versión nueva, y hacer un update.packages con el argumento

Re: [R] Split plot panel into rows with different columns

2021-10-22 Thread Luigi Marongiu
Yes, you are right, it works fine when plotting on file. Thank you! On Thu, Oct 21, 2021 at 11:42 PM Bert Gunter wrote: > > The syntax is correct; the default margins are too large for your device. > > For example, using your split screen specs on the RStudioGD > > > split.screen(c(3, 1))

Re: [R-es] Error al cargar paquetes después de reinstalar R y Rstudio (Urgente)

2021-10-22 Thread Marcelino de la Cruz Rot
Hola: Vas a tener que ir actualizando todos los paquetes para los que te de error al cargar, es decir: install.packages("rlang", dependencies =TRUE) Suerte! Marcelino El 22/10/2021 a las 7:49, Manuel Mendoza escribió: Buenos días, después de reinstalar R y Rstudio me da este error: Error: