Thanks for the reply.The problem, Rstudio is telling me you are using the latest version of which my current version is 3.6.1,but then it also tells me package sp was built in the r version 3.6.2. .I am trying to build an application so if l run the code no output is displayed.I am on windows.