Hi Experts,

I want to see my object as below:
     'C:\Program Files\R\R-2.4.0\bin\Rgui.exe'
So I use the paste command. None of the below is working. Could anyone help
me on this?

> paste("'C:\Program Files\R\R-2.4.0\bin\Rgui.exe'")
[1] "'C:Program FilesRR-2.4.0\binRgui.exe'"

> paste("'C:","\","Program Files","\","R","\","R-2.4.0","\","bin","\","
Rgui.exe'",sep="")
Error: syntax error in "paste("'C:","\","Program"

>paste("'C:","Program Files","R","R-2.4.0","bin","Rgui.exe'",sep="\")
+

I need to only use the \ symbol and not / or \\. Please help me…

Thank you,
Shubha.

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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