Nimble compiler tools lighter weight than rtools

22 views
Skip to first unread message

Sarah Endicott

unread,
May 27, 2025, 10:00:18 AM5/27/25
to nimble-users
Is there a way to install just the compiler and other tools that are needed to use the nimble r package? The installation instructions say to use Rtools which makes sense most of the time. In this case I am trying to create a self-contained local version of a Shiny app that uses nimble. I do this by putting a portable version of R in the folder that runs the app. (See here if you are interested). For this to work with an app that uses nimble I need to include RTools in that folder. This works but Rtools is huge and takes forever to unzip and transfer the files. 

Is there a smaller set of tools that could accomplish what nimble needs?

Thanks!

Perry de Valpine

unread,
May 27, 2025, 10:28:27 AM5/27/25
to Sarah Endicott, nimble-users
Hi Sarah,
That's a good question and I wish I knew more to give you a good answer. nimble does C++ compilation by issuing a system call to "R CMD SHLIB". Whatever that needs (at least a C++ compiler, possibly make or other components to a full tool chain) is what nimble needs. I'm not sure of your Shiny deployment needs. When you install Rtools, do you get options to customize what is installed? I found an R blog article on the general topic of Windows Rtools alternatives, although it looks written towards an expert audience. 
Does anyone else on the list have knowledge of Rtools components or alternative setups?
Perry


--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/nimble-users/5957b1ad-af1c-45ac-8151-bb32ad3cd376n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages