[R] error opening connection 64bit R under win7 64bit
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Oct 21 18:27:16 CEST 2010
I see nothing that says the file you are trying to source cannot be
opened. I suspect it is a file mentioned in the script (that we don;t
have).
On Thu, 21 Oct 2010, daniel at labuenaestrella.com.ar wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> I just installed R (2.11.1) 64bit under Windows 7 64 bit
> When trying to readin files I get the following error message:
>
>>> source(file="C:\\Users\\me\\Documents\\My
> PhD\\Modelling\\R\\Scripts\\Functions\\functions 20jan10.r")
> Error in file(file, "rt") : cannot open the connection
> In addition: Warning message:
> In file(file, "rt") :
> cannot open file 'C:\Documents and Settings\DoHyeDan\My Documents\My
> PhD\Data\Smoothing\R\Scripts\zscore references\cdcwfa.txt': No such file
> or directory
I think that warning is the root cause of the error here, and also
that running traceback() would be informative.
>
> The file I'm looking for is definitely exists:
>
>>> file.exists("C:\\Users\\me\\Documents\\My
> PhD\\Modelling\\R\\Scripts\\Functions\\functions 20jan10.r")
> [1] TRUE
>
> I suspect it something with windows user rights or file properties but
> am not sure what to do.
>
> Any help is appreciated.
>
> Thanks in advance,
> Daniel Hayes
--
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
More information about the R-help
mailing list