File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -184,17 +184,17 @@ pub fn start_r(
184
184
libraries. initialize_post_setup_r ( ) ;
185
185
186
186
unsafe {
187
- // Optionally run a user specified R startup script
188
- if let Some ( file) = & startup_file {
189
- r_source ( file) . or_log_error ( & format ! ( "Failed to source startup file '{file}' due to" ) ) ;
190
- }
191
-
192
187
// Register embedded routines
193
188
r_register_routines ( ) ;
194
189
195
190
// Initialize harp (after routine registration)
196
191
harp:: initialize ( ) ;
197
192
193
+ // Optionally run a user specified R startup script (after harp init)
194
+ if let Some ( file) = & startup_file {
195
+ r_source ( file) . or_log_error ( & format ! ( "Failed to source startup file '{file}' due to" ) ) ;
196
+ }
197
+
198
198
// Initialize support functions (after routine registration)
199
199
if let Err ( err) = modules:: initialize ( false ) {
200
200
log:: error!( "Can't load R modules: {err:?}" ) ;
You can’t perform that action at this time.
0 commit comments