Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
R-InterBase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mollenhorst, Erwin
R-InterBase
Commits
5562f7db
Commit
5562f7db
authored
2 years ago
by
Mollenhorst, Erwin
Browse files
Options
Downloads
Patches
Plain Diff
Copy active IB database to local data-folder
parent
d665508a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
appsettings.json
+1
-1
1 addition, 1 deletion
appsettings.json
testKoeEnEiwit.R
+10
-0
10 additions, 0 deletions
testKoeEnEiwit.R
with
11 additions
and
1 deletion
appsettings.json
+
1
−
1
View file @
5562f7db
...
...
@@ -2,7 +2,7 @@
"InterBase"
:
{
"driver"
:
"InterBase ODBC driver"
,
"server"
:
"localhost"
,
"database"
:
"D:/KoeEnEiwit/KoeEnEiwit.IB"
,
"database"
:
"D:/KoeEnEiwit/
R-InterBase/Data/
KoeEnEiwit.IB"
,
"username"
:
"SYSDBA"
,
"password"
:
"masterkey"
},
...
...
This diff is collapsed.
Click to expand it.
testKoeEnEiwit.R
+
10
−
0
View file @
5562f7db
...
...
@@ -3,11 +3,21 @@ cat("\nStart uitvoeren script 'testKoeEnEiwit.R' \n")
# Leegmaken van environment
rm
(
list
=
ls
())
# Define where active database is located
vDriveLetter
<-
"S:"
# drive letter used for the location of the IB database
vPathIB
<-
paste0
(
vDriveLetter
,
"/InetPub/databases/Webapplicaties/KoeEnEiwit"
)
vFileName
<-
"KOEENEIWIT.IB"
rm
(
vDriveLetter
)
rdirectory
<-
dirname
(
rstudioapi
::
getActiveDocumentContext
()
$
path
)
setwd
(
rdirectory
)
#setwd(commandArgs(trailingOnly = TRUE)[1])
getwd
()
# Create local copy of IB database
file.copy
(
file.path
(
vPathIB
,
vFileName
),
"./Data"
,
overwrite
=
T
)
rm
(
vPathIB
,
vFileName
)
# Verkrijgen van relevante libraries en functies
source
(
'./Shared/helperFunctionsInterBase.R'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment