On Jun 5, 2012, at 08:42 , climmi wrote:

> Thank you !  Rui Barradas .
> 
> Yes, the arrow character "" can not be recoginised by R. 
> the character will be treat as a stop command...
> So I replace all the character "" with space, then it works..
> Just want to know is there any way for R to handle it.

To paraphrase Brian, you're likely the victim of your unstated operating 
system...

Hex 1a is ctr-Z, alias the end-of-file marker, which dates back from CP/M times 
and was never excised from the various Microsoft OS. R can't handle it because 
the OS is telling it that the file has ended. 

Opening the file in binary mode (?file) might help, but as I'm not on Windows, 
I can't easily check for you.

> 
> Not sure does eveybody able to view the character, it's looks like this. 
> http://r.789695.n4.nabble.com/file/n4632369/arrow.png 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@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.

Reply via email to