search for: madeupname

Displaying 2 results from an estimated 2 matches for "madeupname".

2010 Aug 27
3
checking if a package is installed
...the package is installed and returning a TRUE / FALSE result so my function can return an appropriate error message and exit the function gracefully rather than just bombing out? I'm thinking along the following lines (but want code that works), f_checkpackage <- function() { if (library(madeupname) == TRUE) { cat("package loaded OK\n") } else { cat("ERROR: package not loaded") } } f_checkpackage() -- View this message in context: http://r.789695.n4.nabble.com/checking-if-a-package-is-installed-tp2340534p2340534.html Sent from the R help mailing list archive a...
2006 May 24
0
Sorting Using HABTM table joins
...th the products. Any product can have one or more artists associated with it. I then create a product listing of the whole catalog like so Artist Name 1 / Artist Name 2 / etc - Product Title CD Benumb / Pig Destroyer - Split CD Converge / Agoraphobic Nosebleed - The Poacher Diaries CD Aborted - MadeUpName CD Ben''s Band / Jerry''s Band / My Band / Your Band - Rubbish CD The problem is, I''d to sort the list alphabetically at this point, and also take account of the fact that I would like to paginate it all. The only way I can think of doing it is reading out the whole data...