[R] sourcing from 2 different computers R code
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 12 07:51:43 CET 2013
This is not one but two FAQs:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-file-names-work-in-Windows_003f
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#R-can_0027t-find-my-file
See the posting guide and the footer of this message.
On 12/11/2013 06:13, Luca Meyer wrote:
> Hi,
>
> I have a piece of code sitting on a dropbox directory and haev installed R
> 3.0.2 on 2 machines: one MacBook Pro and one Sony Vaio pc.
>
> Now, when I use
>
> source("/Users/....R")
>
> to call the script from the Mac no problems, but when I use
>
> source("C:\Users\...R")
>
> to call the script from the Sony Vaio I get the following:
>
> Error: '\U' used without hex digits in character string starting "'C:\U"
>
> What am I doing wrong?
>
> Thanks in advance,
>
> Luca
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
--
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