Hi,
I have problem when evaluating string containing file path.

path <-"inputDirectory='d:\\diplomski_rad\\testOutput\\temp'"
print(eval(parse(text=path)))

After executing code, I get

[1] "d:diplomski_rad\testOutput\temp"
Warning messages:
1: '\d' is an unrecognized escape in a character string
2: unrecognized escape removed from "d:\diplomski_rad\testOutput\temp"

I try different combination but without luck. What's the problem ?

Regards,
Tomislav

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to