Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Joseph Voelkel
tible with this version, although version 6 was the current version > between 2001 and 2005). > > Best, > Wolfgang > >> -Original Message- >> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Kevin Thorpe >> Sent: Tuesday, 17 January, 2023 13:07 >>

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread avi.e.gross
Good luck with that. -Original Message- From: R-help On Behalf Of Jan van der Laan Sent: Tuesday, January 17, 2023 9:09 AM To: r-help@r-project.org Subject: Re: [R] foreign package: unable to read S-Plus objects You could try to see what stattransfer can make of it. They have a free ve

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Uwe Ligges
ge- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Kevin Thorpe Sent: Tuesday, 17 January, 2023 13:07 To: Joseph Voelkel Cc: R Help Mailing List Subject: Re: [R] foreign package: unable to read S-Plus objects I think you may be right about the cause. From the, “R Data Import/Ex

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Jan van der Laan
You could try to see what stattransfer can make of it. They have a free version that imports only part of the data. You could use that to see if stattransfer would help and perhaps discover what format it is in. HTH Jsn On 16-01-2023 23:22, Joseph Voelkel wrote: Dear foreign maintainers and

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Viechtbauer, Wolfgang (NP)
t: Tuesday, 17 January, 2023 13:07 >To: Joseph Voelkel >Cc: R Help Mailing List >Subject: Re: [R] foreign package: unable to read S-Plus objects > >I think you may be right about the cause. From the, “R Data Import/Export” >document I find, > >Function read.S which can read bin

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Kevin Thorpe
I think you may be right about the cause. From the, “R Data Import/Export” document I find, Function read.S which can read binary objects produced by S-PLUS 3.x, 4.x or 2000 on (32-bit) Unix or Windows (and can read them on a different OS). This is able to read many but not all S objects: in pa

[R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Joseph Voelkel
Dear foreign maintainers and others, I am trying to import a number of S-Plus objects into R. The only way I see how to do this is by using the foreign package. However, when I try to do this I receive an error message. A snippet of code and the error message follows: read.S(file.path(Spath, "

Re: [R] foreign package read.spss() and NA levels

2021-06-08 Thread Allen, Justin
ut the problem was in the dataset as I said. Many Thanks, Justin Justin Allen Housing Consultant, BRE<https://bregroup.com/> T: 07807122647 From: Uwe Ligges Sent: 04 June 2021 10:57 To: Allen, Justin ; R-help@r-project.org Cc: Whiteley, Jonathon ; Foster, H

Re: [R] foreign package read.spss() and NA levels

2021-06-04 Thread Uwe Ligges
e=sav, to.data.frame=TRUE, use.missings=FALSE) table(dat$DAYOFWK, useNA="always") you see the NA values are converted to a factor level called "MISSING". If it is different on your end, pelase try in plain R, tell us the version of R / foreign and show an example data file wher

[R] foreign package read.spss() and NA levels

2021-05-27 Thread Allen, Justin
Hi All, Wanted to report what may be a bug or possibly an oversight, but I am unsure, in the "foreign" packages in the read.spss() command, https://cran.r-project.org/web/packages/foreign/index.html. When running the following code, input <- read.spss("[.sav file location]", to.data.frame = TR

[R] foreign:::writeForeignSPSS vs. write.foreign(df, datafile, codefile, package='spss')

2015-01-29 Thread Simon Kiss
Hello: I discovered recently that the function foreign:::writeForeignSPSS allows for variable names longer than 8 characters and has an additional argument varnames. Neither of these capabilities exist with write.foreign. But according to the help file for write.foreign it seems that the latter

[R] Foreign function interface

2014-04-19 Thread Alex van der Spek
I read the Foreign Function Interface for R. The documentation does not prescribe the calling convention though. Does that mean __stdcall on W32 and __cdecl for Linux? Regards, Alex van der Spek __ R-help@r-project.org mailing list https://stat.ethz.

Re: [R] foreign package problem with stata 13

2013-10-02 Thread Pablo Menese Camargo
The thing is, the oldest version in wich stata 13 save, is stata12. I can use this, but would be a good momento to upgrade foreign package. thanks a lot anyways!!! On Wed, Oct 2, 2013 at 8:04 PM, Richard Kwock wrote: > Use "saveold" instead of "save" when you save your dataset in stata. > > I do

Re: [R] foreign package problem with stata 13

2013-10-02 Thread Richard Kwock
Use "saveold" instead of "save" when you save your dataset in stata. I don't think foreign library in R supports stata 13 yet. Richard On Wed, Oct 2, 2013 at 3:11 PM, Pablo Menese Camargo wrote: > foreign package does not support dataset saved at stata 13. > anyone knows any wayt to make it wor

[R] foreign package problem with stata 13

2013-10-02 Thread Pablo Menese Camargo
foreign package does not support dataset saved at stata 13. anyone knows any wayt to make it works? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] foreign package install on Solaris 10 + R-2.7.1

2009-03-10 Thread Sarosh Jamal
ipley [mailto:rip...@stats.ox.ac.uk] Sent: Tuesday, March 10, 2009 3:02 AM To: Sarosh Jamal Cc: r-h...@lists.r-project.org Subject: Re: [R] foreign package install on Solaris 10 + R-2.7.1 On Mon, 9 Mar 2009, Sarosh Jamal wrote: > Hello, > > I've been having trouble installing package

Re: [R] foreign package install on Solaris 10 + R-2.7.1

2009-03-10 Thread Prof Brian Ripley
On Mon, 9 Mar 2009, Sarosh Jamal wrote: Hello, I've been having trouble installing package "spdep" for R-2.7.1 on our Solaris 10 (sparc) server. Namely the two dependencies for this package do not install properly: "foreign" and "maptools" I understand that Solaris 10 may not be an offici

[R] foreign package install on Solaris 10 + R-2.7.1

2009-03-09 Thread Sarosh Jamal
Hello, I've been having trouble installing package "spdep" for R-2.7.1 on our Solaris 10 (sparc) server. Namely the two dependencies for this package do not install properly: "foreign" and "maptools" I understand that Solaris 10 may not be an officially supported platform but any help/feedbac

Re: [R] Foreign function call

2009-02-04 Thread rkevinburton
Thank you that helps alot. Now the question is how do I know that it is in the 'stats' package? getNativeSymbolInfo doesn't seem to find 'RTSconv'. Kevin Sundar Dorai-Raj wrote: > You're missing that "R_TSConv" is an R object. You can use > stats:::R_TSConv to see the value. Not sure how

Re: [R] Foreign function call

2009-02-04 Thread Sundar Dorai-Raj
You're missing that "R_TSConv" is an R object. You can use stats:::R_TSConv to see the value. Not sure how this helps you though. On Wed, Feb 4, 2009 at 10:08 AM, wrote: > Let me get more specific. I think it this can be answered then I can > translate the information to other calls. In the ari

[R] Foreign function call

2009-02-04 Thread rkevinburton
Let me get more specific. I think it this can be answered then I can translate the information to other calls. In the arima 'R' code there is a reference to .Call(R_TSconv, a, b) If from the console I type: > .Call(R_TSConv, c(1,-1), c(1,-1)) I get: Error: object "R_TSConv" not found If I do

[R] foreign

2008-10-27 Thread Paloma Main
I have problems to read (file read error) Minitab Portable Files (Minitab13) with read.mtp(foreign) for R versions posterior to R.6.0. Thanks P. Main __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea