Dear all, I encountered a problem on starting and using the R v 2.7.2 installation on my PC running Windows Vista and would appreciate your help.
When R was first started, the Rgui returned several error messages: Error in structure(.Internal(Sys.getenv(as.character(x), as.character(unset)$ unsupported conversion Error in file.exists(name) : unsupported conversion in 'filenameToWchar' In addition, a dialog box called 'Information' popped up with the following message: Fatal error: unable to restore saved data in .RData On clicking 'OK', R closed immediately and the same thing occurs on restarting R. After checking for previous related messages online, I followed one of the recommendations from before and appended --no-restore-data to the R shorcut target line. After that, R could start without the 'fatal error'. However, some functions such as 'help' and 'setwd' do not work: e.g. >help() Error: could not find function "help" > setwd("DirName") Error in setwd("DirName") : unsupported conversion in 'filenameToWchar' I then typed 'Sys.getlocale()' and got this: > Sys.getlocale() [1] "LC_COLLATE=Chinese (Traditional)_Hong Kong S.A.R..950;LC_CTYPE=Chinese (Traditional)_Hong Kong S.A.R..950;LC_MONETARY=Chinese (Traditional)_Hong Kong S.A.R..950;LC_NUMERIC=C;LC_TIME=Chinese (Traditional)_Hong Kong S.A.R..950" Setting LC_ALL=en in the shortcut target does not appear to work in this case as I got During startup - Warning message: Setting LC_CTYPE=en failed Furthermore, I tried the patched version of R 2.7.2 and the same problem occurs. I would be very grateful if anybody could help. Many thx. Thomas [[alternative HTML version deleted]] ______________________________________________ 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.