Javier Muñoz wrote: > Hello, > > This is what i get in R-2.7.0 (with the completely internal file.path()): > > >> setwd("c:/jml/Valoraci�n F1/04 BA/") >> filename <- "Valoraci�n F1 PAG.mdb" >> > > >> file.path(getwd(), filename) >> > [1] "c:/jml/Valoración F1/04 BA/Valoraci�n F1 PAG.mdb" <<- worng > > >> file.path("c:/jml/Valoraci�n F1/04 BA", filename) >> > [1] "c:/jml/Valoraci�n F1/04 BA/Valoraci�n F1 PAG.mdb" <<- ok > > >> file.path(paste(getwd()), filename) >> > [1] "c:/jml/Valoraci�n F1/04 BA/Valoraci�n F1 PAG.mdb" <<- ok > > With the older file.path() all of these return "c:/jml/Valoraci�n F1/04 > BA/Valoraci�n F1 PAG.mdb" > > -- Session info ----------------------- > > R version 2.7.0 (2008-04-22) > i386-pc-mingw32 > > locale: > LC_COLLATE=Spanish_Spain.1252;LC_CTYPE=Spanish_Spain.1252;LC_MONETARY=Spanish_Spain.1252;LC_NUMERIC=C;LC_TIME=Spanish_Spain.1252 > > attached base packages: > [1] stats graphics grDevices datasets utils methods base > > other attached packages: > [1] RODBC_1.2-3 > > ---------------- > > Is this a bug in the new file.path() or can I change something to make this > work as before? > This could well be related to the PATH issue reported yesterday by Erik Joergensen, so please check whether R-patched fixes the issue (and please make a habit of checking our prereleases...).
(Email encodings again: I assume that you see something weird in the one place where I see the accented o in valoración, whereas you see the accented o in all the places where I see a reverse-video question mark....) -- O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.