Changeset 2780 for trunk/examples/lang


Ignore:
Timestamp:
Feb 5, 2012 8:44:38 AM (9 years ago)
Author:
dkearney
Message:

adding function rp_utils_progress(percent,message) where percent should be an integer (but can be a double that will be coerced to an integer) between 0 and 100 representing the amount of the application that has completed, and message is a string giving information about the amount of progress complete.

Location:
trunk/examples/lang/R
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/lang/R/functions_examples.R

    r2710 r2780  
    5555is.character(result)
    5656result
     57
     58percent = as.integer(56)
     59result = rp_utils_progress(percent,"almost done...")
     60is.integer(result)
     61result
     62
     63result = rp_utils_progress(76,"almost done...")
     64is.integer(result)
     65result
     66
     67result = rp_utils_progress(36.546,"almost done...")
     68is.integer(result)
     69result
Note: See TracChangeset for help on using the changeset viewer.