Posts

r - Converting xts to ts: Error in Round(frequency) -

i have imported csv data have turned xts object. if try convert ts object (with end goal of using functions acf) get: "error in round(frequency) : non-numeric argument mathematical function" the code convert is: library("zoo") #working milliseconds op <- options(digits.secs=3) #rename function clean_perfmon = function(x, servername) { names(x)[names(x)=="x.pdh.csv.4.0...coordinated.universal.time..0."] <- "time" x$time = strptime(x$time, "%m/%d/%y %h:%m:%os") return(x) } web02 = read.csv("/home/kbrandt/desktop/shared/web02_2011_07_20_1.csv") web02 = clean_perfmon(web02, "ny.web02") web02ts = xts(web02[,-1], web02[,"time"]) the time regular, variation in ms: time(web02ts)[1:3] [1] "2011-07-20 11:21:50.459 edt" "2011-07-20 11:21:51.457 edt" "2011-07-20 11:21:52.456 edt" some of data has na points: > web02ts[1:3,1] x...

iphone - Force Reload Table View -

all, how force reload table view (within view controller) every 5 seconds fifteen seconds when button pressed? thanks, james first create timer when press button, nstimer *timer = [nstimer scheduledtimerwithtimeinterval:5.0 target:self selector:@selector(updatemethod) userinfo:nil repeats:yes]; then in method fires every 5 seconds - (void) updatemethod { [self.tableview reloaddata]; }

iis 7.5 - How to edit Aspnet_isapi.dll mapping in IIS 7.5? -

i trying host wcf service svc files on iis. whenever browse svc files through iis hosting shows text contained in svc files in browser. went through few msdn links change mapping of dll documents iis 6.0 , before. first time working on iis , not getting how add view dll mapping in iis 7.5 manager. http://msdn.microsoft.com/en-us/library/aa751792.aspx follow windows vista part enable windows communication foundation activation components under .net framework 3.5.1.

ios - Have 4.3 SDK only, want 3.x as well -

i know has been discussed before, didn't quote understand of answers. can tell other questions on here, i'm complete newbie when comes app creation using xcode. have sdk ios 4.3. a friend of mine wants app, has iphone 3. has not upgraded ios4. don't see reason app couldn't run @ lower ios version, it's pretty simple. so i'd know how can add previous sdks xcode library? download previous version of xcode w/ it's sdk , install that? brick xcode? if so, then? there can do, i'd written 3.x , above in mind. the simple , more straight forward answers without jargon extremely appreciated! thank you! if have ios 4.3 sdk, can target ios version preceding it. in xcode project build settings, make sure base sdk set highest have (in case 4.3) change deployment target whatever ios version want (try not go lower 3.0). make sure test though, sure not using features not present in sdk version targeting.

Ant load property file and pass value as arg when exec java file -

how can load value property file , pass arg when want execute java file? the content file of aa.properties: home_path=c:/myhome/apps the ant: <target name="tst"> <property file="aa.properties"/> <property name="homepath" value="${home_path}/"/> <java classpathref="clspath" classname="com.mytest.myapp" fork="true"> <arg value="${homepath}"/> </java> </target> you pass other argument java task via nested arg values or arg line note vmargs f.e. -dwhatever=foobar passed jvmarg java task f.e. propertyfile aa.properties looks : vmarg.foo=-dsomevalue=whatever arg.key=value arg.foo=bar ... ant then <target name="tst"> <property file="aa.properties"/> <property name="homepath" value="${home_path}/"/> <java classpathref="clspath" classname="com....

oracle - How to run this stored procedure -

i have check procedure im giving following values parameters 34220, 2815,'7/20/2011', 32760, 100, 'pmnt_check', 1, null, "", false, null, null declare p_app_id number; p_user_id number; p_date date; p_inv_ids wb_prod.wb_pck_types.t_ids; p_amnts wb_prod.wb_pck_types.t_numbers; p_pmnt_method varchar2(15); p_bank_ac_from number; p_check_numbers wb_prod.wb_pck_types.t_numbers; p_memo varchar2(1000); p_pay_multiple number; p_crd_ids wb_prod.wb_pck_types.t_ids; p_crd_amounts wb_prod.wb_pck_types.t_prices; o_py_id number; begin p_app_id := 34220; p_user_id := 2815; p_date := '7/20/2011'; -- modify code initialize variable p_inv_ids := 32760; -- modify code initialize variable p_amnts := 100; p_pmnt_method := 'pmnt_check'; p_bank_ac_from := 1; -- modify code initialize variable --p_check_numbers := null; p_memo := ''; p_pay_multiple := false; -- modify code initialize variable -- p...

Import email contacts (Gmail Yahoo Hotmail) using CakePHP -

is there ready use cakephp plugin or component import gmail, yahoo , hotmail contacts, can send invitations user's friends? if not, easy way it, novice cakephp so, step step tutorial appreciated! you might want start taking @ openinviter cakephp . alternatively, hosted solutions: invitebox (beta, can request invite) free tell-a-friend