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/coordFocused
-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 ways to express file paths
-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
-Original Message
3 matches
Mail list logo