Hi,
A simple way is:

s <- s[3]


On 16/02/07, Antje <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I used an sapply to get some data back (s <- sapply(...) ). The output
> of s would then deliver something like this:
>
>       B06_lamp.csv C06_lamp.csv D06_lamp.csv
> [1,] NULL         NULL         Numeric,512
> [2,] NULL         NULL         Numeric,512
> [3,] NULL         NULL         2
> > mode(s)
> [1] "list"
> > dim(s)
> [1] 3 3
> >
>
> Now, I'd like to remove the columns which contain NULL (it's alway the
> whole column).
> How can I do this???
>
> Antje
>
> ______________________________________________
> [email protected] 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.
>



-- 
Henrique Dallazuanna
Curitiba-ParanĂ¡
Brasil

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to