Re: [R] strsplit() and Windows file paths

2009-10-29 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Nordlund, Dan (DSHS/RDA) > Sent: Thursday, October 29, 2009 12:57 PM > To: r-help@r-project.org > Subject: Re: [R] strsplit() and Windows file paths > >

Re: [R] strsplit() and Windows file paths

2009-10-29 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Robert Baer > Sent: Thursday, October 29, 2009 12:40 PM > To: r-help@r-project.org > Subject: [R] strsplit() and Windows file paths > > There are two wa

[R] strsplit() and Windows file paths

2009-10-29 Thread Robert Baer
There are two ways to express file paths with the Windows environment: > a=file.choose() > a [1] "C:\\Documents and Settings\\rbaer\\Desktop\\_VNT_Test\\coordFocused 20k F5 0ng Ki8751 t20.txt" and >b= paste(getwd(),"/",dir()[1],sep="") >b [1] "C:/Documents and Settings/rbaer/Desktop/_VNT_Test/co