[R-SIG-Mac] text file drag
David Winsemius
dwinsemius at comcast.net
Mon Mar 11 20:44:50 CET 2013
On Mar 11, 2013, at 8:55 AM, Beale, Holly (NIH/NHGRI) [F] wrote:
> I think I've identified a bug. When I drag a text file into an edit window in R.app, sometimes the resulting inserted path and filename appear before the last character, even if the last character is not a newline.
>
> Thanks for taking a look.
>
> To replicate:
> new window
> type only the following. do not follow with a newline
> df=read.table(
> drag a text file into window after "df=read.table("
>
> result:
> df=read.table\path\filename(
>
> My config:
> R version 2.15.2 (2012-10-26) -- "Trick or Treat"
> R.app GUI 1.53 (6443) x86_64-apple-darwin9.8.0
> Mac OS X 10.7.5
Also happens on a current version in R 2.15.3
[R.app GUI 1.53 (6451) x86_64-apple-darwin9.8.0]
And thinking maybe I could fix it by starting with:
df=read.table("
... It now drops the filename between the paren and the dbl-quote. I had not ever seen this because I drop my file names into the session first and then build my commands around them.
--
David Winsemius
Alameda, CA, USA
More information about the R-SIG-Mac
mailing list