Displaying 1 result from an estimated 1 matches for "rankfil".
Did you mean:
rankfile
2005 Aug 19
3
using paste and "\" to create a valid filename
...but I get either 2 or
none, I can't get just one "\" where I need it. See example code
below. I am using R 2.1.0, but plan to upgrade soon. Thanks in
advance to anyone who can help.
Roger
rankPath <- "R:\New Ranks\SMC\SMC"
rankDate <- "20050819"
rankFile <- paste(rankPath,rankDate,".xls", sep="")
rankFile
[1] "R:New RanksSMCSMC20050819.xls"
rankPath <- "R:\\New Ranks\\SMC\\SMC"
rankDate <- "20050819"
rankFile <- paste(rankPath,rankDate,".xls", sep="")
rankF...