brodriguesco,
@brodriguesco@fosstodon.org avatar

What are some #Rstats packages that take forever to compile?

zsmith27,

@brodriguesco stringi

kupac,
@kupac@functional.cafe avatar
brodriguesco,
@brodriguesco@fosstodon.org avatar

@kupac nice, wasn’t aware this was a thing. Added a bunch of packages to the cache!

MikeMahoney218,
@MikeMahoney218@fosstodon.org avatar

@brodriguesco I think s2 takes a while, if memory serves

almenal99,
@almenal99@fosstodon.org avatar

@brodriguesco igraph took 7 minutes yesterday 😬

stevensanderson,
@stevensanderson@mstdn.social avatar

@brodriguesco duckdb

cedricr,
@cedricr@mapstodon.space avatar

@stevensanderson @brodriguesco indeed ! 15’ for me 😅

stevensanderson,
@stevensanderson@mstdn.social avatar

@cedricr @brodriguesco yeah I just go get coffee when i update it but im ok with it because it more then makes up for it in its use

cedricr,
@cedricr@mapstodon.space avatar

@stevensanderson @brodriguesco just discovered that adding Sys.setenv(MAKEFLAGS = sprintf("-j%d", parallel::detectCores() - 2)) to my .Rprofile make that 15’ become only 112s 🤯
Granted that’s on a 32 cores box, but still…

I did had options(Ncpus = parallel::detectCores() - 2), but that just makes packages install in //, that doesn’t make make build in //. The doc is not so clear on that IMO (the ref. to make -k made me believe it did actually use make -khttps://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/install.packages)

cedricr,
@cedricr@mapstodon.space avatar

@stevensanderson @brodriguesco so that was a build in less than 2', but with all CPUs maxing at 100%, quite impressive !

stevensanderson,
@stevensanderson@mstdn.social avatar

@cedricr @brodriguesco nice! I have a 16 core laptop I’ll have to try this and see the difference

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines