search for: sasuser

Displaying 7 results from an estimated 7 matches for "sasuser".

Did you mean: sasser
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 <- "C:/Program Files/SAS Institute/SAS/V8" > folder_for_datafiles <- "M:/sasuser" > read.ssd(folder_for_datafiles, "...
2002 Nov 13
0
problems with read.ssd in foreign
I'm trying to read in a sas system file (.sas7bdat) created under SAS 8.2 using read.ssd as follows: > library(foreign) > libname <- "c:/sasuser/consult/" > sascmd <- "c:/Program\ Files/SAS\ Institute/SAS/V8/sas.exe" > subset <- read.ssd(libname, "subset", sascmd=sascmd) SAS failed. SAS program at c:\windows\TEMP\Rtmp6673\file24544.sas a log and other error products should be in the vicinity Warning me...
2004 Oct 06
3
read.delim problem with trailing spaces
...desh,100,124.3,4,0,139.0,120,. Belgium,3346,17.0,3,0,11.2,12180,70.6 Benin,81,109.6,2,0,109.6,300,. Bolivia,200,60.4,1,0,77.3,570,49.7 Brazil,425,170.0,1,0,84.0,2020,60.7 Britain,2503,17.5,3,0,12.6,7920,72.0 Burma,73,200.0,4,0,195.0,180,42.3 ... and I used > nations <- read.delim("~/sasuser/data/nations2.dat",na.strings=".",row.name=1,sep=",",header=TRUE) > nations[1:10,] income imr region oilexprt imr80 gnp80 life Afghanistan 75 400.0 4 0 185.0 NA 37.5 Algeria 400 86.3 2 1 20.5 1920 50.7 Argentina...
2009 Nov 18
2
Median on Aggregated data
...ex==i) & (SIC==j),]; myMedian <- with(myData, levels(Paydex)[median(rep(as.numeric(Paydex), Counts))]); myNorm[k] <-c( as.numeric(i), as.numeric(j), as.numeric(myMedian) ); k <- k+1; } } ---------------------- Begin SAS code ------------------------------------ proc summary data=SASUser.PaydexNormfull nway; class PaydexNormingCategory SIC ; weight Counts; var Paydex; output out=outstat (drop=_type_ _freq_) median= / autoname; run; ---------------------- End SAS code ------------------------------------ Thanks for your guidance! Vivek...
2004 Feb 20
3
problem with abline for x.y
...s, and I must be doing something wrong, because the lines do not intersect at \bar{x}, \bar{y}. The problem is likely in the line for x.y, but I don't know how to specify that correctly. The data is read in grouped form( galton), and then ungrouped (galton2): galton <- read.table("~/sasuser/data/galton.txt", header=TRUE) # ungroup galton2<-galton[rep(1:nrow(galton), galton$frequency), 1:2] attach(galton) sunflowerplot(child, parent, number=frequency, xlim=c(61,75), ylim=c(61,75), xlab="Child height", ylab="Mid Parent height") # both attempts plot the...
2010 Jun 02
0
FW: ZFS disk size report
...em volume and the following sizes are reported - root# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 1.94T 945G 1.02T 47% ONLINE - root# zfs data NAME USED AVAIL REFER MOUNTPOINT data 945G 1014G 945G /sasuser v As you can see a 2TB lun has been reported as 1.94T. I have seen an article on the dsl_pool.c which shows that zfs takes 1/64th of the disk size as reserve for better allocation. However even that does not explain this much loss of space in reporting. Warm Regards Sharad Confident...
2002 Apr 26
4
SAS and R
Hello I am sure this is elementary, but I can't figure it out..... I am using SAS v8.2 and R 1.4.1 on a Windows platform. I have a large (6 megabyte) file in .sd2 format. I want to import it into R. If necessary, I can create a smaller file, as I don't need all the variables that are in this file I downloaded the package foreign. I then tried to use PROC CPORT in SAS to create a