search for: runfirst

Displaying 4 results from an estimated 4 matches for "runfirst".

Did you mean: rb_first
2004 Apr 15
0
Re: [R] Execute function at startup
...iring up Rcmdr for instance. #It's possible to install a .First function for such users, but it #would be easier if the capability was built in. Fair enough-- I hadn't realized. One sneaky possibility without changing R itself: how about writing a miniscule package that simply looks for a RUNFIRST environment variable and executes it? This functionality could either be in the R source file for the package, or in the .First.lib function (decisions, decisions...)-- there wouldn't be any other functions in the package. To use the functionality, the package would just be added to the default...
2004 Apr 14
1
Re: [R] Execute function at startup
I think you can already do this via .First(). If you start your .First with something like this [give or take some parentheses] if( !is.null( runfirst <- Sys.getenv( 'RUNFIRST'))) try( eval( parse( text=runfirst)))) then whatever you pass in as RUNFIRST=... should get executed on startup. Could even be a call to source(...) if you want to source a particular file. I have a similar switch at the start of my own .First, which bypasses...
2010 Feb 11
8
Launch many scripts with reboot
I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Thanks for all your answers -- Cordialement, / Greetings, Georghy FUSCO
2007 Mar 26
1
Problem in loading all packages all at once
...","vioplot","VLMC","wavelets","wave slim","wavethresh","wccsom","WhatIf") TEMP <- c(TEMP,"wle","XML","xtable","Zelig","zicounts","zoo") #TEMP <- c(TEMP,"runfirst") #TEMP <- c(TEMP,"runfirst","base","datasets", "utils", "grDevices", "graphics","stats","methods","lmtest") print ("MODIFIED R_DEFAULT_PACKAGES+++++++++++") print (TEMP) print ("+++++...