Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco De Lucia
RedModRphree
Commits
fb9e190a
Commit
fb9e190a
authored
May 16, 2018
by
Marco De Lucia
Browse files
nothing
parent
681fd6e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/Surr_Train.R
View file @
fb9e190a
...
...
@@ -2,7 +2,7 @@
### Marco De Lucia, delucia@gfz-potsdam.de, 2009-2018
### Janis Jatnieks, janisj@gfz-potsdam.de, jatnieks@janis.es
### Time-stamp: "Last modified 2018-05-
09 01:07:22
delucia"
### Time-stamp: "Last modified 2018-05-
16 16:30:07
delucia"
### Licence: LGPL version 2.1
## resolve dependencies automatically
...
...
@@ -35,11 +35,11 @@ start_up <- function(session_path=FALSE, ## to disable set to a non-string
}
## load session data first
if
(
class
(
session_path
)[
1
]
==
"character"
&
file.exists
(
session_path
)
)
{
msg
(
"Loading..."
,
session_path
)
load
(
session_path
,
.GlobalEnv
)
msg
(
" OK"
)
}
##
if (class(session_path)[1]=="character" & file.exists(session_path) ) {
##
msg("Loading...",session_path)
##
load(session_path, .GlobalEnv)
##
msg(" OK")
##
}
## loading the right data is important!
## check install and load neccessary packages
msg
(
"Checking for required packages..."
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment