Displaying 3 results from an estimated 3 matches for "maenner".
Did you mean:
banner
2008 Jun 06
3
Lattice: key does not accept German umlaute
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
library(lattice)
## works as expected
xyplot(1~1, key = list(text = list(c("Maenner"))))
## works as expected
xyplot(1~1, key = list(text = list(c("Maenner"))), xlab = "M\344nner")
## gives an error
xyplot(1~1, key = list(text = list(c("M\344nner"))))
Is this a bug?
TIA,
Bernd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Co...
2012 Mar 01
1
R can't load a large dataset
Dear R listers,
I have a silly problem. I am trying to load a dta (Stata) file in R.
The dta is about 650 MB and contains the integrated World Values
Survey/ European Value Study data-set.
My problem is that I don't manage to load the file. After almost 1
hour I issued the following command:
data <- read.dta("http://www.stata-press.com/data/kkd/data1.dta",
convert.dates = TRUE,
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.