[R] Multibyte strings
Dennis Fisher
fisher at plessthan.com
Fri Sep 25 23:23:54 CEST 2015
R 3.2.0
OS X
Colleagues,
Earlier today, I initiated a series of emails regarding SASxport (which was removed from CRAN). David Winsemius proposed downloading the source code and installing with the following command:
install.packages('~/Downloads/SASxport_1.5.0.tar.gz', repos = NULL , type="source”)Th
That works and I am grateful to David for his recommendation. However, the package fails on some of the many objects that I attempted to write with:
write.xport
The error message was:
Error in nchar(var) : invalid multibyte string 3157
One work-around would be to edit out multibyte strings. Is there a simple way to find and replace them? Or is there some other clever approach that bypasses the problem?
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com
More information about the R-help
mailing list