On Wed, 2 Jul 2003, Neil White wrote:

> I have some data that was prepared while I was Sweden. The columns 
> labelled using � or � are fine, but for some reason � is changed to a 
> period.

The reason is in ?data.frame and ?read.table

> so Bl�b�r stay the same, but D�dved becomes D.dved
> 
> I'd like to keep to original variable names
> 
> the data is read in using
> vegFreqFull <- read.csv("/dat/neil/voles/veg/FrequentFull.csv", header=TRUE)

Use check.names = FALSE.  You should also do this by setting a Swedish 
locale.


-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to