Question: Can't open help page R studio with hit tab when start writing the name of a function + F1
0
gravatar for salamandra
2.0 years ago by
salamandra200
salamandra200 wrote:

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?

rstudio R • 706 views
ADD COMMENTlink modified 2.0 years ago by zx87547.1k • written 2.0 years ago by salamandra200
2

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 REPLYlink written 2.0 years ago by Macspider2.8k

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 REPLYlink written 2.0 years ago by Santosh Anand4.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 832 users visited in the last hour