[R] R-Help. Error in file(file, ifelse(append, "a", "w")). No connection.

David Winsemius dwinsemius at comcast.net
Mon Feb 17 09:22:32 CET 2014

On Feb 16, 2014, at 11:54 PM, Michał Wajszczuk wrote:

> Hi,
> I just download R and R-studio. I have one problem and i can't make through
> it. I'm trying to use help function in R-studio but after typing something,
> error appears. I already searched in web and asked my friends but no
> one can help me.
> Could you please help me or give any advise?
> I have Windows XP, and this is my first instalation of R and R-Studio.
> - R-3.0.2 for Windows XP
> - R-Studio 0.98.501 also for Windows XP.
> After installation this error appear:
> Error in file(file, ifelse(append, "a", "w")) :
>  cannot open the connection
> In addition: Warning message:
> In file(file, ifelse(append, "a", "w")) :
>  cannot open file
> 'C:\DOCUME~1\MICHAŁ\USTAWI~1\Temp\Rtmpw7YX5y\filed30199d5006': No such file
> or directory

It appears you are doing something that creates a temporary file. You probably need to tell us what locale you are in and show the output for sessionInfo() (as the Posting Guide advises.) I guessing it has something to do with encodings and "\MICHAŁ\"

Probably a good I idea to review the Internationalization sections of the Installation and Administration Guide and to look at:


> I'll be gratefull for your help.
> Thank you,
> Michal Wajszczuk
> 	[[alternative HTML version deleted]]

And the Posting Guide requests you do not post with HTML.

> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA

More information about the R-help mailing list