wild-card
2
0
Entering edit mode
Zhao, Po ▴ 90
@zhao-po-195
Last seen 9.7 years ago
Hi, I wonder whether there is a wild-card character in R. For example, I use ReadAffy("file1.txt", "file2.txt") to read a subset of files in a directory. Can I use a wild-card character in this command like ReadAffy("file*.txt") ? Thanks a lot. Po
• 634 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 5 weeks ago
EMBL European Molecular Biology Laborat…
Use ReadAffy(dir(pattern="file*.txt")) and see ? dir Cheers ---------------------------------------- Wolfgang Huber Division of Molecular Genome Analysis German Cancer Research Center Heidelberg, Germany ----------------------------------------
ADD COMMENT
0
Entering edit mode
Jeff Gentry ★ 3.9k
@jeff-gentry-12
Last seen 9.7 years ago
> I wonder whether there is a wild-card character in R. For example, I use While Wolfgang answered your question, I'd like to point out that questions that are more R-specific rather then Bioconductor-specific are probably better served by being asked on the R-help mailing list. For information: http://www.r-project.org/mail.html -Jeff
ADD COMMENT

Login before adding your answer.

Traffic: 323 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6