[R] Problem with starting and using R

Duncan Murdoch murdoch at stats.uwo.ca
Mon Sep 8 13:04:00 CEST 2008


On 08/09/2008 6:56 AM, Prof Brian Ripley wrote:
> On Mon, 8 Sep 2008, Prof Brian Ripley wrote:
> 
>> This reflects a problem in your locale (traditional Chinese): we cannot 
>> reproduce it.  Try running R in a different locale (e.g. append LC_ALL=en to 
>> the target when you start R).
> 
> Maybe I have found this as a bug in iconv.  Please try a version of 
> R-patched with svn revision 46507 or later.

Unfortunately, something stopped the daily builds of R-patched on 
Saturday, and I haven't been in to the office yet to fix things.  So 
it's likely to be tomorrow before the Windows build of r46507 or later 
is available on CRAN.

Duncan Murdoch

> 
>> On Sun, 7 Sep 2008, Thomas Lo wrote:
>>
>>> 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 at 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.
>>>
>> -- 
>> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>> 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
>>
>



More information about the R-help mailing list