Skip to content

Unable to restore saved data in .RData (PR#11455)

2 messages · ericwong001 at gmail.com, Brian Ripley

#
Full_Name: Eric Wong
Version: 2.7
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.
#
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:

            
I presume you mean 2.7.0?