similar to: Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)

Displaying 20 results from an estimated 200 matches similar to: "Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)"

2002 Dec 25
0
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
Scot, Thanks for the info. I will try your code out to verify the result, but before I do that, will your code (SAS and R) work with variable names that are longer than 8 characters long without truncating the variable name in R? Also, I wonder about using your method or the PROC EXPORT method with larger data sets. The data sets I will be working with for the most part will not be that large,
2002 Dec 21
2
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
>>>>> "Stephen" == Stephen Arthur <sarthur67 at yahoo.com> writes: Stephen> The SAS data set I PROC CPORTed is [9] the result is [10]. Stephen> I PROC CIMPORTed [10] back to its orginal state [9], and it Stephen> worked. Stephen> So the SAS people think that the error is not with the SAS Stephen> XPORT file, but with R trying to load a text
2002 Dec 25
0
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
Scot, Thanks for the additional information. On further reflection... whether one uses SAS PROC EXPORT or uses a SAS LIBNAME yourfile XPORT 'yourpathname'; statement, an intermediate file is created in either case. As far as experience tells me now, PROC EXPORT is a far superior choice, because variable names do not get truncated and you only have to deal with reading in a simple text
2002 Dec 20
1
read.ssd {foreign} (Reading a permanent SAS dataset into an R data frame)
I just downloaded and installed R 1.6.1 on my Windows machine where I also run SAS. I want to use the 'read.ssd' function so that I can convert a permanent SAS data set into an R data frame. I downloaded and installed the package 'foreign' on my machine, which includes the 'read.ssd' function. I read the instructions, and followed the example closely in the R
2005 Sep 26
1
reading SAS data files
I am attempting to read in a SAS 9.1 data file. After starting R I change to the directory containing the sas data file and use the "dir" command to confirm that it is there. Then I run the following R-code: library(foreign) sashome <- "/Program Files/SAS/SAS 9.1" test<-read.ssd(file.path(sashome), "pcb", sascmd = file.path(sashome,
2009 Oct 20
2
Problems importing Unix SAS .ssd04 file to R (Win)
Hello, I'm trying to import a SAS file made using SAS on Unix. Currently I'm using SAS on Windows and I'm trying to import that .ssd04 file to R. The file name of the file is testfile.ssd04 and it is located in 'M:\sasuser'. I'm using Windows XP and R 2.91. Basically what I'm doing is ############ r code ############## > library(foreign) > sashome <-
2007 Apr 23
0
Correction to PR #9631 (PR#9632)
Full_Name: Jeff Hallman Version: 2.4.1 OS: Linux Submission from: (NULL) (132.200.32.34) When I filed this a few minutes ago, I left off the rewritten read.ssd(). I've included it at the end this time. read.ssd() invokes PROC COPY to create an xport file, but PROC COPY has some annoying limitations that read.ssd() should deal with. The first is that PROC COPY doesn't work with member
2000 Jul 13
0
q() again and again and again
Rer's, Get ready for this intellectual fest! Linux i686 2.2.14-1mdklinus R-1.0.1 When I try to q() from my workspace, I get the following responses: ############################### > q() Save workspace image? [y/n/c]: y Error: can't save data -- unable to open ./.RData then: > save.image() Error in save(list, file, ascii, oldstyle) : unable to open file and finally:
2006 Jun 14
0
Functional test problem
Embarrassingly late (apps already well advanced), have decided top get to grips with testing and am having a week hopefully covering everything I''ve already coded (so far it''s been worth it -- found a couple of bugs might not have found otherwise). But having a bit of a prob with a functional test. I''m trying to enumerate through through a list of users in a
2001 Mar 23
1
Special Functions calculations
Hello r-help, I notice that r includes distribution, and quantile values for the Chi-Square, F, t, and normal functions. Could someone give me some good reference(s) for how these probabilities and quantiles are calculated. I have already calculated the normal probability values using a Taylor expansion (http://www.sisweb.com/math/tables.htm). I realize these calculations must be very
2000 Jul 06
0
Fwd: Re: couldn't find function ...
Forwarded Message: > To: Steve Arthur <sarthur at crick.protogene.com> > From: Thomas Lumley <thomas at biostat.washington.edu> > Subject: Re: [R] couldn't find function "..." > Date: Wed, 5 Jul 2000 16:16:25 -0700 (PDT) > ----- > On Wed, 5 Jul 2000, Steve Arthur wrote: > > > Hi, > > > > R 1.0.1, on Linux(mandrake/RedHat).
2006 Jun 15
5
[Fwd: Functional test problem]
Anyone? -------- Original Message -------- Subject: Functional test problem Date: Wed, 14 Jun 2006 19:49:03 +0100 From: Chris T <ctmailinglists@gmail.com> Reply-To: ctmailinglists@gmail.com To: rails@lists.rubyonrails.org Embarrassingly late (apps already well advanced), have decided top get to grips with testing and am having a week hopefully covering everything I''ve
2011 Mar 06
1
read.ssd() from foreign package
Hi, I am encountering a confusing problem when I tried to use read.ssd to read SAS datasets. For one SAS dataset "a.sas7bdat", it did not work; while for another SAS dataset "b.sas7bdat" it worked: > tmp<-read.ssd("C:\\SASdata", "a",sascmd="C:/Program >Files/SAS/SASFoundation/9.2/sas.exe") SAS failed. SAS program at
2000 Aug 03
1
multiple comparison tests & simultaneous multiple plots
I am not sure if my message made it through, so here it is again! Hi Rer's, R-1.1.0 I have two questions for you: 1) I am trying to complete a multiple comparison test after completing a one-way ANOVA on some data. I think this is pretty reasonable. aov(MetricSubset ~ GeneNameFactor) works pairwise.t.test(MetricSubset,GeneNameSubset,p.adjuxt.method=bonferroni,p ool.sd=FALSE)
2000 Jul 05
2
couldn't find function "..."
Hi, R 1.0.1, on Linux(mandrake/RedHat). I am trying to write my first function using R and I need help figuring out the error I have indicated in the Subject line above. The purpose of the function is not to "wow" anyone, but just to serve as a stepping stone so that I might write more complicated functions in the future. First I created my function named "CIfunc" and saved
2000 Jul 11
1
q() problem and more.
Hi Rers, W/o trying to make a long story short (I hope you read that correctly), I have been working on a nice little R function ... Somewhere along the line I got an error that refers to a max function in my function (I think this is a vector vs. scalar issue): Error in max(..., na.rm = na.rm) : invalid "mode" of argument If that's not bad enough, even when I q() R and say
2010 Oct 01
3
scoping goes wrong when some functions are used within others.
Dear, I'm following the r tag on stackoverflow.com, and couldn't but notice there are quite some questions popping up that deal with scoping in relation to custom functions. I grinded my teeth on it already, and I have absolutely no clue what goes wrong. The general pattern is as follows : ff <- function(x){ y <- some_value some_function(y) } > ff(x) Error in eval(expr,
2010 Mar 25
2
permanent flags (are very permanent)
Hello, first of all i am not sure wheter this is a correct behavior according to the RFC or not... Problem is, when i set a new custom permanent flag (e.g. testflag) and remove it afterwards, the flag still stays in the list of the permanent flags of this drawer even if there are no messages left with this flag set. So the keyword list gets "polluted" with unused flags. * OK
2007 Sep 26
1
how to make setting using tc command as permanent.
Hi, I am facing a problem.Suppose i made some QOS configuration using tc. But if system reboots, it disappears. How to make tc setting permanent. Regards, Raghuvendra Kumar | BTSL 414 | Ext 011-41619770 | Desk +91-9818143739 | Mobile raghuvendra.kumar@bhartitelesoft.com | EMail
2004 Nov 24
1
Can I add the permanent ip address on an interface ?
Hello , I used Vmware 4.0 to setup a virtual linux network . I added a new virtual PC and therefore I need to add a NIC on old virtual PC . I setup the ip address of this NIC by using the command : ip addr add 192..../ 24 dev eth1 but when I restart the computer the ip address of this NIC was not saved . And the tc script I used was not save when I turn off my computer , too . Could