[R] Create and read symbolic links in Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri May 3 08:42:18 CEST 2013


On 03/05/2013 07:33, Santosh wrote:
> Thanks for the suggestions. In windows (Windows 7, 64-bit), I couldn't
> get "file.symlink" to work, but "file.link" did return the result to be
> "TRUE" but at the target location, I did not see any link.
>
> Not sure I am missing anything more.. Hope it's nothing to do with
> administrator accounts and administrator rights... Is it something I
> should check with my system administrator?

You may need to update your R: although the posting guide asked you to 
do that before posting.  There was a relevant bug fix in 2.15.3.

>
> Thanks,
> Santosh
>
>
> On Thu, May 2, 2013 at 12:22 PM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk <mailto:ripley at stats.ox.ac.uk>> wrote:
>
>     On 02/05/2013 19:50, Santosh wrote:
>
>         Dear Rxperts..
>         Got a couple of quick q's..
>         I am using R in windows environment (both 32-bit and 64-bit)
>         a) Is there a way to create symbolic links to some data files?
>
>
>     See ?file.symlink.  ??'symbolic link' should have got you there.
>
>     Note that this is not very useful for files, but that is a Windows
>     and not an R restriction.
>
>
>      > b) How do I read data from symbolic links?
>
>     The same ways you read data from files.
>
>
>         Thanks so much..
>         Santosh
>
>
>
>     --
>     Brian D. Ripley, ripley at stats.ox.ac.uk <mailto:ripley at stats.ox.ac.uk>
>     Professor of Applied Statistics,
>     http://www.stats.ox.ac.uk/~__ripley/
>     <http://www.stats.ox.ac.uk/~ripley/>
>     University of Oxford,             Tel: +44 1865 272861
>     <tel:%2B44%201865%20272861> (self)
>     1 South Parks Road, +44 1865 272866 <tel:%2B44%201865%20272866> (PA)
>     Oxford OX1 3TG, UK                Fax: +44 1865 272595
>     <tel:%2B44%201865%20272595>
>
>     ________________________________________________
>     R-help at r-project.org <mailto:R-help at r-project.org> mailing list
>     https://stat.ethz.ch/mailman/__listinfo/r-help
>     <https://stat.ethz.ch/mailman/listinfo/r-help>
>     PLEASE do read the posting guide
>     http://www.R-project.org/__posting-guide.html
>     <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