Top "Sas" questions

The SAS language is a 4GL that underpins the SAS system, a suite of products centered around data processing and statistical procedures.

read.sas7bdat unable to read compressed file

I am trying to read a .sas7bdat file in R. When I use the command library(sas7bdat) read.…

r sas
infile .csv file in sas with header

I have a csv file which named dataset1.csv and it contains header with 3 variables att1 (character), att2 and att3 (…

sas load-data-infile
Can anyone help me write a R data frame as a SAS data set?

In R, I have used the write.foreign() function from the foreign library in order to write a data frame …

r sas dataset
SAS - How to get last 'n' observations from a dataset?

How can you create a SAS data set from another dataset using only the last n observations from original dataset. …

sas dataset
Macro returning a value

I created the following macro. Proc power returns table pw_cout containing column Power. The data _null_ step assigns the …

sas sas-macro
Stop SAS execution

Quick question Is there a one-liner (or something rather short) method of cancelling the execution of further SAS statements from …

sas
SAS Proc SQL Database Table Insert

Using SAS's Proc SQL, is there a way to insert records from a SAS Dataset into a table in the …

insert sas proc-sql
Concatenate quoted macro variables

I'm just trying to concatenate two quoted macro variables but there doesn't seem to be an easy way. Say we …

sas concatenation sas-macro
XPT to CSV Conversion?

Perhaps this is the wrong place for this, but I'm not quite sure where to put it. I have a …

r csv sas
Exporting multiple sas datasets into multiple excel sheets with macro?

I am looking if there is a macro that would export multiple datasets into separate excel worksheets within a workbook. …

excel sas export proc