s-news
[Top] [All Lists]

yaaq: yet another apply question

To: "s-news" <s-news@lists.biostat.wustl.edu>
Subject: yaaq: yet another apply question
From: "Thompson, David (MNR)" <david.thompson@mnr.gov.on.ca>
Date: Fri, 28 Jul 2006 12:21:26 -0400
Thread-index: AcayYeByMq1HJcsOSied8eylSF35sw==
Thread-topic: yaaq: yet another apply question
Hi,

I am trying to generate a listing of all functions available with:

xxx <- c('splus', 'stat', 'data', 'trellis', 'nlme3', 'menu', 'sgui',
'main', 'Design', 'Hmisc', 'chron', 'class', 'example5', 'examples',
'maps', 'MASS', 'missing', 'nlme2', 'nnet', 'robust', 'spatial',
'winjava', 'winspj')
lapply(xxx, function(x) library(help = x) )

Problem in library(help = x): No section "x" in the library directory:
D:/APPS/STATS/splus70\library

Apparently, I still do not understand the workings of the apply family.
Suggestions, please?

DaveT.
*********************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
Sault Ste. Marie, Ontario, Canada
david.thompson@mnr.gov.on.ca
*********************************

<Prev in Thread] Current Thread [Next in Thread>