Displaying 3 results from an estimated 3 matches for "metr_list".
Did you mean:
mech_list
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a different vector nam...
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a different vector nam...
2009 Jun 01
1
installing sn package
...> Subject: Re: [R] split strings
> To: Waclaw.Marcin.Kusnierczyk@idi.ntnu.no
> CC: pisicandru@hotmail.com; r-help@r-project.org
>
> Although speed is really immaterial here this is likely
> to be faster than all shown so far:
>
> sub(".tif", "", basename(metr_list), fixed = TRUE)
>
> It does not allow file names with .tif in the middle
> of them since it will delete the first occurrence rather
> than the last but such a situation is highly unlikely.
>
>
> On Tue, May 26, 2009 at 4:24 PM, Wacek Kusnierczyk
> wrote:
>> Monica Pisi...