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

Extra characters are added when text is passed to R REPL console on OSX #414

Open
and7ey opened this issue Apr 1, 2015 · 1 comment
Open

Comments

@and7ey
Copy link

and7ey commented Apr 1, 2015

I have the following setup -

  • OSX 10.10.2 (Russian locale)
  • Sublime Text 3 b.3083
  • SublimeREPL 2.1.1

When I copy-paste the following command directly into console -

dt1 <- read.csv(zz1, header = TRUE, sep = ",", na.strings = c(""), colClasses = columnClasses)

I get the following error -

> dt<dt-dt dtrdtedtadtddt.dtcdtsdtvdt(dtzdtzdt1dt,dt dthdtedtadtddtedtrdt dt=dt dtTdtRdtUdtEdt,dt dtsdtedtpdt dt=dt dt"dt,dt"dt,dt dtndtadt.dtsdttdtrdtidtndtgdtsdt dt=dt dtcdt(dt"dt"dt)dt,dt dtcdtodtldtCdtldtadtsdtsdtedtsdt dt=d�< TRUE, sep = ",", na.strings = c(""), colClasses = dt1                       cdtodtldtudtmdtndtCdtldtadtsdtsdtedtsdt)dt
Error: unexpected assignment in "<-"

The same happens if I pass this line to console with shortcut usage. At the same time, if I retype it, it works correctly

But it is displayed incorrectly -
screenshow

Restart of Sublime Text, REPL console doesn't help.

@fredcallaway
Copy link

I think this has to do with automated line wrapping. When I copy and paste that [CR] thing, it is treated as a newline. I thought it would be an easy fix to just get rid of wrapping, but alas, I can't find that section of code.

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

No branches or pull requests

2 participants