search for: tm

Displaying 20 results from an estimated 4143 matches for "tm".

Did you mean: tmp
2002 Dec 14
2
[LLVMdev] really long time to compile
...ned int x[16]; unsigned int a = ctx->A; unsigned int b = ctx->B; unsigned int c = ctx->C; unsigned int d = ctx->D; unsigned int e = ctx->E; ctx->total[0] += len; if (ctx->total[0] < len) ++ctx->total[1]; while (words < endp) { unsigned int tm; int t; for (t = 0; t < 16; t++) { x[t] = (((*words) << 24) | (((*words) & 0xff00) << 8) | (((*words) >> 8) & 0xff00) | ((*words) >> 24)); words++; } do { e += (((a) << (5)) | ((a) >> (32 - (5)))) + (d ^ (b...
2010 Jan 21
2
loop on list levels and names
...actor level) Here is some part of my dataset: SPECSHOR BONE Asfc Smc epLsar cotau tx 454.390369 29.261638 0.001136 cotau tx 117.445711 4.291884 0.00056 cotau tx 381.024682 15.313017 0.002324 cotau tx 159.081789 18.134533 0.000462 cotau tm 160.641503 6.411332 0.000571 cotau tm 79.238023 3.828254 0.001182 cotau tm 143.20655 11.921899 0.000192 cotau tm 115.476996 33.116386 0.000417 cotau tm 594.256234 72.538131 0.000477 eqgre tx 188.261324 8.279096 0.000777 eqgre t...
2006 Oct 11
4
Object attributes in R
Hi, I have questions about object attributes, and how they are handled when subsetted. My examples will use: tm <- (1:10)/10 ds <- (1:10)^2 attr(tm,"units") <- "sec" attr(ds,"units") <- "cm" dat <- data.frame(tm=tm,ds=ds) attr(dat,"id") <- "test1" When a "primitive class" object (numeric, character, etc.) is subsetted,...
2012 Feb 20
10
[PATCH] hvm: Correct RTC time offset update error due to tm->tm_year
Hi In rtc_set_time, mktime is called to calculate seconds since 1970/01/01, input parameters of mktime are required to be in normal date format. Such as: year=1980, mon=12, day=31, hour=23, min=59, sec=59. However, the current input parameter of mktime is tm->tm_year, and it is the number of years since 1900. (For example, if current time is 2012/12/31, and tm->tm_year is 112). This is not suitable for requirement of mktime. So I think tm->tm_year should be changed to tm->tm_year+1900 when calling mktime. Please check the patch attached...
2010 Mar 11
6
tm[,-1]
This does what I was hoping it would: aggregate(tm[,-1],by=list(tm[,10]),FUN="mean") but I don't know what "tm[,-1]" means (well - the -1 bit anyway. Does it somehow means the whole matrix? Please don't tell me to check the manual - I tried and failed dismally... -- View this message in context: http://n4.nabble...
2010 Jan 25
2
tm installation (PR#14193)
Full_Name: Cesar Telmo Costa Version: R version 2.9.2 (2009-08-24) OS: Ubuntu kermic Submission from: (NULL) (85.241.174.237) AFTER install.packages("tm"): downloaded 317 Kb * Installing *source* package ?tm? ... ** libs gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c lazyTmMap.c -o lazyTmMap.o gcc -std=gnu99 -shared -o tm.so lazyTmMap.o -L/usr/lib/R/lib -lR ** R ** data ** inst ** preparing package for lazy loading Error in setO...
2010 Oct 01
2
[LLVMdev] interest in support for Transactional Memory?
Hi, I would like to know whether the community is interested in getting support for Transactional Memory (TM) merged in upstream LLVM. TM basically gives you transaction properties (eg, virtually atomic + isolated execution) for ordinary program code. Thus, to make incrementing a counter thread-safe, you could say __transaction { counter++; } and the compiler would transform this code so that it uses...
2007 Feb 10
1
SAS, SPSS Product Comparison Table
...I would appreciate it if the many R gurus out there would look it over and send suggestions. I'll add it as an appendix when it's done (well, as done as a moving target like this ever is!) Thanks, Bob Topic SAS Product SPSS Product R Package Advanced Models SAS/STAT SPSS Advanced Models(tm) R Automated Data Preparation None SPSS Data Preparation(tm) None? Automated Forecasting SAS Forecast Studio DecisionTime/WhatIf(tm) None? Basics SAS SPSS Base(tm) R Conjoint Analysis SAS/STAT: Transreg SPSS Conjoint(tm) Acepack? Correspondence Analysis SAS/STAT: Corresp SPSS Categories(tm) Homals,...
2012 Jan 13
3
tm package, custom reader
I need help with creating custom xml reader for use with the tm package. The objective is to crate a corpus for analysis. Files that I'm working with come from solr and are in a funky XML format never the less I'm able to parse the XML files using solrDocs.R function provided by Duncan Temple Lang. The problem I'm having that once I parse the...
2007 Aug 02
0
[LLVMdev] Debug info for conditionally defined variables?
Hi, I have this piece of code: tm = local ? localtime(&curr) : gmtime(&curr); if (!tm) return NULL; which translates into something like: ---------------------------------------------- entry: %iftmp.0 = alloca %struct.tm*, align 8 %tm = alloca %struct.tm*, align 8 ... // Declares iftmp.0 as iftmp.0 ca...
2009 Feb 27
0
POSIXlt, POSIXct, strptime, GMT and 1969-12-31 23:59:59
...uot;,"%Y-%m-%d %H:%M:%S"))) POSIXct[1:1], format: NA According to ?strptime NA should be returned if the time doesn't exist. As far as I can tell, 1969-12-31 23:59:59 does exists. Using a simple C program (source follows this message): [veblen:~/Rforge/xts] jryan% ./a.out Date as tm struct (POSIXlt):1969-12-31 23:59:59 sec: 59 min: 59 hour: 23 mday: 31 mon: 11 year: 69 wday: 3 yday: 364 seconds since the Epoch: -1 Which gives the -1. This is all run on a Intel Mac, though has been tested on FreeBSD and Ubuntu as well with the same outcome. It does seem to...
2010 Oct 26
0
[LLVMdev] interest in support for Transactional Memory?
Hi Torvald, > I would like to know whether the community is interested in getting support > for Transactional Memory (TM) merged in upstream LLVM. I guess not :( TM basically gives you > transaction properties (eg, virtually atomic + isolated execution) for > ordinary program code. Thus, to make incrementing a counter thread-safe, you > could say __transaction { counter++; } and the compiler would transfor...
2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...quot;%Z"' on most Linux systems. so after reading that, you get the correct result: > format(Sys.time(),'%H:%M',usetz=TRUE) [1] "15:57 EST" Now, the reason why I'm CCing this to R-devel is that in fact the datetime.c is somewhat weird for non-GlibC2 systems as tm.tm_zone is not initialized at all, which I suspect is a bug. Either the docs should state that %Z should not be used at all or I'd propose the following patch to make it work (warning, it's a patch against R-devel): Index: src/main/datetime.c ===========================================...
2010 Jul 19
4
problem with using tm
I have R installed on my computer and want to use the tm module. I selected a CRAN mirror then selected tm on the install package menu. This is the response I got: also installing the dependency ?slam? trying URL 'http://cran.mirrors.hoobly.com/bin/windows/contrib/2.11/slam_0.1-13.zip' Content type 'application/zip' length 41992 bytes (...
2005 Sep 23
2
Strange behaviour of as.Date function
Dear All, I'm happily extracting data of temperature from an oracle db under R via RODBC. After manipulating the extracted data I put them into a data.frame 'dati' which is as follows: > dati DATA tm. UDINE/RIVOLTO tm.TORINO/CASELLE 1 2005-07-01 22.35 23.80 2 2005-07-02 22.70 22.85 3 2005-07-03 23.80 24.30 4 2005-07- 04 23.80 25.40 .......... and > str(dati) `data.frame': 11 obs. of 3 var...
2013 May 07
2
[PATCH] Btrfs: fix passing wrong arg gfp_t to decide the correct allocation mode
...rfs/ctree.c index de6de8e..33c9061 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -553,7 +553,7 @@ static inline int tree_mod_alloc(struct btrfs_fs_info *fs_info, gfp_t flags, * once we switch from spin locks to something different, we should * honor the flags parameter here. */ - tm = *tm_ret = kzalloc(sizeof(*tm), GFP_ATOMIC); + tm = *tm_ret = kzalloc(sizeof(*tm), flags); if (!tm) return -ENOMEM; @@ -591,14 +591,14 @@ __tree_mod_log_insert_key(struct btrfs_fs_info *fs_info, static noinline int tree_mod_log_insert_key_mask(struct btrfs_fs_info *fs_info, struc...
2014 Aug 28
2
Postfix + dovecot setup
I'm trying to clarify the various ways in which I could set up Postfix + Dovecot + SpamAssassin under CentOS-7, and I'd welcome any comments on the following remarks. As far as I can see there are 3 standard ways of setting this up: 1. Use amavisd 2. Use dovecot + pigeonhole/sieve 3. Use spamass-milter At present I'm following (2), but am thinking of going over to (1), since
2018 Jun 08
4
Subsetting the "ROW"s of an object
...10,4,4,4)) > i <- seq(1,length = 10, by = 100) > > bench::mark( > arr[i, TRUE, TRUE, TRUE], > arr[i, , , ] > ) > #> # A tibble: 2 x 1 > #> expression min mean median max n_gc > #> <chr> <bch:t> <bch:t> <bch:tm> <bch:tm> <dbl> > #> 1 arr[i, TRUE,? 7.4?s 10.9?s 10.66?s 1.22ms 2 > #> 2 arr[i, , , ] 7.06?s 8.8?s 7.85?s 538.09?s 2 > > So not a huge difference, but it's there. Funny. I get similar results to yours above albeit with smaller differences...
2012 Apr 13
2
[PATCH] libxl: fix rtc_timeoffset setting
...bxl_create.c @@ -127,15 +127,6 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc, b_info->target_memkb = b_info->max_memkb; libxl_defbool_setdefault(&b_info->localtime, false); - if (libxl_defbool_val(b_info->localtime)) { - time_t t; - struct tm *tm; - - t = time(NULL); - tm = localtime(&t); - - b_info->rtc_timeoffset += tm->tm_gmtoff; - } libxl_defbool_setdefault(&b_info->disable_migrate, false); diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index 0bdd654..91c4bd8 100644 -...
2013 Feb 13
1
Error Message During ANOVA
...rk-types and their entrance behavior towards an apparatus. To do this, my coding was: df1=read.table("lemonentrance.txt", header=TRUE); df1 c(t(as.matrix(df1))) r = c(t(as.matrix(df1))) # response data r f=c("Con","Bro","OEy","Bli") k=4 n=6 tm=gl(k,1,n*k,factor(f)) tm av=aov(r~tm) Error in model.frame.default(formula = r ~ tm, drop.unused.levels = TRUE) : variable lengths differ (found for 'tm') summary(av) Error in summary(av) : object 'av' not found As you can see, I receive two error message, with teh second be...