problem with concatinating string while taking as a path of a file
See ?file.path Uwe Ligges
Simon Blomberg wrote:
Does this do what you want? paste(FPATH, Fname, sep="\\") Simon. On Tue, 2009-03-10 at 10:48 +0530, venkata kirankumar wrote:
Hi all, I have a problem with concatinating strings while taking as a path here the problem is i have to take path as FPATH<-"D:\\Kiran" and file name as Fname<-"FINDINGS.CSV" and while I am reading this table I have to take path with using these two strings because in "FPATH" there is many files like findings.csv, and path will be "D:\\Kiran\\FINDINGS.CSV" here i tried with " FPATH+\\+Fname", "FPATH~\\~Fname" , FPATH&\\&Fname and FPATH::\\::Fname but I am not able to get path like "D:\\Kiran\\FINDINGS.CSV". can any one help me out of this problem. thanks in advance. [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.