Skip to content

Rtools required

1 message · Steven Yen

#
Thank you all. In sum, installing packages from RStudio 1.2.5042 without 
Rtools present, I received warnings saying RTools required but 
installation nevertheless was successful.

Installing from R-4.0.0 directly, I have no problem.

This is obviously an RStudio problem but unfortunately they are not 
willing to help free version users. I feel so sorry having to post it here.

===

1. IN RStudio I reun the following to install from CRAC and from local a 
file, respectively:

Tools -> Install Packages -> (Choose Repository CRAN from pull-down menu)

Tools -> Install Packages -> (Packages, Archice, Files (.zip; .tar.gz) 
from pull-down menu)

In both cases, I received warning messages saying Rtools is required... 
but nevertheless the installation is successful.

2. Installing from R-4.0.0 directly, installation were successful 
without warning.

---

Install log listed below.

 > install.packages("A:/R/yenlib1_1.1.0.zip", repos = NULL, type = 
"win.binary")
WARNING: Rtools is required to build R packages but is not currently 
installed. Please download and install the appropriate version of Rtools 
before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
package ?yenlib1? successfully unpacked and MD5 sums checked

 > install.packages("aod")
WARNING: Rtools is required to build R packages but is not currently 
installed. Please download and install the appropriate version of Rtools 
before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
?? URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/aod_1.3.1.zip'
Content type 'application/zip' length 382219 bytes (373 KB)
downloaded 373 KB

package ?aod? successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\USER\AppData\Local\Temp\Rtmpsf04GM\downloaded_packages


<><><> Install from R4.0.0 directly: Worked fine <><>

Packages -> Install Packages
(Worked fine after selecting a Mirror)

 > utils:::menuInstallPkgs()
--- Please select a CRAN mirror for use in this session ---
?? URL 
'https://mirror.las.iastate.edu/CRAN/bin/windows/contrib/4.0/aod_1.3.1.zip'
Content type 'application/zip' length 382219 bytes (373 KB)
downloaded 373 KB

package ?aod? successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\USER\AppData\Local\Temp\RtmpauyB5Q\downloaded_packages

Packages -> Install Packages from local file

 > utils:::menuInstallLocal()
package ?yenlib1? successfully unpacked and MD5 sums checked
 >
On 2020/4/30 ?? 04:38, Jeroen Ooms wrote: