-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with new version of spss.system.file #49
Comments
The current version on CRAN is 0.99.25.6 and the current version on GitHub is 0.99.26.3. Does the error occur with these versions as well? If yes, can you send me an example file? I am continuously using memisc with "real world" SPSS files and such an error has not occurred to me yet. |
Sorry my bad, I mistyped the number of package version. I have a problem with sending you an example file. However, if you think the .rda file would work, or there is anything else that I can do on my part to help you with the problem please let me know. |
Never mind. I'll try to figure it out without an example file. |
Could you please check whether build 0.99.26.4 (attached) solves the problem? |
No unfortunately it doesn't.
But the error now is different. Specifically:
Error in sprintf("Invalid or unsupported encoding information %d in file,
using fallback", :
invalid format '%d'; use format %s for character objects
I have also updated all my packages, and using the last version of R, so it
is not caused by obsolete packages in my computer
…On Thu, Sep 17, 2020 at 8:34 PM Martin Elff ***@***.***> wrote:
Could you please check whether build 0.99.26.4 (attached) solves the
problem?
memisc_0.99.26.4.zip
<https://github.com/melff/memisc/files/5241182/memisc_0.99.26.4.zip>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#49 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4JX73HHLWAENQTBITPOILSGJJBTANCNFSM4RQVBMZQ>
.
|
This is hopefully fixed with the latest commit. Could you please check with the attached build? |
It works now!
Though a warning is returned. I copy-paste it here in case you find it
useful
Invalid or unsupported encoding information 'WINDOWS-1256' in file, using
fallback
Converting character set to the local 'iso8859-1'.
Nevertheless, the script now works as before.
Thanks
…On Fri, Sep 18, 2020 at 1:10 PM Martin Elff ***@***.***> wrote:
This is hopefully fixed with the latest commit. Could you please check
with the attached build?
memisc_0.99.26.4.zip
<https://github.com/melff/memisc/files/5245015/memisc_0.99.26.4.zip>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#49 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4JX75JZWA4PENS22FVT5DSGM53LANCNFSM4RQVBMZQ>
.
|
Thanks for the report. Apparently 'WINDOWS-1256' is not included in the character vector returned by |
'WINDOWS-1256' indeed is missing from my machine. The script you asked me
to run returns "FALSE"
…On Fri, Sep 18, 2020 at 1:26 PM Martin Elff ***@***.***> wrote:
Thanks for the report. Apparently 'WINDOWS-1256' is not included in the
character vector returned by iconvlist() on your machine (it is on mine
though). But it still may be a (difficult to spot) bug. What do you see if
you enter "WINDOWS-1256" %in% iconvlist() into the R command line?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#49 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4JX76DQOIC6MOO2MRZUSLSGM7XDANCNFSM4RQVBMZQ>
.
|
I have been using memisc for a while to open some SPSS files.
I have just updated the package to the current version (0.99.25.5), and the function spss.system.file is not able anymore to open those files, and returns an error.
The error states that the variable "encoding" is not defined, when running the lines of code message(sprintf("File character set is '%S'.", encoding)).
The result is that the function spss.system.file fails to execute and it is not possible to load the file.
Please note that I went back using the old version of memisc (0.99.22) and with this package version I am able to correctly open the SPSS files with spss.system.file. This suggests that the problem is not with the file, but there might be a bug in the new version of spss.system.file.
P.s.
Your package has been extremely helpful over the years, thank you for your work.
The text was updated successfully, but these errors were encountered: