Displaying 5 results from an estimated 5 matches for "thenew".
2005 Sep 01
1
controlling where *.Rout gets printed. Possible?
...allAll.R-------------
# Paul Johnson <pauljohn _AT_ ku.edu> 2005-08-31
# This should update and then install all packages, except for
# ones I exclude because they don't work or we don't want them.
options(repos = "http://lib.stat.cmu.edu/R/CRAN/")
update.packages(ask=F)
theNew <- new.packages()
failPackages <-
c("BRugs","GDD","gtkDevice","gap","gnomeGUI","mimR","ncdf","pathmix","rcdd","rgdal","rpvm",
"Rmpi","RQuantLib","RMySQL"...
2006 Apr 05
2
Problems in package management after Linux system upgrade
...<- installedPackages %in% failPackages
# remove any blacklisted packages if they are already installed.
if (sum(needRemoval) >0) remove.packages(installedPackages[needRemoval] )
#update the ones you want to keep
update.packages(ask=F, checkBuilt=T)
#get list of all new packages on CRAN
theNew <- new.packages()
#do any of the new packages belong to the black list?
shouldFail <- theNew %in% failPackages
#install non blacklisted packages that are in theNew list
if (sum(!shouldFail) > 0) install.packages( theNew[!shouldFail],dependencies=T)
# VGAM is not in CRAN yet, but Zelig...
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
...<- installedPackages %in% failPackages
# remove any blacklisted packages if they are already installed.
if (sum(needRemoval) >0) remove.packages(installedPackages[needRemoval] )
#update the ones you want to keep
update.packages(ask=F, checkBuilt=T)
#get list of all new packages on CRAN
theNew <- new.packages()
#do any of the new packages belong to the black list?
shouldFail <- theNew %in% failPackages
#install non blacklisted packages that are in theNew list
if (sum(!shouldFail) > 0) install.packages( theNew[!shouldFail],dependencies=T)
--
Paul E. Johnson
Professor, Po...
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
...<- installedPackages %in% failPackages
# remove any blacklisted packages if they are already installed.
if (sum(needRemoval) >0) remove.packages(installedPackages[needRemoval] )
#update the ones you want to keep
update.packages(ask=F, checkBuilt=T)
#get list of all new packages on CRAN
theNew <- new.packages()
#do any of the new packages belong to the black list?
shouldFail <- theNew %in% failPackages
#install non blacklisted packages that are in theNew list
if (sum(!shouldFail) > 0) install.packages( theNew[!shouldFail],dependencies=T)
--
Paul E. Johnson
Professor, Po...
2007 May 22
3
can I use acts_as_list with a has_many :through association
...Activity.find_by_name("Brownian motion")
>> activity_mixing = Activity.find_by_name("Temperature of mixing
>>water - TEEMSS demo")
>> my_unit = Unit.create(:name => "My First Unit", :description => "A
>>simple test unit to see if thenew associations work")
>> my_unit.activities.push(activity_crystals, activity_browning,
>>activity_mixing)
>> my_unit.activities.each { |a| puts "#{a.id}: #{a.name}" }; nil
55: Molecular crystals
42: Brownian motion
25: Temperature of mixing water - TEEMSS demo
H...