I have trouble with drc that previously worked. Please see code i installed in R , it is not recognizing drm or drc.

I have trouble with drc that previously worked. Please see code i installed in R , it is not recognizing drm or drc.

library(drc)
Error: package or namespace load failed for ‘drc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘car’
data<-read.csv("Loss.csv")
head(data)
Dens Loss
1 0.0000 0.00000
2 0.0000 0.00000
3 0.0000 0.00000
4 12.5000 22.04724
5 15.2778 17.32283
6 9.7222 21.84211
acidiq.free <- drm(Dens~ Loss,data =data, fct = LL.4())
Error in drm(Dens ~ Loss, data = data, fct = LL.4()) :
could not find function "drm"
acidiq.free <- drmc(Dens~ Loss,data =data, fct = LL.4())
Error in drmc(Dens ~ Loss, data = data, fct = LL.4()) :
could not find function "drmc"
acidiq.free <- drc(Dens~ Loss,data =data, fct = LL.4())
Error in drc(Dens ~ Loss, data = data, fct = LL.4()) :
could not find function "drc"

You are missing this package dependency, try installing it

install.packages("car")

Thank You very much.
It says car is not available even with an old version of r.
install.packages("car")
Warning in install.packages("car") :
'lib = "C:/Program Files/R/R-3.0.3/library"' is not writable
Warning: unable to access index for repository https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/3.0
Warning message:
package ‘car’ is not available (for R version 3.0.3)

car requieres R version >= 3.5.0 you are using a very old version of R you should update it to avoid this kind of problems.

Sincere Thanks Andres. It is resolved.

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