Re: [R] Export R outputs to SAS dataset

2020-08-27 Thread davidwk...@gmail.com
Daniel, I have used this package with success: https://cran.r-project.org/web/packages/SASxport/SASxport.pdf On Mon, Aug 24, 2020 at 3:57 PM Daniel Nordlund wrote: > It is still not clear to me (1) if you just want the printed output in > your SAS list file, or (2) if you want the actual numer

Re: [R] Export R outputs to SAS dataset

2020-08-24 Thread Daniel Nordlund
It is still not clear to me (1) if you just want the printed output in your SAS list file, or (2) if you want the actual numerical results returned to SAS so that you can do more manipulation with the numbers. If (1) you can precede your R code with sink() to output to your SAS list file  #-

Re: [R] Export R outputs to SAS dataset

2020-08-23 Thread Jomy Jose
Hi Daniel Thanks,please find the code and output #R libraries- library(tidyverse) library(MF) MFSubj(lesion ~ group, calflung) HLBoot(lesion ~ group, calflung, compare = c("con", "vac"), b = 100, B = 100, alpha = 0.05, hpd = TRUE, bca = FALSE,

Re: [R] Export R outputs to SAS dataset

2020-08-22 Thread Daniel Nordlund
On 8/22/2020 9:05 AM, Rasmus Liland wrote: On 2020-08-22 08:17 +0530, Jomy Jose wrote: | Hi | I was able to run R code via PROC IML | in SAS,so is there any way to export | the generated outputs to SAS datasets | since the R outputs don't follow data | frame structure. Dear Jomy, But perhaps yo

Re: [R] Export R outputs to SAS dataset

2020-08-22 Thread Rasmus Liland
On 2020-08-22 08:17 +0530, Jomy Jose wrote: | Hi | I was able to run R code via PROC IML | in SAS,so is there any way to export | the generated outputs to SAS datasets | since the R outputs don't follow data | frame structure. Dear Jomy, But perhaps you can take the outputs in SAS and work o