Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-12-04 Thread Henrik Bengtsson
o.com > > >> -Original Message- >> From: jgrn...@gmail.com [mailto:jgrn...@gmail.com] On Behalf Of Jonathan >> Greenberg >> Sent: Saturday, September 28, 2013 10:51 AM >> To: William Dunlap >> Cc: r-help >> Subject: Re: [R] Error: C stack usage is

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-28 Thread William Dunlap
ORTANT_2 > > find: File system loop detected; `dir/subdir/linkToUpperDir' is part of the > > same file > system loop as `dir'. > > dir/IMPORTANT_1 > > > > Bill Dunlap > > Spotfire, TIBCO Software > > wdunlap tibco.com > > > > > &g

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-28 Thread Berend Hasselman
On 28-09-2013, at 19:51, Jonathan Greenberg wrote: > Thanks all -- ok, so the symbolic link issue is a distinct > possibility, but fundamentally doesn't solve the issue since most > users will have symbolic links on their machines SOMEPLACE, so a full > drive scan will run into these issues --

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-28 Thread Jonathan Greenberg
gt; perDir/subdir/linkToUpperDir/subdir/linkToUpperDir/subdir/linkToUpperDir/subdir/linkTo >> UpperDir/subdir/linkToUpperDir/subdir/linkToUpperDir/subdir/linkToUpperDir/subdir/lin >> kToUpperDir/subdir/linkToUpperDir/subdir/linkToUpperDir" >> > system("find dir") >> dir &g

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread William Dunlap
o:r-help-boun...@r-project.org] On > Behalf > Of William Dunlap > Sent: Friday, September 27, 2013 12:56 PM > To: Jonathan Greenberg; r-help > Subject: Re: [R] Error: C stack usage is too close to the limit when using > list.files() > > Do you have some symbolic links that make l

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread Berend Hasselman
On 27-09-2013, at 21:50, Jonathan Greenberg wrote: > Ben: > > I'd like to avoid using that (previous version of my code solved it in > that way) -- I would like cross-platform compatibility and I am pretty > sure, along with Windows, vanilla Macs don't come with "find" either > unless XCode has

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread William Dunlap
Behalf > Of Jonathan Greenberg > Sent: Friday, September 27, 2013 12:13 PM > To: r-help > Subject: [R] Error: C stack usage is too close to the limit when using > list.files() > > R-helpers: > > I'm running a file search on my entire drive (Mac OS X) using: > >

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread Jonathan Greenberg
Ben: I'd like to avoid using that (previous version of my code solved it in that way) -- I would like cross-platform compatibility and I am pretty sure, along with Windows, vanilla Macs don't come with "find" either unless XCode has been installed. Is the list.files() code itself recursive when u

Re: [R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread Ben Bolker
Jonathan Greenberg illinois.edu> writes: > > R-helpers: > > I'm running a file search on my entire drive (Mac OS X) using: > > files_found <- list.files(dir="/",pattern=somepattern,recursive=TRUE,full.names=TRUE) > where somepattern is a search pattern (which I have confirmed via a > unix "fin

[R] Error: C stack usage is too close to the limit when using list.files()

2013-09-27 Thread Jonathan Greenberg
R-helpers: I'm running a file search on my entire drive (Mac OS X) using: files_found <- list.files(dir="/",pattern=somepattern,recursive=TRUE,full.names=TRUE) where somepattern is a search pattern (which I have confirmed via a unix "find / -name somepattern" only returns ~ 3 results). I keep g