Skip to content
Prev 333828 / 398506 Next

XLConnect readWorksheet comma decimal sign

On Nov 29, 2013, at 10:30 AM, Knut Krueger wrote:

            
Well, I suppose you were, but I was referring to the advice to ' read data with option:  dec="," '. The reason I advised to also look at colClasses was to provide a mechanism for asserting that certain columns were "numeric". With a combination of dec="," and colCalsses="numeric" you would get coercion to 'numeric' after the decimal-punkts (as ",") were changed to decimal-points (as ".").
I don't know what that means.
Until you show a reproducible example, we will not be able to offer further advice:
I was not making any advice contingent on XLConnect (other than to read it's help page to answer your question about how it was importing from xls files. My memory was that it used perl scripts but looking at its DESCRIPTION file I see that it is Java based.)
You should post the code you used and the output from head(dfrm) where dfrm is the name of the object you created with whatever code you have never shown.
If you are asking about XLConnect then correspond with the package authors.
David Winsemius
Alameda, CA, USA