similar to: Exporting data to spss

Displaying 20 results from an estimated 10000 matches similar to: "Exporting data to spss"

2008 Nov 24
2
how to read .sps (SPSS file extension)?
Hi everyone, I'm trying to import .sps (SPSS portable file) file. the read.spss function (library foreign) doesn't allow to import such files. should I import in spss and then save as sav file? there is not other solutions available? what I mostly like from spss file is that they have variable labels. want is really wish to keep are the variable.labels from the spss file; so, if there is a
2009 Mar 01
1
SPSS repeated interaction contrast in R
dear all, i'm trying to reproduce an spss-anova in R. It is an 2x3x3 repeated measures desingn with repeated contrasts. In R i've coded a contrast matrix for all factors and made a split in the aov summary - but I can't get the repeated interaction contrasts. The output from SPSS looks like this: TaskSw * CongNow * CongBefore: SS df Mean Square F Sig. 1 vs. 2 1 vs. 2 1 vs. 2
2010 Dec 06
3
Please help with write.foreign(SPSS)
Dear all, I get stuck when i try to export the data into SPSS format/file using "write.foreign()" Do you know how to do it exactly? What i have done is 1) First i type the following code in R: df<-data.frame(id,year,res1) names(df)<-c("idcode","year","resarrvl")
2023 Mar 30
1
Problems with foreign
Good day My name is Jos? Oscar, I'm from Mexico and I have some questions about foreign in your write.foreig( ) function. We know that this function generates the inputs to be able to run them or execute them in another program like SPSS, SAS or Stata. In these cases, when creating an example file, a matrix and using the function to execute the .sps file directly from SPSS, I don't care or
2006 Jan 11
3
SPSS and R ? do they like each other?
... and is there also such a nice tool (like spss.get) for exporting data frames to SPSS? write.table does not keep the data frame labels - neither did the other exporting tools that I found. Thanks! Michael [[alternative HTML version deleted]]
2005 Jul 12
1
write.foreign, SPSS on Mac OS X
Hi all, I have jut installed the foreign package (v 0.8-8) on my OS X machine, and have a bit of a problem writing out a data frame in SPSS format. Specifically, the code file (the .sps format file) seems to write 3 unprintable hex values instead of double quotes. For example, in the following output ... VALUE LABELS / immDel 1 ###1### 2 ###2### 3 ###3### ... emacs tells me that
2009 Sep 01
1
Best option for exporting data frame to SPSS?
Dear list, I am leaving my old position and now need to convert my R data frames into a format that can be used by an SPSS user replacing me, without running into conversion problems. The data set consists of strings in UTF8 encoding and values in double precision floats. The data set is not terribly large, but I had bit problems getting it into R due to the large number of unfortunate characters
2012 Mar 26
2
Export Created Variables to SPSS/.csv
I haven't been successful in converting my colleagues to the world of R yet they wish to share collected data so that they may analyze it in SPSS. I know how to write to an SPSS file and it opens fine, but my problem is that it only includes the existing data - none of the variables I created within R. The procedure followed thus far: 1. Collect Data via online system 2.
2020 Oct 27
1
Exporting SPSS Dataset to STATA format
*Dear Sir/Madam,* * Subject : Exporting SPSS Dataset to STATA format* I have a SPSS file which i am able to import into R via Rcmdr or Rstudio. But i am unable to export the same file into STATA format. It would be kind of you to kindly help me achieve the same and send me a sample R script whcih could be used for the same purpose. *Thanks and Regards* *Nelgyn Tennyson *
2011 Jan 06
4
Different LLRs on multinomial logit models in R and SPSS
Hello, after calculating a multinomial logit regression on my data, I compared the output to an output retrieved with SPSS 18 (Mac). The coefficients appear to be the same, but the logLik (and therefore fit) values differ widely. Why? The regression in R: set.seed(1234) df <- data.frame( "y"=factor(sample(LETTERS[1:3], 143, repl=T, prob=c(4, 1, 10))), "a"=sample(1:5,
2005 Dec 15
1
bug?
> library(foreign) > da<-read.dta(file.choose()) > da startdat starttim enddate endtime days hoursmin secused 1 2005-01-11 2 2005-12-15 20.19 NA NA 9 > attributes(da) $datalabel [1] "Example of use of date and time functions" $time.stamp [1] "15 伿伄伓侢佋伮 2005 20" $names [1] "startdat" "starttim"
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too. I am wondering if there is a patch for the SPSS reading code on the foreign package, in order to be able to read long variable names. Right now read.spss() just trunc the names to 8 characters. Or if someone could help me on other way: I have to process everyday a lot of SPSS Syntax Files and Dat files that come from one system that can only export
2017 Sep 14
0
New CRAN Package Announcement: asciiSetupReader
I'm pleased to announce that asciiSetupReader is now on CRAN: https://cran.r-project.org/web/packages/asciiSetupReader/index.html This package allows users to read ASCII files that have an SPSS or SAS setup file (.sps or .sas). Datasets that come in these txt-sps and txt-sas paris can now be accessible through R. The function has the option of correcting value labels (e.g. 1 to Male, 2 to
2005 Jul 25
0
lda: scaling to 'disctiminant function'
Friends Briefly... In the documentation for lda in MASS it describes the value 'scaling' as 'a matrix which transforms observations into discriminint functions...'. How? Verbosely... I have a matrix of data. 9 independent variables and describing 3-classes. About 100 observations in total. A 10x100 matrix of data. I am trying to generate two discriminant functions and i
2017 Sep 14
0
New CRAN Package Announcement: asciiSetupReader
I'm pleased to announce that asciiSetupReader is now on CRAN: https://cran.r-project.org/web/packages/asciiSetupReader/index.html This package allows users to read ASCII files that have an SPSS or SAS setup file (.sps or .sas). Datasets that come in these txt-sps and txt-sas paris can now be accessible through R. The function has the option of correcting value labels (e.g. 1 to Male, 2 to
2010 Oct 20
1
Problem exporting data using write.foreign
My question is about the write.foreign() command in the foreign package. I use a command like the following to try and output data and a code file to read my data into SAS. write.foreign(data.frame.object, datafile="filepath", codefile="filepath", package="SAS", dataname="myData") With my data set, it gives the following error: Error in
2009 Mar 09
5
Help
Hello Everyone, I am trying to excess the inbuit .Fortran and .C codes of R. Can any one help me in that. For example in kmeans clustering the algorithms are written in .Fortran I want to access them and see the .Fortran syntax of the codes. Can any one help me how can I do that? Thanx, Nitin Kumar On Thu, Nov 27, 2008 at 12:00 PM, <r-help-request@r-project.org> wrote: > Send R-help
2011 Jul 01
1
como levantar en r una base en .sav (spss).
Hola Estimadas y Estimados, Alguno podrá enseñarme, en caso de que sea posible, como lvantar desde R una base (o variables) que estén en formato .sav (SPSS). Hay que aplicar una librería distinta library (RODBC)? ,que es la que llamo para levantar bases de un servidor SQL. Espero que esten bien. Muchas gracias. Saludos cordiales, Juan Manuel. Argentina - Ministero de Salud de la Nación.
2007 Apr 05
1
read.spss (package foreign) and SPSS 15.0 files
Hello, does anyone have experience with reading SPSS Version 15.0 files into R (version 2.4.1, WinXP)? I have long been sucessfully reading SPSS files with read.spss from the wonderful foreign package, but somehow after upgrading from SPSS14 to SPSS15 I seem to have problems. Trying a simple example, where test.sav is a SPSS 15.0 data file consisting of x1=c(1,2,3) and
1998 Mar 17
1
R-beta: exchanging data between R/Splus and SPSS
Hi, is there any way to exchange (A LOT OF) data between SPPS and R/Splus, i.e., I want to get data from SPSS into R. It is a huge data frame with many columns being factors, so manual conversion is out of question (and there are more data to come). Exporting ASCII from SPSS seems to loose all level names, and the portable SPSS format doesn't look too nice. I've searched S-news and