This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Can't open help page R studio with hit tab when start writing the name of a function + F1

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

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

  • help(packagename)
  • ?packagename

?

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)

0 answers

No answers yet.

Log in to answer this question.