devtools package

install.packages("devtools")
Error in install.packages : Updating loaded packages
IAM UNABLE TO INSTALL DEVTOOLS

can you please clarify how to solve this issue, to be able to install devtools

Can you show the full output, and also the output of sessioInfo()?

Error in install.packages : Updating loaded packages

this is the message it shows as and when I ask for install package

Sorry, I meant the full command that you type and the full output you get. E.g. for me it is like this:

❯ install.packages("devtools")
Installing package into ‘/Users/gaborcsardi/Library/R/arm64/4.4/library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/macosx/big-sur-arm64/contrib/4.4/devtools_2.4.5.tgz'
Content type 'application/x-gzip' length 434637 bytes (424 KB)
==================================================
downloaded 424 KB


The downloaded binary packages are in
	/var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T//RtmpPppi7t/downloaded_packages

❯

Also, please don't forget the output of sessionInfo().

Thanks for the response this is how i have posted the command

install.packages("devtools")
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/
Installing package into ‘C:/Users/vaidehi/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/devtools_2.4.5.zip'
Content type 'application/zip' length 436380 bytes (426 KB)
downloaded 426 KB

package ‘devtools’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\vaidehi\AppData\Local\Temp\Rtmp88ljaA\downloaded_packages

library(devtools)
Loading required package: usethis
Warning messages:
1: package ‘devtools’ was built under R version 4.2.3
2: package ‘usethis’ was built under R version 4.2.3

There is no error here, you installed devtools successfully.

THANKS FOR THE RESPONSE

This should help me to
install-github("vqv/RQDA) it is not installing.
I thought may be devtools is not installed properly so i could install RQDA

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.