Displaying 2 results from an estimated 2 matches for "55e9".
Did you mean:
559
2011 Feb 15
4
string parsing
...V4
1 200.5B 116.00 166.25 4965150
2 19.1M 3.75 5.47 8521
3 226.6B 22.73 31.58 57127000
4 886.4M 30.80 74.54 226690
5 142.4B 3.21 5.15 541804992
6 276.4M 11.98 21.30 149656
7 55.823B 9.75 18.97 89369000
now I need to do this:
--> convert 55.823B to 55e9 and 19.1M to 19e6
parse.num <- function (s) { as.numeric(gsub("M$","e6",gsub("B$","e9",s))); }
data[1]<-lapply(data[1],parse.num);
seems like awfully inefficient (two regexp substitutions),
is there a better way?
--> iterate over stocks & data...
2007 Oct 30
1
xen xm list: DomUs blocked
...;'frontend-id'': ''7''}
to /local/domain/0/backend/vif/7/0.
[2007-10-30 11:57:02 xend.XendDomainInfo 16192] DEBUG (XendDomainInfo:713)
Storing VM details:
{''shadow_memory'': ''0'', ''uuid'': ''89708af1-f491-4aed-55e9-1be3acd352b7'', ''on_reboot'': ''restart'', ''start_time'': ''1193741822.28'', ''on_poweroff'': ''destroy'', ''name'': ''work'', ''xend/restart_count'&...