Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backslashes are misinterpreted as escape-sequences by the R-interpreter. #2604

Merged
merged 1 commit into from Dec 16, 2012

Conversation

filmor
Copy link
Contributor

@filmor filmor commented Nov 19, 2012

Fixes issue #2533.

Backslashes are misinterpreted as escape-sequences by the R-interpreter.
@bfroehle
Copy link
Contributor

This looks okay to me. Somewhat ironically \ is a valid name for a directory in Linux / OS X, but the odds to somebody setting their temporary directory to something like /tmp/\ is probably nil.

@filmor
Copy link
Contributor Author

filmor commented Nov 22, 2012

One could also double all back-slashes (i.e. not replace by '/' but by '\'), that would fix that problem (that would also occur here) too, but I didn't test it on Windows.

/edit: I think I saw somewhere, that the temp-path for mkdtemp was hardcoded to /tmp and didn't bother.

@Carreau
Copy link
Member

Carreau commented Dec 14, 2012

What do we do ? is it ok for merge ?
I looks fine to me, i'll merge tomorrow if no objections.

Carreau added a commit that referenced this pull request Dec 16, 2012
fix misinterpreted backslashes as escape-sequences by the R-interpreter.

Fixes #2533
@Carreau Carreau merged commit 13bc13e into ipython:master Dec 16, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
fix misinterpreted backslashes as escape-sequences by the R-interpreter.

Fixes ipython#2533
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants