Re: [R-SIG-Finance] 4-digit SIC codes

2013-02-05 Thread David Reiner
Very nice, Garrett! More curious than anything, but does anyone know why I get the extraneous characters when I do it? They are present in x as well. I believe they are non-breaking spaces. head(SIC) SICCode A/D  Office  Industry Title 4 100

Re: [R-SIG-Finance] 4-digit SIC codes

2013-02-05 Thread Chirag Anand
On 5 February 2013 19:50, David Reiner david.rei...@xrtrading.com wrote: Very nice, Garrett! More curious than anything, but does anyone know why I get the extraneous characters when I do it? They are present in x as well. I believe they are non-breaking spaces. Hi David, I generally get

Re: [R-SIG-Finance] 4-digit SIC codes

2013-02-05 Thread G See
There are actually non-break spaces in the source code of the page. If you look at it, you will see things like this: BA/D nbsp;BR Whether or not XML::trim gets rid of them for you may be OS specific. See and answer to an old question of mine on R-help for example