All Topics | Topic: “Calling WEAP from R environment”
Author Message
Dr. Hosein Alizadeh
Subject: Calling WEAP from R environment   
Posted: 8/31/2015 Viewed: 21018 times

Hi
I'm wondering if there is anyway to call WEAP and automate it from R software environment? What are the codes needed and what task should be done before.
Best Regards
Ms. Stephanie Galaitsi
Subject: Re: Calling WEAP from R environment   
Posted: 9/8/2015 Viewed: 20946 times

Python can call WEAP, and it looks like R can call Python, so that may be the only way to do it right now.
Dr. Diana Quevedo
Subject: Re: Calling WEAP from R environment   
Posted: 6/27/2019 Viewed: 12352 times

Hi Stephanie
Do you know if now it is possible to call WEAP from R?
Best,
Diana.
Dr. Vishal Mehta
Subject: Re: Calling WEAP from R environment   
Posted: 7/1/2019 Viewed: 12307 times

Hi Diana,

You could probably call WEAP.exe from the system dialog in R - thats how you can generally call other programs from R.

Another option is to write batch script that opens WEAP; call the batch script from within R.

Hope that helps,
Vishal
Dr. Diana Quevedo
Subject: Re: Calling WEAP from R environment   
Posted: 7/3/2019 Viewed: 12290 times

Hi Vishal
Thank you for your answer. In fact, is possible to call WEAP using system(), but I haven't been able to write my initials name and click OK on popup window in this script.
Do you know how I can do it?
Thank you again.
Best regards,
Diana.
Topic: “Calling WEAP from R environment”