[R] Problem with vegan package instalation on linux

2011-03-09 Thread Ronaldo Reis-Jr.
Hi, I try to install vegan package on debian linux and I give this error: = * installing *source* package 'vegan' ... ** libs make: *** No rule to make target `cepin.o', needed by `vegan.so'. Stop. *** arch - Rgnome Warning in file(con, "r") : ca

Re: [R] Remove empty levels in subset

2008-11-10 Thread Ronaldo Reis-Jr.
Thanks it work perfectly. 2008/11/10 Henrique Dallazuanna <[EMAIL PROTECTED]> > Try this: > > test2$a <- factor(test2$a) > > On Mon, Nov 10, 2008 at 10:33 AM, Ronaldo Reis-Jr. <[EMAIL PROTECTED]>wrote: > >> Hi, >> >> when I use use subset

[R] as.Data with minutes resolution

2008-11-10 Thread Ronaldo Reis-Jr.
Hi, I have a vetor os dates with day and hour:minutes. > time1 <- c("03/08/08-11:00","03/08/08-11:10") > time1 <- as.Date(time1,"%d/%m/%y-%R") > summary(time1) Min. 1st Qu. Median Mean 3rd Qu. Max. "2008-08-03" "2008-08-03" "2008-08-03" "2008-08-03" "2008-08-03" "2

[R] Remove empty levels in subset

2008-11-10 Thread Ronaldo Reis-Jr.
Hi, when I use use subset in a data.frame, all empty levels are maintained in the new table. > test <- data.frame(a=as.factor(rep(c("f1","f2","f3"),10)),b=rep(c(1,2,3),10)) > summary(test) ab f1:10 Min. :1 f2:10 1st Qu.:1 f3:10 Median :2 Mean :2 3rd Q