Re: [R] RQDA/RGtk2 Installation Problem

2018-04-14 Thread David Winsemius
> On Apr 14, 2018, at 7:11 PM, Ryoko Yamamoto wrote: > > Greetings, > > I have been having a problem installing RQDA on my Mac (OS 10.13.2). I > followed the installation process on the RQDA page ( > http://rqda.r-forge.r-project.org/), but I keep getting an error message > saying that I am mis

[R] RQDA/RGtk2 Installation Problem

2018-04-14 Thread Ryoko Yamamoto
Greetings, I have been having a problem installing RQDA on my Mac (OS 10.13.2). I followed the installation process on the RQDA page ( http://rqda.r-forge.r-project.org/), but I keep getting an error message saying that I am missing pkg-config and GTK. I reinstalled XQuartz and GTK+ 2.24.17 multip

Re: [R] about family=binomial in glm funtion

2018-04-14 Thread Duncan Murdoch
On 14/04/2018 5:33 PM, Zhang Wilson wrote: Hei, I just wonder the use of family=binomial in glm function. As I learned from book (e.g. Andy Field) that logistic regression (binary logit) can use glm funtion with family = binomial. Here the y is a factor variable (e.g. value = 1 or 2). Bu

[R] about family=binomial in glm funtion

2018-04-14 Thread Zhang Wilson
Hei, I just wonder the use of family=binomial in glm function. As I learned from book (e.g. Andy Field) that logistic regression (binary logit) can use glm funtion with family = binomial. Here the y is a factor variable (e.g. value = 1 or 2). But I have also seen i many other cases, same func

Re: [R] Fwd: Re: Reading xpt files into R

2018-04-14 Thread William Dunlap via R-help
> When I look at the SASxport::read.xport function code, it is in fact, _not_ the > same function. But it does have the R statement about what it thinks > qualifies as a SAS xprot file: > > xport.file.header <- "HEADER RECORD***LIBRARY HEADER > RECORD!!!00 " >

Re: [R] Fwd: Re: Reading xpt files into R

2018-04-14 Thread David Winsemius
> On Apr 14, 2018, at 12:18 PM, WRAY NICHOLAS via R-help > wrote: > > > Original Message -- > From: WRAY NICHOLAS > To: peter dalgaard > Date: 14 April 2018 at 20:18 > Subject: Re: [R] Reading xpt files into R > > > Well yesterday I'd downloaded the "foreign" package and t

Re: [R] Fwd: Re: Reading xpt files into R

2018-04-14 Thread William Dunlap via R-help
Does read.xport read both version 5 and version 8 xpt files? This link to the Library of Congress can get you started on how to interpret the header. (It states that Version 8 was introduced in 2012 but was not in wide use as of early 2017.) https://www.loc.gov/preservation/digital/formats/fdd/f

[R] Fwd: Re: Reading xpt files into R

2018-04-14 Thread WRAY NICHOLAS via R-help
Original Message -- From: WRAY NICHOLAS To: peter dalgaard Date: 14 April 2018 at 20:18 Subject: Re: [R] Reading xpt files into R Well yesterday I'd downloaded the "foreign" package and tried to open the xpt file using that: library(foreign) read.xport("test.xpt") I got the

Re: [R] Reading xpt files into R

2018-04-14 Thread peter dalgaard
That's what he tried, but the bottom line is that just because something is called foo.xpt there is no guarantee that it actually is a SAS XPORT file. Firefox plugins use the same extension but it could really be anything - naming conventions are just that: conventions. So dig deeper and find o