franklin johnson
2013-Jul-26 05:00 UTC
[R] help on carrying forward several vectors of rownames
Dear reader, I'm trying to use multiple vectors as rownames for the read.table function. I tried to insert these vectors as a list, e.g. row.names=c(1,4), from the excel file. I tried other ways, as if the argument only took continuous tab separated columns, e.g. row.names=c(1:4). But, this also did not work. Is there a solution to this problem? Regards, -- Franklin [[alternative HTML version deleted]]
Can you supply some code and data? At the moment the question in not clear, or not expressed in R terminology. Maybe I'm just not awake yet but "I tried to insert these vectors as a list, e.g. row.names=c(1,4), from the excel file" does not seem to make any sense at all probably because 'list' has a special meaning in R and I don't think that is what you mean. if it is, my appologies. Perhaps have a look at https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada> -----Original Message----- > From: theobroma22 at gmail.com > Sent: Thu, 25 Jul 2013 22:00:32 -0700 > To: r-help at r-project.org > Subject: [R] help on carrying forward several vectors of rownames > > Dear reader, > I'm trying to use multiple vectors as rownames for the read.table > function. > I tried to insert these vectors as a list, e.g. row.names=c(1,4), from > the > excel file. I tried other ways, as if the argument only took continuous > tab > separated > columns, e.g. row.names=c(1:4). But, this also did not work. > Is there a solution to this problem? > Regards, > -- > Franklin > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!