Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Morioka-Yutaka/maxims4sas

Repository files navigation

Note: This repository is no longer maintained.

Active development has moved to PharmaForest(https://github.com/PharmaForest/maxims4sas)
Please visit the new repository for the latest updates.

maxims4sas

This package displays maxims that have deeply impressed me and that I wish to pass on to future generations.

maxims4sas

%sas_maxims;

Description:

This macro presents 50+ practical and philosophical principles aimed at
improving SAS programming habits. It can be used in training materials,
documentation, or as motivational content.

Call to the macro displays a collection of
"Maxims of Maximally Efficient SAS Programmers"
using PROC ODSTEXT with bold styling for emphasis.

Author:

Originally compiled by Kurt Bremser (2019)
Maxims of Maximally Efficient SAS Programmers

Ported by: Morioka Yutaka
Major updates and improvements by: Bartosz Jablonski

Parameters:

  • maxims - OPTIONAL, list of numbers of maxims to be printed. When empty all are printed. See examples.

Examples:

Example 1. Print all maxims.

%sas_maxims()
Image

Example 2. Print maxims 1 to 6 and maxims 42 and 52.

%sas_maxims(1:6, 42, 52)
Image

# version history
0.2.0(07August2025): Possible to select Maxims. The visual beauty of the displayed text has also been greatly improved. Thank you, Bart.
0.1.0(06August2025): Initial version

What is SAS Packages?

The package is built on top of SAS Packages framework(SPF) developed by Bartosz Jablonski.
For more information about SAS Packages framework, see SAS_PACKAGES.
You can also find more SAS Packages(SASPACs) in SASPAC.

How to use SAS Packages? (quick start)

1. Set-up SPF(SAS Packages Framework)

Firstly, create directory for your packages and assign a fileref to it.

filename packages "\path\to\your\packages";

Secondly, enable the SAS Packages Framework.
(If you don't have SAS Packages Framework installed, follow the instruction in SPF documentation to install SAS Packages Framework.)

%include packages(SPFinit.sas)

2. Install SAS package

Install SAS package you want to use using %installPackage() in SPFinit.sas.

%installPackage(packagename, sourcePath=\github\path\for\packagename)

(e.g. %installPackage(ABC, sourcePath=https://github.com/XXXXX/ABC/raw/main/))

3. Load SAS package

Load SAS package you want to use using %loadPackage() in SPFinit.sas.

%loadPackage(packagename)

Enjoy😁

About

This package displays maxims that have deeply impressed me and that I wish to pass on to future generations.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.sas

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages