Skip to content
Prev 277462 / 398506 Next

Putting directory path as a parameter

file.path() is much better for this than paste(), e.g.

dir <- "C:/Users/Desktop"
pathname <- file.path(dir, "bs_dev_segment_file.csv")
temp_data <- read.csv(pathname)

/Henrik

On Tue, Nov 15, 2011 at 10:08 AM, R. Michael Weylandt
<michael.weylandt at gmail.com> <michael.weylandt at gmail.com> wrote: