search for: somepatterns

Displaying 3 results from an estimated 3 matches for "somepatterns".

Did you mean: somepattern
2013 Sep 27
2
Error: C stack usage is too close to the limit when using list.files()
R-helpers: I'm running a file search on my entire drive (Mac OS X) using: files_found <- list.files(dir="/",pattern=somepattern,recursive=TRUE,full.names=TRUE) where somepattern is a search pattern (which I have confirmed via a unix "find / -name somepattern" only returns ~ 3 results). I keep getting an error: Error: C stack usage is too close to the limit when
2008 Oct 10
0
Antwort: FW: R loops
...Pugh" <rpugh@mango-solutions.com> 09.10.2008 14:06 An <assa.yeroslaviz@bayercropscience.com> Kopie Thema FW: [R] R loops Hi Assa, I happened to have some code on my screen that does exactly what you want: myDir <- "D:\\Temp" allFiles <- list.files(myDir) somePatterns <- c("xls", "csv", "sas7bdat") filePatterns <- lapply(somePatterns, function(pat, files) files[grep(pat, files)], files=allFiles) cat(paste("\n", somePatterns, ": ", sapply(filePatterns, paste, collapse=", "), sep="")) Hop...
2010 Mar 11
3
Define column names to a series of data.frames
Greets to the list! I am aware that this topic has been discussed several times. And I've read quite some related posts [1]. Yet, can't seem to give a solution to my problem. I have 6 data frames consisting of 6 rows x 7 columns put together from other data.frames. Something like: a b c d e f g v1 # # # # # # # v2 # # # # # # # v3 # # # # # # # v4 # # # # # # # v5 # # # # # # # v6