Hello all.
I am trying to install XML package for this is a dependency of another package that I want to load. These jobs are all done on R version 3.0.2.
I've tried install.packages.
install.packages('XML')
Warning in install.packages :
unable to access index for repository http://cran.mtu.edu/bin/windows/contrib/3.0
Error in readRDS(file) :
cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer
Installing package into βC:/Users/okna0/Documents/R/win-library/3.0β
(as βlibβ is unspecified)
Warning in install.packages :
unable to access index for repository http://cran.mtu.edu/bin/windows/contrib/3.0
package βXMLβ is available as a source package but not as a binary
Warning in install.packages :
package βXMLβ is not available (for R version 3.0.2)
Error in readRDS(file) :
cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer
Error in readRDS(file) :
cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer
Error in readRDS(pfile) :
cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer
It says that it cannot access the repository. I unchecked the R setting secure http, disabled firewall, and stopped anti-virus program but still the warning message come the same.
I also tried source file installation
install.packages("C:/Users/okna0/Desktop/no_replicate_fix_new/XML_3.99-0.3.tar.gz", repos = NULL, type = "source")
& r-devel binary file insallation
install.packages("C:/Users/okna0/Desktop/no_replicate_fix_new/XML_3.99-0.3.zip", repos = NULL, type = "win.binary")
These make same error.
Error in readRDS(pfile) :
cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer
I need to have this XML package installed as soon as possible. Please kindly help me out.