Hemken / SASmarkdown

A collection of R functions that extends knitr's capability for using SAS as a language engine
Other
21 stars 5 forks source link

Error: attempt to use zero-length variable name #5

Closed pressleydavid closed 6 years ago

pressleydavid commented 6 years ago

I get the error whenever I attempt the examples at: https://www.ssc.wisc.edu/~hemken/SASworkshops/Markdown/SASmdpackage.html

Statements Executed and Log:

install.packages("SASmarkdown") Error in install.packages : Updating loaded packages Restarting R session... install.packages("SASmarkdown") Installing package into ‘\CLINICALVM1/Users//Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/SASmarkdown_0.4.3.zip' Content type 'application/zip' length 543587 bytes (530 KB) downloaded 530 KB package ‘SASmarkdown’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\\AppData\Local\Temp\2\RtmpsfrEvn\downloaded_packages help(package="SASmarkdown") require(SASmarkdown) Loading required package: SASmarkdown sas, saslog, sashtml, and sashtmllog engines are now ready to use. saspath <- "C:/Program Files/SASHome/SASFoundation/9.4/sas.exe" sasopts <- "-nosplash -ls 75" knitr::opts_chunk$set(engine='sas', engine.path=saspath, engine.opts=sasopts, comment="")


Error: attempt to use zero-length variable name
Hemken commented 6 years ago

I cannot replicate this error. What operating system are you using? Are these command issued within a source document? Please send me the document you are trying to process?

Doug Hemken

From: David Pressley [mailto:notifications@github.com] Sent: Saturday, December 02, 2017 12:22 PM To: Hemken/SASmarkdown Cc: Subscribed Subject: [Hemken/SASmarkdown] Error: attempt to use zero-length variable name (#5)

I get the error whenever I attempt the examples at: https://www.ssc.wisc.edu/~hemken/SASworkshops/Markdown/SASmdpackage.htmlhttps://www.ssc.wisc.edu/%7Ehemken/SASworkshops/Markdown/SASmdpackage.html

Statements Executed and Log:

install.packages("SASmarkdown") Error in install.packages : Updating loaded packages Restarting R session... install.packages("SASmarkdown") Installing package into ‘\CLINICALVM1/Users//Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/SASmarkdown_0.4.3.zip' Content type 'application/zip' length 543587 bytes (530 KB) downloaded 530 KB package ‘SASmarkdown’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\AppData\Local\Temp\2\RtmpsfrEvn\downloaded_packages help(package="SASmarkdown") require(SASmarkdown) Loading required package: SASmarkdown sas, saslog, sashtml, and sashtmllog engines are now ready to use. saspath <- "C:/Program Files/SASHome/SASFoundation/9.4/sas.exe" sasopts <- "-nosplash -ls 75" knitr::opts_chunk$set(engine='sas', engine.path=saspath, engine.opts=sasopts, comment="")

Error: attempt to use zero-length variable name

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Hemken/SASmarkdown/issues/5, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALAWE2HzNSc1BdM9605hrPLSXKlXIlWtks5s8ZU0gaJpZM4QzZ_7.

Hemken commented 6 years ago

No response