Re: [R] simple problem

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Tue 08 Mar 2005 - 01:20:06 EST

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@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



R-help@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 Received on Tue Mar 08 01:32:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:41 EST