Displaying 1 result from an estimated 1 matches for "bs_dev_segment_file".
2011 Nov 15
2
Putting directory path as a parameter
...to store directory path as parameter which in turn to be used while
reading and writing data from csv files.
How I can use dir defined in the below mentioned example while reading the
csv file.
Example:
dir <- "C:/Users/Desktop" #location of file
temp_data <- read.csv("dir/bs_dev_segment_file.csv")
If I run this it will show errors:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'dir/bs_dev_segment_file.csv': No such file or directory
Regards,
-Ajit
--
View this message in...