search for: nofirst

Displaying 3 results from an estimated 3 matches for "nofirst".

2009 Oct 18
2
Bug with .First in R 2.10
...more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. [Previously saved workspace restored] NOFIRST "" Skipping .First > head( .First) # what was it trying to do? 1 function (skip.First = Sys.getenv("NOFIRST") != "") 2 { 3 print(Sys.getenv("NO...
2009 Oct 16
0
post-installation startup problem with 2.10.0
...ecking or loading of .RData files immediately after installation. Just thought you'd like to know. I always start R in the same folder, where there's a ".RData" file that contains a '.First' function whose first lines are as follows: function( skip.First=Sys.getenv( 'NOFIRST') != '') { if( skip.First) { # useful for command line startup when bugs in .First cat( 'Skipping .First\n') return( invisible( NULL)) } ... When I launched v50082 (simply by changing the path of R in the Windows "properties" box-- no other...
2004 Apr 14
1
Re: [R] Execute function at startup
...#39;))) 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 the rest of the function if the NOFIRST variable is set-- handy for debugging .First itself. Admittedly, for this to work you must actually *have* a .First in a .Rdata file, but .First is so useful that surely everyone has one :) ? [And I reiterate the suggestion that .First should run immediately before giving control to the user-- pe...