problems in installing bs package

#1

EACH TIME I TRY TO INSTALL bs package I get the following error message . can someone offer assistance on how to get through successfully.
thanks,
student
library(bs)
Error: package ‘bs’ was built before R 3.0.0: please re-install it

library("bs", lib.loc="~/R/win-library/3.4")
Error: package ‘bs’ was built before R 3.0.0: please re-install it
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL

0 Likes

#2

Did you try running the following command?

install.packages("bs")
0 Likes

#3

It looks like the bs package was removed from CRAN, so I don't think that will work either.
https://cran.r-project.org/package=bs

The archived version is from 2007, and (as the error states) was built before R 3.0.0 (it looks like the releases in 2007 were 2.5.0 and 2.6.0 https://stat.ethz.ch/pipermail/r-announce/2007/date.html#end).

https://cran.r-project.org/src/contrib/Archive/bs/

0 Likes

#4

I did . Its an archived package . each time it requests for namespace no matter the installation path followed. In fact I have the zipped targaz package in a folder but it wont run.

0 Likes

#5

This isn't terribly surprising, given what I mentioned in my comment above. If you're looking for functionality around the Birnbaum-Saunders distribution, you might consider a different package's implementation:
https://rdrr.io/search?q="Birnbaum+Saunders"


2 Likes

#6

Thanks . I think things are going to work out now.

0 Likes

#7

the remedy was installing an older version of r program. it worked smoothly. thanks

1 Like

closed #8

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.

0 Likes