Re: [R] Is there a sexy way ...?

2024-09-28 Thread Richard O'Keefe
I for one am grateful to have been reminded of the existence of split and especially unsplit. On Sun, 29 Sept 2024 at 15:48, wrote: > > Admit it, Rolf. Haven't you wondered if S, in a more private way, is sexier > than R? > > OK, kidding aside, we have talked this to death. > > Just FYI, the con

Re: [R] Is there a sexy way ...?

2024-09-28 Thread avi.e.gross
Admit it, Rolf. Haven't you wondered if S, in a more private way, is sexier than R? OK, kidding aside, we have talked this to death. Just FYI, the conversation was stimulating for some of us and I have continued on my own and located functions I see as useful in the stringi and stringr package

Re: [R] Is there a sexy way ...?

2024-09-28 Thread Rolf Turner
On Sat, 28 Sep 2024 10:26:31 +0100 CALUM POLWART wrote: > Avi > > I fear this was all a huge social experiment. > > Testing if a post titled "sexy way" would increase engagement... I conjecture that this conjecture was tongue-in-cheek. Be that as it were 😊️, let me assure everyone that s

Re: [R] when installing packages for R on Linux, is it better to use my distro's package manager, or install.packages()?

2024-09-28 Thread Jeff Newmiller via R-help
I always use a user library on all platforms. The renv package takes this to the next level and lets you setup per-project libraries. To be reproducible a data analysis needs to use the same user packages, and even different versions of R can give different results. It should be up to the anal

Re: [R] when installing packages for R on Linux, is it better to use my distro's package manager, or install.packages()?

2024-09-28 Thread Ben Bolker
Use Dirk Eddelbuettel's r2u repo with bspm package On Sat, Sep 28, 2024, 6:15 PM Stephen H. Dawson, DSL via R-help < r-help@r-project.org> wrote: > Distribution package manger, always. > > *Stephen Dawson, DSL* > /Executive Strategy Consultant/ > Business & Technology > +1 (865) 804-3454 > http:/

Re: [R] when installing packages for R on Linux, is it better to use my distro's package manager, or install.packages()?

2024-09-28 Thread Stephen H. Dawson, DSL via R-help
Distribution package manger, always. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 9/28/24 18:05, Christopher W. Ryan wrote: I'm running R (currently 4.4.1) on Linux Mint sessionInfo() R version 4.4.1 (2024-06-14) Pl

[R] when installing packages for R on Linux, is it better to use my distro's package manager, or install.packages()?

2024-09-28 Thread Christopher W. Ryan
I'm running R (currently 4.4.1) on Linux Mint > sessionInfo() R version 4.4.1 (2024-06-14) Platform: x86_64-pc-linux-gnu Running under: Linux Mint 20.3 ...truncated... To install a new R package, is it better to use Linux Mint's pacakge manager (e.g. synaptic, apt-get, or similar), or to install

Re: [R] Is there a sexy way ...?

2024-09-28 Thread avi.e.gross
John, I thought some more about the topic overnight. Of course, "sexy" is not a great analogy. But consider a concept of how to do something cleverly or creatively or in ways others might not easily come up with as the standard way(s) are commonly used. I threw something together in middle of th

Re: [R] Is there a sexy way ...? Fortune nomination

2024-09-28 Thread Achim Zeileis via R-help
On Sat, 28 Sep 2024, J C Nash wrote: On 2024-09-28 13:57, avi.e.gr...@gmail.com wrote: Python users often ask if a solution is “pythonic”. But I am not aware of R users having any special name like “R-thritic” and that may be a good thing. Nice, added on R-Forge :-) Achim __

Re: [R] Is there a sexy way ...? Fortune nomination

2024-09-28 Thread J C Nash
On 2024-09-28 13:57, avi.e.gr...@gmail.com wrote: Python users often ask if a solution is “pythonic”. But I am not aware of R users having any special name like “R-thritic” and that may be a good thing. __ R-help@r-project.org mailing list -- To UN

Re: [R] Is there a sexy way ...?

2024-09-28 Thread avi.e.gross
Calum, I know Rolf for a while so I will not accept any calumny about his intentions. He stated what he wanted, albeit imperfectly, and interacted with us as we came up with ideas. I have seen others who ask some open-ended question, often using a brand new idea, and do not interact. Som

[R] lattice xyplot with cumsum() function inside

2024-09-28 Thread Naresh Gurbuxani
This code gives unexpected result. library(data.table) library(lattice) set.seed(123) mydt <- data.table(date = seq.Date(as.IDate("2024-01-01"), by = 1, length.out = 50), xgroup = "A", x = runif(50, 0, 1)) mydt <- rbindlist(list(mydt, data.table(date = mydt$date, xgroup = "B", x = runif(50, 0,

Re: [R] Is there a sexy way ...?

2024-09-28 Thread CALUM POLWART
Avi I fear this was all a huge social experiment. Testing if a post titled "sexy way" would increase engagement... On Sat, 28 Sep 2024, 07:21 , wrote: > I see a book coming: > "666 ways to do the same thing in R ranked by sexiness." > > Kidding aside, if you look under the covers of so