Can't open help page R studio with hit tab when start writing the name of a function + F1
0
0
Entering edit mode
7.8 years ago
salamandra ▴ 550

Most of the times, when I try to open a help page in R studio, by hitting tab when start writing the name of a function and then do F1, the page doesn't open and throws the error: "There is no package...", although that package is installed and I load it with library("package"). For example, to open the help page for "resize()", after calling library(IRanges), it throws the error:

Error in find.package(if (is.null(package)) loadedNamespaces() else package,  : 
  there is no package called 'package:GenomicRanges'

Then I write:

library(GenomicRanges)

I try again and then new error shows up:

Error in find.package(if (is.null(package)) loadedNamespaces() else package,  : 
  there is no package called 'package:GenomicRanges'

Is it possible to solve this error?

R RStudio • 1.8k views
ADD COMMENT
2
Entering edit mode

I use R and not Rstudio, so I don't know if in Rstudio things are different. Did you try with:

  • help(packagename)
  • ?packagename

?

ADD REPLY
0
Entering edit mode

You are doing something weird. Anyway, follow the advice of @Macspider. That's the most easy way to get help (and you needn't load the library for help)

ADD REPLY

Login before adding your answer.

Traffic: 3597 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6