I have tried to install BiocManager to ubuntu 18.04. When I run the command in bash terminal:
install.packages('BiocManager')
I got an error saying:
** testing if installed package can be loaded
Error : .onAttach failed in attachNamespace() for 'BiocManager', details:
call: .version_map_get_online_config(config)
error: could not find function "startsWith"
Error: loading failed
When I do the same thing on Rstudio, no error happened to me, and I am not sure what is the difference. I need to do this because I got another error on Rstudio recommending to run the code on bash terminal.
Please kindly give me advice to fix this error. Thank you.
What version of R are you using
?
startsWith()
is a function in base R, so will always be available. It was introduced in 2016 (R version 3.3, I think).R 3.6. And I figured out how to solve this. I will update this slot later. Thanks a lot