Marine Andersson
2012-Jul-05 14:21 UTC
[R] Invalid input in 'utf8towcs' when saving script file
Hello, When I try to save my script file before closing the R console session I get this error. Error: invalid input 'C:\Documents and Settings\xxxx\xxxx\datafile' in 'utf8towcs' Does anyone know what can cause this error? I use the RGui (R verison 2.14.0) in Windows and the problem appears when I try to re-save the script file. Using Save as and rename it works. Kind regards, Marine Andersson
Duncan Murdoch
2012-Jul-05 14:58 UTC
[R] Invalid input in 'utf8towcs' when saving script file
On 05/07/2012 10:21 AM, Marine Andersson wrote:> Hello, > > When I try to save my script file before closing the R console session I get this error. > > Error: invalid input 'C:\Documents and Settings\xxxx\xxxx\datafile' in 'utf8towcs' > > Does anyone know what can cause this error?I imagine it is converting some non-ascii character. But 2.14.0 isn't current, so it might be a bug that has since been fixed. Duncan Murdoch> > I use the RGui (R verison 2.14.0) in Windows and the problem appears when I try to re-save the script file. Using Save as and rename it works. > > > > Kind regards, > > Marine Andersson > ______________________________________________ > 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.