Re: [R] Swedish characters in data frames

2003-07-02 Thread Prof Brian Ripley
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, UKFax:  +44 1865 272595

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


[R] Swedish characters in data frames

2003-07-01 Thread Neil White
Hi

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.

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)
Using R 1.70 on Win 2K SP4

Regards

Neil

--
Dr Neil A. White
Senior Lecturer
Department of Biology
University of the South Pacific
PO Box 1168, Suva
Fiji Islands
Tel: +679 321 2409
Fax: +679 331 5601
www.usp.ac.fj/biology
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help