Displaying 4 results from an estimated 4 matches for "spssfile".
Did you mean:
passfile
2008 Apr 15
2
How can I import user-defined missings from Spss?
..."don't know".
*frequencies in Spss.
freq age sport.
save outfile = "C:\tmp\test.sav".
*-----------------------------------------------------------------------------------------.
2) Import the Spss Data in R. Via Hmisc or foreign - both work fine.
#import Spssdata in R
spssfile <- "C:/tmp/test.sav"
#via Hmisc
library(Hmisc)
Signs <- c("_")
mydata1 <- spss.get(spssfile,lowernames=TRUE, allow=Signs)
#via foreign
library(foreign)
mydata2 <- read.spss(spssfile,use.value.labels=TRUE, max.value.labels=Inf, to.data.frame=TRUE)
#freq in r
descri...
2002 Sep 26
3
tcltk - command=function()
...simple
tcl/tk gui-dialog for different data-file formats
i get starting problems and it would be nice
get some tips/tricks from experienced tcl/tk user in R !
tt <- tktoplevel()
label.widget <- tklabel(tt,text="Decision Tree GUI")
button.widget <- tkbutton(tt,text="Select SPSSFile",
command=function() read.spss("C:/Cummulative/data/wekaSpecial.sav",
use.value.label=T,to.data.frame=T))
tkpack(label.widget,button.widget)
tkdestroy(tt))
....how i have to use command=function() that this works like
cat command ( i get no error message but nothing happen),or b...
2004 Mar 03
2
read.spss and time/date information
...t find any information on how `read.spss' deals with date
information. As an example, I created a file containing two variables,
one numeric (values = (1, 2)) and one of type "Datum" in SPSS (german
version with values "11.02.2003" and "03.04.1999" and I get in R:
SPSSfile = url("http://www.imbe.med.uni-erlangen.de/~hothorn/dates.sav";, "rb")
SPSSdata = readBin(SPSSfile, "numeric", n = 10000)
writeBin(SPSSdata, con = "dummy.sav")
library(foreign)
read.spss("dummy.sav")
$DUMMY
[1] 1 2
$DATE
[1] 13264300800 1314247680...
2003 Jan 20
1
curious code mistakes
...t;> zz <- read.spss(name, use.value.label=T, to.data.frame=T)
Error: syntax error
>> assign("myData", zz, envir = .GlobalEnv)
Error: syntax error
>>}
Error: syntax error
>>tt <- tktoplevel()
>>button.widget <- tkbutton(tt,text="Select SPSSFile", command=getfile)
Error in .Tcl.args(...) : Object "getfile" not found
>>tkpack(button.widget)
Error in .Tcl.args(...) : Object "button.widget" not found
>>
>>
>>getfile <- function() {
+ name <- tclvalue(tkgetOpenFile(filetypes=&qu...