Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk option SASnotes=FALSE removes only the first line of notes #9

Closed
mgdondon opened this issue Nov 25, 2019 · 4 comments
Closed

Comments

@mgdondon
Copy link

Hello,

The chunk option SASnotes=FALSE removes only the first line of notes :

```{r, engine="saslog", engine.path=sasexe, engine.opts=sasopts}

2          data test_note_on_two_lines;
3            set sashelp.class;
4          run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.TEST_NOTE_ON_TWO_LINES has 19 observations and 5 
      variables.
NOTE: DATA statement used (Total process time):
      real time           0.02 seconds
      cpu time            0.01 seconds

```{r, engine="saslog", engine.path=sasexe, engine.opts=sasopts, SASproctime=FALSE, SASnotes=FALSE}

2          data test_note_on_two_lines;
3            set sashelp.class;
4          run;

      variables.

Many thanks,

@Hemken
Copy link
Owner

Hemken commented Nov 25, 2019 via email

@mgdondon
Copy link
Author

mgdondon commented Nov 25, 2019

The NOTES are always followed by the NOTE "DATA statement used".

An arbitrary NOTE jumps over several lines when its length exceeds the length of the line. I tried the previous code with sasopts <-" -nosplash -ls 85 " and that's ok, but the problem will remain if the note is longer.

Many thanks,

@Hemken
Copy link
Owner

Hemken commented Nov 25, 2019 via email

@Hemken
Copy link
Owner

Hemken commented Aug 10, 2022

Revised log cleanup through SAS options

@Hemken Hemken closed this as completed Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants