Entering edit mode
4.5 years ago
cromero
•
0
Hi all,
I have a problem with versions in R console:
My R version is: 3.5.2 The problem is with the 'survival' package, the version i have installed now is 3.1-12 and when i try to run the package, is saying :
library(survival) Warning message: package ‘survival’ was built under R version 3.5.3
I also tried to downgrade to the version 2.44 or 2.41 and the result is the same.
I hope you can help me to identify with version i have to install or why is showing to me that error.
There is any place a RACI with the pacage version depending on the R version you have?
thanks
Use
conda
and create a new environment with the desired version of the package you need.I suspect R is picking up first a survival version you can not update (probably system-wide R library folder), and when you install / upgrade / downgrade, it doesn't make any difference because the system-wide folder has precedence over your personal library folder.
What is the output of:
here the result of both commands:
sessionInfo()
.libPaths()
You can try to set a new library PATH with
.libPaths( ""C:/Users/hidden/Documents/R/win-library/3.5" )
, or calllibrary()
with thelib.loc =
parameter. See?.libPaths
and?library
for more information.If this doesn't solve your problem, consider using conda, as RamRS suggested.
Hi ,
My Library by default should be "D:/tibco/R-3.5.2/library" is the place I have all the packages. There is any way to still using this library and solve the issue?
Sorry but, I'm not an expert with R or Conda, could you help me about what you mean with create a new environment with the desired package release?
Thanks