[Rd] Access R Help Content From R

Georgi Boshnakov georgi.boshnakov at manchester.ac.uk
Thu Jan 13 13:51:33 CET 2011


I have a small package with some functions for this, it can be downloaded from 

     http://www.maths.manchester.ac.uk/~gb/Rpackages/index.html

There is a nice package (fgui) which provides an easy way to make gui-style functions (using tcl//tk).
It seems that it has not been updated for the new help system, though.
(I am using a modified version of fgui locally but was not able to contact the author).

Georgi

--
Dr Georgi Boshnakov               tel: (+44) (0)161 306 3684
School of Mathematics             fax: (+44) (0)161 306 3669
Alan Turing Building 1.125
The University of Manchester      email: Georgi.Boshnakov at manchester.ac.uk
Oxford Road
Manchester M13 9PL
UK


________________________________________

Message: 4
Date: Wed, 12 Jan 2011 11:23:58 -0600
From: "Roebuck,Paul L" <proebuck at mdanderson.org>
To: R Develop Mailing List <r-devel at r-project.org>
Subject: [Rd] Access R Help Content From R
Message-ID: <C9533FCE.124B9%proebuck at mdanderson.org>
Content-Type: text/plain; charset="us-ascii"

Have UI that simplifies running code from another (internal) package,
allowing user to set values on fields I basically grabbed from results
of calls to formals() for various functions. That works fine for the
most part. But it was requested to investigate some type of popup help
or something for each field.

Since I already wrote the information in the dot-Rd files for what
should be displayed, was wondering if (how) that information could
be accessed. For example, given formal argument 'x' to function 'foo',
I would like to grab the text associated with \item{x} in \arguments{}
section of manual page, preferably without scraping.



------------------------------

Message: 5
Date: Wed, 12 Jan 2011 13:08:13 -0800 (PST)
From: carol white <wht_crl at yahoo.com>
To: r-devel at r-project.org
Subject: [Rd] problem reported in 00check.log-package not found
Message-ID: <939864.75045.qm at web62005.mail.re1.yahoo.com>
Content-Type: text/plain; charset=utf-8

I set

setenv R_LIBS path_to_local_Rpackages

still I get the error message that a package not found

Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc) :
  there is no package called 'prodlim'
Error : package 'prodlim' could not be loaded
ERROR: lazy loading failed for package ?prodlim?

What can be done?

Carol






------------------------------

Message: 6
Date: Thu, 13 Jan 2011 00:19:12 -0800 (PST)
From: carol white <wht_crl at yahoo.com>
To: r-devel at r-project.org
Subject: [Rd] Fw:  problem reported in 00check.log-package not
        found-cont.
Message-ID: <357426.88255.qm at web62004.mail.re1.yahoo.com>
Content-Type: text/plain; charset=utf-8

Sorry, forgot to specified that I get this message error when running

R CMD check my_pkg_name



----- Forwarded Message ----
From: carol white <wht_crl at yahoo.com>
To: r-devel at r-project.org
Sent: Wed, January 12, 2011 10:08:13 PM
Subject: [Rd] problem reported in 00check.log-package not found

I set

setenv R_LIBS path_to_local_Rpackages

still I get the error message that a package not found

Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc) :
  there is no package called 'prodlim'
Error : package 'prodlim' could not be loaded
ERROR: lazy loading failed for package ?prodlim?

What can be done?

Carol




______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel







------------------------------

Message: 7
Date: Thu, 13 Jan 2011 10:24:47 +0000 (GMT)
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
To: carol white <wht_crl at yahoo.com>
Cc: r-devel at r-project.org
Subject: Re: [Rd] Fw: problem reported in 00check.log-package not
        found-cont.
Message-ID:
        <alpine.LFD.2.00.1101131020050.19028 at gannet.stats.ox.ac.uk>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

We simply don't have a reproducible example, nor the 'at a minimum'
information required by the posting guide.

Is prodlim installed?

Is it in the library tree you set as R_LIBS?

Note the following from 'Writing R Extensions':

   Note: R CMD check and R CMD build run R with --vanilla, so none of the
   user's startup files are read. If you need R_LIBS set (to find
   packages in a non-standard library) you can set it in the environment:
   also as from R 2.12.0 you can use files ~/.R/check.Renviron and
   ~/.R/build.Renviron to set environment variables when using these
   utilities.

and we've seen non-reproucible reports that use of ~/.R/check.Renviron
(rather than setting R_LIBS in the environment) was needed.  So please
try that.

On Thu, 13 Jan 2011, carol white wrote:

> Sorry, forgot to specified that I get this message error when running
>
> R CMD check my_pkg_name
>
>
>
> ----- Forwarded Message ----
> From: carol white <wht_crl at yahoo.com>
> To: r-devel at r-project.org
> Sent: Wed, January 12, 2011 10:08:13 PM
> Subject: [Rd] problem reported in 00check.log-package not found
>
> I set
>
> setenv R_LIBS path_to_local_Rpackages
>
> still I get the error message that a package not found
>
> Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
> lib.loc) :
>  there is no package called 'prodlim'
> Error : package 'prodlim' could not be loaded
> ERROR: lazy loading failed for package ?prodlim?
>
> What can be done?
>
> Carol
>
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

------------------------------

_______________________________________________
R-devel at r-project.org mailing list  DIGESTED
https://stat.ethz.ch/mailman/listinfo/r-devel


End of R-devel Digest, Vol 95, Issue 11
***************************************



More information about the R-devel mailing list