From ripley at stats.ox.ac.uk  Tue May 13 11:03:46 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 13 May 2008 10:03:46 +0100 (BST)
Subject: [Rd] Unable to restore saved data in .RData (PR#11455)
In-Reply-To: <20080513022523.CD42F2834337@mail.pubhealth.ku.dk>
References: <20080513022523.CD42F2834337@mail.pubhealth.ku.dk>
Message-ID: <alpine.LFD.1.10.0805130952010.28720@gannet.stats.ox.ac.uk>

Sorry, there is nothing to reproduce here.

The pertinent error message is not the one you quote in your subject line 
but

Error in file.exists(name) : unsupported conversion in 'filenameToWchar'

At face value that means that iconv does not know about your locale.
That's possible, but it does know about 'English'.  If you can start R at 
all, what does Sys.getlocale() give?

See what happens if you add LC_ALL=en to the target on the shortcut you 
use to start R.  That should force use of American English (it does for 
me).

It's a long shot, but if that fails can you please try R-patched, binaries 
available from

http://cran.r-project.org/bin/windows/base/rpatched.html

If the real error is something earlier, this might have solved it.


On Tue, 13 May 2008, ericwong001 at gmail.com wrote:

> Full_Name: Eric Wong
> Version: 2.7

I presume you mean 2.7.0?

> OS: Windows XP SP2
> Submission from: (NULL) (203.198.252.239)
>
>
> I installed R software version 2.7 onto my computer (Windows XP SP2 English).
> The installation was smooth without problem.
>
> However, R program crashed with the following error message:
>
>  Error in file.exists(name) : unsupported conversion in 'filenameToWchar'
>  Fatal error: unable to restore saved data in .RData
>
> Can anyone provide a remedy to this? Many thanks in advance. Cheers.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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



[Rd] Unable to restore saved data in .RData (PR#11455)
Prof Brian Ripley