There is no package called ‘TSP’

Hello everyone,
I have a little problem with my Rstudio. I'm trying to install a package called "corrgram". It was installed very well. But, when I require the package appears a message called: "Error: package or namespace load failed for ‘corrgram’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘TSP’"
So, I installed the package called "TSP", but now when I require the package "TSP" appear a message like that: "In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘TSP’"

Someone help me, please.

Thanks.

Perhaps try reinstalling TSP

install.packages("TSP", dependencies = TRUE)
1 Like

First, thanks for your answer.

I try again reinstalling the TSP, but occurred the same problem.

There's another way? Reinstalling the Rstudio, maybe?

Att,

Does it work for you in the regular R GUI, but not when you're in RStudio?

For disambiguation/a good explanation of the relationship between R and RStudio (an IDE that exists on top of R), check out this chapter of Modern Dive:
http://moderndive.com/2-getting-started.html

2 Likes

Well, I required this package "corrgram" in the regular R GUI, but occurred the same problem "there is no package called ‘TSP’"

When I try to install the package TSP in the regular R GUI, occurred this massage:

"Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5/PACKAGES'
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘TSP’
These will not be installed"

I don't really know what I have to do.

Why do you have R with 3.5 version? It is in beta right now, so it is better to stick with 3.4.4 for now. Also, you can try different mirror. Right now you are installing from stats.ox.ac.uk, but you can try changing that.

2 Likes

Good point(s). Among other things, based on what I can see, there isn't actually a /3.5 subdir there:
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/

1 Like

I remove the R 3.5 and installed the version 3.4.4. I did every previous process and it worked.

Mara and Misha, I appreciate your support. Thanks a lot.

Best regards,

2 Likes