[R] simple problem

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Mar 7 15:20:06 CET 2005


Jonathan Charrier wrote:

> Hello,
> 
> I have a little problem, very simple, but i can't solve it.
> 
> I have a list of files
> I have a function
> 
> I want that the function take files one to one
> (the results is a matrix (1 file (the values) for 1 column))
> 
> I used some functions (like apply, lapply and more)

sapply on a *vector* of filenames should work, as frequently discussed 
on this list.

Uwe Ligges



> but in each case,
> i have a warning message : "only first element of `description' argument 
> used "
> it takes only the first file...
> 
> if someone have an idea
> 
> Thanks  a lot
> 
> 
> Jonathan Charrier
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list