Displaying 20 results from an estimated 38 matches for "pspp".
Did you mean:
ppp
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
...for value 0.75 for
variable YEARSJOB
8: In read.spss("gss2006.sav", to.data.frame = T, trim.factor.names = T) :
gss2006.sav: File-indicated character representation code (1252)
looks like a Windows codepage
No dat object is created from this.
I have found a work around. I installed PSPP version 0.6.0 and used
it to open the sav file, and then re-save it in SPSS sav format.
That creates an SPSS file that foreign's function can open.
I still see the warnings about redundant value labels, but as far as I
can see these are harmless. A working object is obtained like so:
> d...
2005 Feb 03
1
Efficient selection and alteration of dataframe records
...o inlcude a second variable from the 'sample'd records,
this would eliminate the need for the 'merge'.
I am running R2.0.0 on windows 2000.
Simplified code is below.
Any suggestions would be greatly appreciated.
Thanks for your time, Dan
plotdf=data.frame(
tag=1:100,
pspp=c(rep("Sp1",40),rep("Sp2",30),rep("Sp3",20),rep("Sp4",5),rep("Sp5",5)),
dim=runif(100)*100)
plotdf[1,]
abun.table=as.data.frame(table(plotdf$pspp))
#2.1 calculate Smax (count of species)
Smax=length(abun.table$Freq[abun.table$Freq>0])
Smax...
2005 Oct 11
3
8 char labels in read.spss
I was wondering why it is possible to read long labels from the CVS
files but not from the SPSS files.
I did not have much time to search for the code but I found:
in foreign_0.8-10 source file var.h.in
> /* Definition of the max length of a short string value, generally
> eight characters. */
> #define MAX_SHORT_STRING ((SIZEOF_DOUBLE)>=8 ? ((SIZEOF_DOUBLE)+1)/2*2
> : 8)
2009 Oct 10
7
SPSS long variable names
...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 data on through that
way.
I use PSPP to generate the spss data file (sav) that I read with R.
>From R I can export to MySQL, DBF and STATA to satisfy the needs of
different guys here.
The problem is the limit of 8 characters long on variable names.
Can someone help on that?
Caveman
2007 Apr 05
1
some SPSS 15 files wont open in R 2.4.0
...addition: Warning message:
/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.sav:
File-indicated character representation code (Unknown) is not ASCII
Some are fine in R, some are not.
The file opens in SPSS, and googling the error message gives
this mail about PSPP
http://www.nabble.com/problem-loading-SPSS-15.0-save-files-t2726500.html
which includes a diff for the PSPP code which opens R files
and throws that exact error message back.
R documentation says that it uses some code based on PSPP,
I can't see it in the R distribution?. Does anyone...
2011 Mar 25
2
library(foreign) read.spss warning
...of the data seems to read in a usable form, but I'm curious about what might be getting lost because I don't know how to translate type 7, subtype 21. I did not generate the SPSS data so I'm not certain of the version, but I'm assuming version 18 or 19. I did a quick Find on the PSPP manual for Type 7 and subtype 21 and came up dry.
Any insights or clues how I might learn more?
Thanks,
Rob
> R.Version()
$platform
[1] "i386-pc-mingw32"
$arch
[1] "i386"
$os
[1] "mingw32"
$system
[1] "i386, mingw32"
$status
[1] ""
$ma...
2007 Feb 16
1
SPSS and library(foreign)
...has indeed a silly label, which we can easily fix,
but I'm more worried about the 'error reading system-file header'.
Any ideas - are there multiple versions of the SPSS format, are there
OS issues? I can't find anything helpful about the format either on
the SPSS site, or on the PSPP site. We have earlier versions of SPSS
around, so we re-install one and we could re-write it if that would
help.
Anthony Staines
--
--
Dr. Anthony Staines, Senior Lecturer in Epidemiology.
***Note New Address *** Note New Address ****
School of Public Health and Population Sciences, Woodview Ho...
2010 Sep 28
2
Problema con read.spss
Hola,
Tengo problemas a la hora de cargar un archivo que originalmente está en
SPSS.
Trabajo con Fedora y uso R mediante el plugin Rgedit en gedit.
Además en Fedora no tengo SPSS, sino PSPP
Para cargar el archivo he probado estas dos cosas (escribo también el
mensaje de error que me genera R):
>library_(foreign)
>read.spss("guille.sav",to.data.frame = T)
Error en read.spss("guille.sav", to.data.frame = T) :
unable to open file: 'No existe el fichero...
2008 Dec 28
4
SPSS 11.5
Hi!
My wife needs the good, old SPSS 11.5 installed on Linux. Thanks to this forum, Wine is running as it should. But now I have a problem with SPSS: After starting the program (installation was no problem), I just see the frame of the window (which is empty - I can see the window behind it), and the first dialog screen in the middle of it. Unfortunately the dialog-screen (there you can open a
2000 Dec 12
1
An SPSS save file for testing
Saikat DebRoy is working on a revised "foreign" package (currently in
the src/contrib/Devel area on CRAN) that will include the ability to
read the SPSS save format. Since we don't use SPSS we don't have easy
access to a sample data set and have been using PSPP (see
http://pspp.stat.wisc.edu/) to generate test data. It would be more
realistic to have a small, redistributable SPSS saved dataset if
someone would be willing to contribute same.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http:/...
2007 Jun 08
4
Tools For Preparing Data For Analysis
...well you could certainly
help out R users and the developers of the products by kicking the
tires of these products. And there is a huge need for such volunteers.
1. DAP
This is an open source implementation of SAS.
The founder: Susan Bassein
Find it at: directory.fsf.org/math/stats (GNU GPL)
2. PSPP
This is an open source implementation of SPSS.
The relatively early version number might not give a good idea of how
mature the
data transformation features are, it reflects the fact that he has
only started doing the statistical tests.
The founder: Ben Pfaff, either a grad student or professor at...
2008 Jul 02
2
spss long labels
...ze, unsigned int count);
static int read_documents (struct file_handle * h);
/* Displays the message X with corrupt_msg, then jumps to the lossage
@@ -418,11 +420,15 @@
break;
case 7: /* Multiple-response sets (later versions of SPSS). */
- case 13: /* long variable names. PSPP now has code for these
- that could be ported if someone is interested. */
skip = 1;
break;
+ case 13: /* long variable names. PSPP now has code for these
+ that could be ported if someone is interested. */
+ if (!read_long_var_names(h, ext->dict, data.size, data.count)...
2008 May 10
1
problem reading .por SPSS file
...s working and my whole system is close to unusable
I've found one related thread, but even there no real solution was given
https://stat.ethz.ch/pipermail/r-help/2007-February/125071.html
Unfortunately, I have no SPSS, and I can't convert it to txt or any
other format. I was trying to use PSPP as well, but I could not
understand how to open a file in it. :(
Does any of you have an idea?
Thanks, Viktor
2003 Dec 11
2
read.spss question warning compression bias
Hello again
I have a file from SPSS in .sav format.
when I run
library(foreign)
cvar<-as.data.frame(read.spss("c:\\NDRI\\cvar\\data\\cvar2rev3.sav"))
I get a warning
Warning message:
c:\NDRI\cvar\data\cvar2rev3.sav: Compression bias (0) is not the usual
value of 100.
The data appear to be OK, but I am concerned.
(I tried searching the archives and the documenation for data
2017 Jun 27
2
Problema en lectura de datos. Memoria insuficiente
...ail.com>:
> Hola antonio, cuando tengo que leer datos de SPSS no lo hago directamente
> con R porque nunca me resulta muy bien (no es que sea un problema de R, es
> que yo no se como hacerlo bien). En lugar de eso transformo los datos a
> csv, como te sugiere Francisco, usando "pspp-convert"que viene con el
> paquete "pspp" para linux. Asi obtengo un archivo bastante bien terminado
> que puedo leer directamente en R. Si estas en windows entonces puedes
> guardar los datos directamente en csv con SPSS.
>
> Espero que te ayude, saludos !!
>
>...
1998 Nov 29
2
[Johannes Huesing <tmi0m0@sp2.power.uni-essen.de>] Media coverage
...voted
to Linux in German language, has dedicated a 13-page article to
statistical software available in Linux. One and a half pages were
dedicated to ViSta.
[material deleted]
It is worth mentioning that only R got more coverage in the article than
ViSta (other programs being Splus, Stata, P-Stat, PSPP, XploRe).
[more material deleted]
------- End of forwarded message -------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"...
2012 Feb 09
4
Getting codebook data into R
I've been trying to get some data from the National Survey for Family Growth
into R - however, the data is in a .dat file and the data I need doesn't
have any spaces or commas separating fields - rather you have to look into
the codebook and what number of digits along the line the data you need is.
The data I want are the following, where 1,12,int means that the data I'm
interested
1998 Mar 18
1
Strange Results of summary()
--l4Siqd0eqV
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
I run the following job. Please, compare the results of summary and
table concerning berufl. From similar SPSS/PSPP runs, the result of
table is correct.
Did I misunderstand anything or is there a bug?
What does the difference come from?
What does '(other)' mean?
What about the strange order of the levels?
I attach the data file at the end.
Thanks in advance, HP.
> options(digits=10)
> MiniH...
2016 Feb 29
4
problema al importar una BD que esta en formato de SPSS
Estimados, tengo que hacer un calculo muy simple, pero con una BD mas o
menos grande (250mil filas x 500 columnas) ... esta BD esta en formato
de SPSS y la importo asi:
library(foreign)
bdr <- read.spss("CASEN_2013_MN_B_Principal.sav",
use.value.labels=FALSE, to.data.frame=TRUE)
luego, quiero transformar el DF en un data.tale pues el calculo requiere
obtener promedios de
2006 Jul 31
3
read.spss 'error reading system-file header'
...e 7 encountered in system file') but it does not seem to have any
impact.
This leads me to thinking that the spss.read() slowly is growing out of
date which would be sad.
So question 1:
Does anyone know if these problems are going to be solved? I know the
read.spss() function is build on the PSPP project so maybe it takes
someone with c-knowledge to do something about it.
If someone is going to work on the problem I will be happy to help by
testing and providing problematic test-files.
Question 2
Is there some way to import spss-sav files in this case other than save
in a non-spss format...