[R] Invalid input in 'utf8towcs' when saving script file

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jul 5 16:58:54 CEST 2012


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.



More information about the R-help mailing list