Windows XP
R 2.7.2
I would like to create a list of varying length (length n) suitable for use as dimnames for a matrix whose size will vary, i.e.
SS1 SS2 SS3 . . . SSn
Ansy suggestions for accomplishing this would be appreciated.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence
University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
jsorkin at grecc.umaryland.edu
Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}}
List of varying length suitable for use as dimnames
7 messages · John Sorkin, jim holtman, rkevinburton at charter.net +2 more
It is easy enough to create the list, the real question is what do you want in it ( provide commented, minimal, self-contained, reproducible code). Here is the list:
x <- vector('list', 10)
names(x) <- paste("SS", 1:10, sep='')
x
$SS1 NULL $SS2 NULL $SS3 NULL $SS4 NULL $SS5 NULL $SS6 NULL $SS7 NULL $SS8 NULL $SS9 NULL $SS10 NULL
On Sat, Sep 27, 2008 at 1:52 PM, John Sorkin
<jsorkin at grecc.umaryland.edu> wrote:
Windows XP
R 2.7.2
I would like to create a list of varying length (length n) suitable for use as dimnames for a matrix whose size will vary, i.e.
SS1 SS2 SS3 . . . SSn
Ansy suggestions for accomplishing this would be appreciated.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence
University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
jsorkin at grecc.umaryland.edu
Confidentiality Statement:
This email message, including any attachments, is for ...{{dropped:18}}
I am trying to get package 'dse' and it seems to download OK:
Content type 'application/zip' length 1413606 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
bundle 'dse' successfully unpacked and MD5 sums checked
The downloaded packages are in
. . . \downloaded_packages
updating HTML package descriptions
But when I try to use it I get:
help(package="dse")
Error in .find.package(pkgName, lib.loc, verbose = verbose) : there is no package called 'dse'
library(dse)
Error in library(dse) : there is no package called 'dse' What is it that I am doing wrong? Thank you. Kevin
Sorry, this should have the rigth subject now.
---- rkevinburton at charter.net wrote:
I am trying to get package 'dse' and it seems to download OK:
Content type 'application/zip' length 1413606 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
bundle 'dse' successfully unpacked and MD5 sums checked
The downloaded packages are in
. . . \downloaded_packages
updating HTML package descriptions
But when I try to use it I get:
help(package="dse")
Error in .find.package(pkgName, lib.loc, verbose = verbose) : there is no package called 'dse'
library(dse)
Error in library(dse) : there is no package called 'dse' What is it that I am doing wrong? Thank you. Kevin
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
If you look at the download page, or the index, or the online help for dse, they all point out that dse is a bundle containing several packages, none named "dse". Have you tried library(dse1) and library(dse2) If you have, and that does not work, please send the information requested in the posting guide. Sarah
On Sat, Sep 27, 2008 at 3:40 PM, <rkevinburton at charter.net> wrote:
Sorry, this should have the rigth subject now. ---- rkevinburton at charter.net wrote:
I am trying to get package 'dse' and it seems to download OK:
Content type 'application/zip' length 1413606 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
bundle 'dse' successfully unpacked and MD5 sums checked
The downloaded packages are in
. . . \downloaded_packages
updating HTML package descriptions
But when I try to use it I get:
help(package="dse")
Error in .find.package(pkgName, lib.loc, verbose = verbose) : there is no package called 'dse'
library(dse)
Error in library(dse) : there is no package called 'dse' What is it that I am doing wrong? Thank you. Kevin
Sarah Goslee http://www.functionaldiversity.org
I am sorry where is the download page or index? Once I know that it is split out like this library(dse1) and library(dse2) work just fine. My question now is how did you know this? Thank you. Kevin
---- Sarah Goslee <sarah.goslee at gmail.com> wrote:
If you look at the download page, or the index, or the online help for dse, they all point out that dse is a bundle containing several packages, none named "dse". Have you tried library(dse1) and library(dse2) If you have, and that does not work, please send the information requested in the posting guide. Sarah On Sat, Sep 27, 2008 at 3:40 PM, <rkevinburton at charter.net> wrote:
Sorry, this should have the rigth subject now. ---- rkevinburton at charter.net wrote:
I am trying to get package 'dse' and it seems to download OK:
Content type 'application/zip' length 1413606 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
bundle 'dse' successfully unpacked and MD5 sums checked
The downloaded packages are in
. . . \downloaded_packages
updating HTML package descriptions
But when I try to use it I get:
help(package="dse")
Error in .find.package(pkgName, lib.loc, verbose = verbose) : there is no package called 'dse'
library(dse)
Error in library(dse) : there is no package called 'dse' What is it that I am doing wrong? Thank you. Kevin
-- Sarah Goslee http://www.functionaldiversity.org
Read for meaning: http://cran.r-project.org/web/packages/dse/index.html On Sep 27, 2008, at 5:26 PM, <rkevinburton at charter.net> <rkevinburton at charter.net
> wrote:
I am sorry where is the download page or index? Once I know that it is split out like this library(dse1) and library(dse2) work just fine. My question now is how did you know this? Thank you. Kevin ---- Sarah Goslee <sarah.goslee at gmail.com> wrote:
If you look at the download page, or the index, or the online help for dse, they all point out that dse is a bundle containing several packages, none named "dse". Have you tried library(dse1) and library(dse2) If you have, and that does not work, please send the information requested in the posting guide. Sarah On Sat, Sep 27, 2008 at 3:40 PM, <rkevinburton at charter.net> wrote:
Sorry, this should have the rigth subject now. ---- rkevinburton at charter.net wrote:
I am trying to get package 'dse' and it seems to download OK:
Content type 'application/zip' length 1413606 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
bundle 'dse' successfully unpacked and MD5 sums checked
The downloaded packages are in
. . . \downloaded_packages
updating HTML package descriptions
But when I try to use it I get:
help(package="dse")
Error in .find.package(pkgName, lib.loc, verbose = verbose) : there is no package called 'dse'
library(dse)
Error in library(dse) : there is no package called 'dse' What is it that I am doing wrong? Thank you. Kevin
-- Sarah Goslee http://www.functionaldiversity.org
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.