[R] error using R Commander for text file import

John Fox jfox at mcmaster.ca
Tue Feb 10 14:39:27 CET 2009


Dear Uwe,

Thanks for trying to field this question, but the error is unlikely to be
related to the data since splitCmd() is used internally to format commands
generated by the Rcmdr so that they fit in the Script window. Unfortunately,
the contents of the Script window are likely to be uninformative since the
offending line won't have been displayed.

Dwight: 

I've never seen this error, nor has anyone else reported it, and as you
might imagine, importing a text file is a very common operation. Although I
can't rule it out at this point, I suspect that if this were a bug in the
Rcmdr, it would have surfaced before.

Some more information about what you did might help. Commands generated by
the Rcmdr shouldn't have unbalanced quotes unless the user enters them,
e.g., in a text field. For example, might you have tried to place quotes
around the name of the data set.

Regards,
 John

------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On
> Behalf Of Uwe Ligges
> Sent: February-10-09 6:52 AM
> To: Krehbiel, Dwight
> Cc: r-help at r-project.org
> Subject: Re: [R] error using R Commander for text file import
> 
> 
> 
> Krehbiel, Dwight wrote:
> > I am getting the following error on  iMac running Mac OS 10.5.6; this
> occurs whenever I try to import a text file into R Commander:
> >
> > Error in splitCmd(command) : unbalanced quotes
> 
> So can you tell us exactly what you did and what the resulting code in
> the code windows was and how the data file looks like? Does it contain
> unbalanced quotes, for example?
> 
> Uwe Ligges
> 
> > Thus, I am unable to import data into R Commander. Any suggestions as to
> how I might fix this error? I have gotten it many times with more than one
> installation of R 2.8.1 on this computer.
> >
> > Dwight Krehbiel
> > Bethel College
> > North Newton, KS 67117
> > USA
> >
> > ______________________________________________
> > R-help at r-project.org 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.
> 
> ______________________________________________
> R-help at r-project.org 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.




More information about the R-help mailing list