Description Usage Arguments Value Note Author(s) References See Also
View source: R/rpsg_exporttotext.R
Exports the PSG problem from R to text files with problem in General (Text) format.
1 2  | rpsg_exporttotext(path_tofiles, problem_list, rho = parent.frame(),
  allowExt = TRUE, rpsg_suppress.Messages = FALSE)
 | 
path_tofiles | 
 character with path to *.txt file for storing PSG problem statement. All data needed for solving this problem will be stored in the same folder in separate .txt files. Name of the *.txt file for PSG problem statement should start with problem_.  | 
problem_list | 
 list with data for optimization problem. List members: 
  | 
rho | 
 optional parameter for setting frame. Default is rho = parent.frame().  | 
allowExt | 
 optional parameter defining may solver use variables from data frame defined in rho (by the default allowExt = TRUE) or not (allowExt = FALSE).  | 
rpsg_suppress.Messages | 
 optional parameter specifying if messages that may appear when you run this function should be suppressed (rpsg_suppress.Messages = TRUE) or not (by the default: rpsg_suppress.Messages = FALSE).  | 
text files with problem in General (Text) format.
rpsg_exporttotext supports two cases of input data: 
1. all PSG data objects are saved in input list, 
2. all PSG data objects are saved in Global Environment. 
In both cases input list must include PSG Problem Statement (problem_list$problem_statement)
and names of PSG data objects (names of list members or variables) should be used in Problem Statement.
Stan Uryasev [aut, cre, cph], Grigoriy Zrazhevsky [aut], Viktor Kuzmenko [aut], Alex Zrazhevsky [aut]
Maintainer: Stan Uryasev <stan.uryasev@aorda.com>
American Optimal Decisions 
Portfolio Safeguard Help
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.