Description Usage Arguments Value Examples
View source: R/AmerAssocIndividInvestorsAAII.R
Creates a data.frame from each file. Loads those data.frames into the "env" environment. Calls View() upon each data.frame (so the user may see the data).
1 |
SubPathFileExt |
Location of the file. Required. |
HowFileName |
String. Function name to determine which part (or all of the FileName) to be the new R object name. Expected values are "fileName", "filePostFixName", or "filePreFixName". |
env |
Target environment to load data.frames. Default is the global environment (.GlobalEnv) |
... |
Dots passed. |
String. Name of the data.frame loaded. data.frames are loaded into the environment "env".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
e <- new.env()
loadFile(c(
"C:\\Program Files (x86)\\Stock Investor\\Professional\\setup.dbf",
"C:\\Program Files (x86)\\Stock Investor\\Professional\\Static\\si_isq.dbf"
), env = e)
eFST <- new.env()
DIR <- "C:\\DATA\\AAIISIPRO\\MONTHDATE\\18565"
FSTFiles <- paste0( DIR, "\\" , dir(DIR, pattern = glob2rx("*.FST")))
loadFile(FSTFiles, env = eFST)
str(as.list(eFST))
eDBF <- new.env()
DIR <- "C:\\DATA\\AAIISIPRO\\MONTHDATE\\18565"
DBFFiles <- paste0( DIR, "\\" , dir(DIR, pattern = glob2rx("*.DBF")))
loadFile(DBFFiles, env = eDBF)
str(as.list(eDBF))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.