If you create a directory to work in for your project you could store that
and use that later
maindir<-getwd()
#then even if you change directories for different parts of your project
(but remain inside that folder)
you could put maindir variable into the path of the dir command. The less
director
with the search path.
>> For a look at what that looks like on a windows machine click here:
>> http://windows.microsoft.com/en-
>> US/windows7/products/features/windows-search I'm thinking there's a way
>> to use this method to extract
>> the path even fa
Bill, Thank you very much! That's very fast. Exactly what I was looking for.
Jean thank you for your response as well. Tyler> From: wdun...@tibco.com
> To: tyler_rin...@hotmail.com; jvad...@usgs.gov
> CC: r-help@r-project.org
> Subject: RE: [R] Construct a File Path:
On
> Behalf Of Tyler Rinker
> Sent: Thursday, August 25, 2011 12:43 PM
> To: jvad...@usgs.gov
> Cc: r-help@r-project.org
> Subject: Re: [R] Construct a File Path: File Path Unknown
>
>
> Jean, Thank you. It's slow but it works. dir("C:/", pattern="plotrix
x27;s a way to use this method to extract the path even faster
than dir(). TylerTo: tyler_rin...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] Construct a File Path: File Path Unknown
From: jvad...@usgs.gov
Date: Thu, 25 Aug 2011 13:19:37 -0500
Try the dir() function.
?dir
# for e
Try the dir() function.
?dir
# for example
dir("c:/", pattern="foo.pdf", full.names=T, ignore.case=T, recursive=T)
Jean
Tyler Rinker wrote on 08/25/2011 11:54:28 AM:
>
> I am not a programmer and am self-taught so I may lack the
> language to ask this appropriately (perhaps why an rseek searc
6 matches
Mail list logo