Indeed DOS command doesn't work neither . cygwin.lnk list itself but not what is in the folder :
dir cygwin Volume in drive C is WINDOWS Volume Serial Number is F410-6A8D Directory of C:\Users\me\Desktop File Not Found dir cygwin.lnk Volume in drive C is WINDOWS Volume Serial Number is F410-6A8D Directory of C:\Users\me\Desktop 08/01/2014 04:07 PM 1,424 cygwin.lnk 1 File(s) 1,424 bytes 0 Dir(s) 98,285,953,024 bytes free dir cygwin.lnk/*.* Invalid switch - "*.*". R doesn't lsit cygwin.lnk > list.files(path = "cygwin.lnk") character(0) -----Original Message----- From: "Duncan Murdoch" [murdoch.dun...@gmail.com] Date: 07/23/2014 09:21 AM To: "ce" <zadi...@excite.com>, r-help@r-project.org Subject: Re: [R] Windows R doesn't recognize shortcuts ? On 23/07/2014 9:08 AM, ce wrote: > Hi All, > > In Windows 7 , R installation: > > R version 3.1.1 Patched (2014-07-14 r66149) -- "Sock it to Me" > Copyright (C) 2014 The R Foundation for Statistical Computing > Platform: x86_64-w64-mingw32/x64 (64-bit) > > it doesn't recognize shortcuts in path : > > > list.files(path = "cygwin") > character(0) > > cygwin is a shortcut, in properties window Target shows : > C:\Users\me\cygwin64\home\me > Real path works : > > list.files(path = "C:/Users/me/cygwin64/home/me") > [1] "1010week.sh" "10week.sh" "a.R" > "aa.sh" > I don't think R should recognize that. Windows wouldn't recognize it either, if you used "dir cygwin" in a shell, for example. Duncan Murdoch ______________________________________________ R-help@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.