search for: rtmpq3enyj

Displaying 2 results from an estimated 2 matches for "rtmpq3enyj".

2008 Jun 07
1
Problem of installing Matrix
...erator "Makefile", line 29: Need an operator "Makefile", line 31: Need an operator make: fatal errors encountered -- cannot continue ERROR: compilation failed for package 'Matrix' ** Removing '/usr/local/lib/R/library/Matrix' The downloaded packages are in /tmp/Rtmpq3enyj/downloaded_packages Updating HTML index of packages in '.Library' Warning message: In install.packages("Matrix") : installation of package 'Matrix' had non-zero exit status > > sessionInfo() R version 2.6.1 (2007-11-26) i386-portbld-freebsd7.0 locale: zh_CN.eucCN...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame. For instance > ddTable <- data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry")) I want a dataset that is Id Name 1 Paul 2 Bob > unique(ddTable) Will give me all 4 rows, and > unique(ddTable$Id) Will give me c(1,2), but not accompanied by the name column.