I don't know if anyone else had similiar issue but I'm trying to install packages on R Studio Mac OS and I get the message that rpanel is missing. When I try to install rpanel I get this message Warning message:
install.packages("rpanel")
installing the source package ‘rpanel’
installing source package ‘rpanel’ ...
** package ‘rpanel’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.
Error: unable to load R code in package ‘rpanel’
Execution halted
ERROR: lazy loading failed for package ‘rpanel’
removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rpanel’
Warning in install.packages :
installation of package ‘rpanel’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/8n/zyhqk_0d30bdk5bdhcg2qs2c0000gn/T/RtmpG0n36f/downloaded_packages’
I installed BWidget but it still shows sth like the above. If anyone have any solution please share and thanks!
I just tried and got the same result with this message
** byte-compile and prepare package for lazy loading
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.
The question that this poses is which package for what program is being referred to. Andrew Cassidy may have an answer from) back in 2014.
It involves downloading and installing the BWidget program, and then the install with either work or come back with the next obstacle!
Related info:
On macOS, packages sometimes fail to install, often with a non-zero exit status message. This is due to Apple's idiosyncratic compiler. The same packages will install on most Linux systems without trouble. Saint Simon Urbanek of the R Core Development Team takes on the brain damage required to recode the source to get around macOS's peculiar worldview for those in CRAN, but he can't bestow the same mercy on those still in development.
Some packages will successfully install through compilation from source, but many won't.
When installing if you are offered the option to install from source, it makes sense to try it once. But, if at first it doesn't succeed, in all likelihood it never will. It's usually only 7-10 days until a macOS binary is available
So you are not using RStudio Cloud, it would be better if you take this out of your post since it could be confusing for people trying to help you, RStudio Cloud runs on Linux servers, not MacOS
I haven't used the BWidge installer. It doesn't need to, and probably shouldn't, go in R.framework, because it is likely to be wiped out when upgrading R versions. Look in recent files to find where it wound up. As long as that is in your $PATH, you should be good