install.packages("devtools") error
I want to use 3D structure viewing in R for this reason I want to try install this packeage.but I am getting error
install.packages("devtools")
# Install the bio3d.view package from bitbucket
devtools::install_bitbucket("Grantlab/bio3d-view")
To use in your R session: # Load the package
library("bio3d.view")
# view the 3D structure
view(pdb, "overview", col="sse")
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/
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/devtools_2.4.5.zip'
Content type 'application/zip' length 428979 bytes (418 KB)
downloaded 418 KB
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\imren\AppData\Local\Temp\RtmpWkOZSJ\downloaded_packages
devtools::install_bitbucket("Grantlab/bio3d-view")
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 4.2 from https://cran.r-project.org/bin/windows/Rtools/ or https://www.r-project.org/nosvn/winutf8/ucrt3/.
Skipping install of 'bio3d.view' from a bitbucket remote, the SHA1 (dd153987) has not changed since last install.
Use force = TRUE
to force installation
library("bio3d.view")
view(pdb, "overview", col="sse")
Error in UseMethod("view") :
no applicable method for 'view' applied to an object of class "c('pdb', 'sse')"
You didn’t install the packages successfully. See the WARNING messages. You need to install Rtools from https://cran.rstudio.com/bin/windows/Rtools/ and then repeat the entire process.