Displaying 2 results from an estimated 2 matches for "viab".
Did you mean:
via
2001 Oct 04
1
Bug when trying to save a character vector with an embedded / (PR#1115)
...\ with another to escape it.
> cat(test, "\n")
VIA\B # This is how the string should look.
> save(test, ascii = TRUE, file = "here")
> remove(list = ls())
> ls()
character(0)
> load("here")
> ls()
[1] "test"
> cat(test, "\n")
VIAB # This is not how the string should look! Where did the \ go?
> unlink("here")
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or &...
2001 Oct 04
1
Strange behavior with saved character vectors containing a slash
...\ with another to escape it.
> cat(test, "\n")
VIA\B # This is how the string should look.
> save(test, ascii = TRUE, file = "here")
> remove(list = ls())
> ls()
character(0)
> load("here")
> ls()
[1] "test"
> cat(test, "\n")
VIAB # This is not how the string should look! Where did the \ go?
> unlink("here")
Any insights would be much appreciated.
Regards,
Dave Kane
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik...