search for: ldata

Displaying 20 results from an estimated 44 matches for "ldata".

Did you mean: data
2013 Mar 07
2
iterative extracting data from a list without keys
Dear R Users. This seems like a simple task, but I'm stuck. I have a list with 3 elements: (2 vectors and 1 matrix). I wish to extract each of these data elements using index subscripts and multiply them with a vector multiplier. What I have: > betas [1] 0.01 0.01 0.01 > LData[1] $int [1] 1 1 1 1 1 1 1 1 1 1 $date [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 152 153 154 155 156 157 158 159 160 161 [2,] 163 164 165 166 167 168 162 163 164 165 $land [1] 0 0 0 0 1 0 1 1 0 0 What I'm trying to do: I would like to have t...
2011 Jan 24
2
crazy loop error.
Dear R-users, This is a loop which is part of a bigger script. I managed to isolate the error in this loop and simplified it to the bare minimum and made it self-contained. a<-c(2,3,4,5,5,5,6,6,6,7) for(n in 1:10) { print(paste("n: ",n)) z1<-a[n] #make a list container ldata<-list() t=1 while(z1==a[n]) { #add dataframes to list ldata[[t]]<-paste("hello") n=n+1 t=t+1 } print("------End of while loop-------") for(y in 1:length(ldata)) { print(ldata[[y]]) } print(paste("n: ",n)) print("******End of for loop********") }...
2006 Apr 20
1
A question about nlme
Hello, I have used nlme to fit a model, the R syntax is like fmla0<-as.formula(paste("~",paste(colnames(ldata[,9:13]),collapse="+"),"-1")) > fmla1<-as.formula(paste("~",paste(colnames(ldata[,14:18]),collapse="+"),"-1")) > fmla2<-as.formula(paste("~",paste(colnames(ldata[,19:23]),collapse="+"),"-1")) > Block=pdBlo...
2014 Jul 20
2
[LLVMdev] [PATCH] Symbol offsets
...spíndola <rafael.espindola at gmail.com> writes: > Now that aliases can have any expressions, can't you use something like > > @data = private global [2 x i32] [i32 42, i32 43] > @symbol = alias getelementptr ([2 x i32]* @data, i32 0, i32 1) > > This produces > > .Ldata: > .long 42 # 0x2a > .long 43 # 0x2b > ... > .globl symbol > symbol = .Ldata+4 > > That is, in the object file there is only one symbol (named symbol) > and it is at offset 4. > How would one define th...
2015 Nov 06
0
Puzzled by eval
...;id", "date1", "date2"), names(Call), nomatch=0) > temp <- Call[c(1, index)] > temp[[1]] <- as.name("list") > > pf <- parent.frame(2) # the caller of the caller > data <- eval(Call$data, envir=pf) > > ldata <- eval(temp, data, enclos= pf) > date1 <- ldata$date1 > date2 <- ldata$date2 > > # Users are allowed great flexibility with dates. Both can be given > # as length 1 parameters, both can be in the data set, or one could > # be in each place....
2009 Apr 05
4
predicting values into the future
Hi: I have usually used the GROWTH() excel function to do this but now want to see if I can do this with R. I want to predict values into the future, possibly with the predict.arima Function. I have the following weekly fish weight averages: weight <- c("2.1","2.4","2.8","3.6","4.1","5.2","6.3") week <-
2015 Nov 06
4
Puzzled by eval
...riables index <- match(c("id", "date1", "date2"), names(Call), nomatch=0) temp <- Call[c(1, index)] temp[[1]] <- as.name("list") pf <- parent.frame(2) # the caller of the caller data <- eval(Call$data, envir=pf) ldata <- eval(temp, data, enclos= pf) date1 <- ldata$date1 date2 <- ldata$date2 # Users are allowed great flexibility with dates. Both can be given # as length 1 parameters, both can be in the data set, or one could # be in each place. Call model.frame with a built up...
2014 May 27
6
[LLVMdev] [PATCH] Symbol offsets
Somehow this cover letter was dropped from my symbol offsets patch set: 1. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073200.html 2. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073201.html Original message ----------------- About a year ago a proposal suggesting symbol offsets was brought to this list[1]. This proposal goes hand-in-hand with the prefix data proposal[2]
2016 Jan 14
0
[PATCH] nv50/ir: only use FILE_LOCAL_MEMORY for temp arrays that use indirection
...indirectTempArrays.insert(src.getArrayId()); } else if (src.getFile() == TGSI_FILE_BUFFER) { info->io.globalAccess |= (insn.getOpcode() == TGSI_OPCODE_LOAD) ? @@ -1434,6 +1453,7 @@ private: DataType srcTy; DataArray tData; // TGSI_FILE_TEMPORARY + DataArray lData; // TGSI_FILE_TEMPORARY, for indirect arrays DataArray aData; // TGSI_FILE_ADDRESS DataArray pData; // TGSI_FILE_PREDICATE DataArray oData; // TGSI_FILE_OUTPUT (if outputs in registers) @@ -1637,7 +1657,7 @@ Converter::getArrayForFile(unsigned file, int idx) { switch (file) { c...
2014 Jul 23
2
[LLVMdev] [PATCH] Symbol offsets
...> Now that aliases can have any expressions, can't you use something like >>> >>> @data = private global [2 x i32] [i32 42, i32 43] >>> @symbol = alias getelementptr ([2 x i32]* @data, i32 0, i32 1) >>> >>> This produces >>> >>> .Ldata: >>> .long 42 # 0x2a >>> .long 43 # 0x2b >>> ... >>> .globl symbol >>> symbol = .Ldata+4 >>> >>> That is, in the object file there is only one symbol (named symbol)...
2009 Apr 07
0
survival time ties and memory issue with aalen{timereg}.
...d found that it generates the following message. the data set I used is > dim(indf) [1] 13743 10 #R code: fit_aalen <- aalen(Surv(durdxdeathp, die) ~ 1+factor(gender), indf) #start of error message below Non unique survival times: break ties ! Break ties yourself Error in aalenBase(times, ldata, X, status, id, clusters, robust = robust, : Calloc could not allocate (13840 of 8) memory Calls: aalen -> aalenBase -> .C In addition: Warning message: In aalenBase(times, ldata, X, status, id, clusters, robust = robust, : Reached total allocation of 1535Mb: see help(memory.size) Calls:...
2011 Aug 31
3
Fitting my data to a Weibull model
Hi guys, I have a data-set that fits well into a Weibull model y = a-b*exp(-c*x^d). I want to estimate the parameters of the coefficients a, b, c and d, given x and y. Can you guys help me? Just as an example, I fit the data y <- c(1,2,3,4,10,20) and x <- c(1,7,14,25,29,30) According to this model above, and using the software CurveExpert, and I got the estimates of a (2.95),b (2.90),c
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
...pdata/nz.L ./Lmake 0 s b world.line world.linestats ../inst/mapdata/world.L ./Lmake 0 s b world2.line world2.linestats ../inst/mapdata/world2.L Cannot read left and right at line 1 make[1]: *** [world2.L] Error 1 make[1]: Leaving directory `/tmp/RtmpssTER5/R.INSTALL21eb6525/maps/src' make: *** [ldata] Error 2 ERROR: compilation failed for package ‘maps’ * removing ‘/home/brad/R/x86_64-pc-linux-gnu-library/2.13/maps’ ERROR: dependency ‘maps’ is not available for package ‘mapproj’ * removing ‘/home/brad/R/x86_64-pc-linux-gnu-library/2.13/mapproj’ The downloaded packages are in ‘/tmp/RtmpwXL9El/...
2020 Mar 20
2
RISC-V LLVM sync-up call 19 Mar 2020
...data is unlimited. Actually, the global data area, which includes the GOT and any global of local scope, is limited to 4GiB. However, the latter is limited to 2GiB, in order to guarantee addressing the GOT and the small data area, assuming this section order: 1. .got 2. .sdata .sbss 3. .ldata .lbss The .data and .bss sections, containing the globals of global scope, may follow these immediately, but can actually be placed anywhere in the memory map. It took me multiple times reading through the proposal to parse that out; it might be a good idea to reorganize the proposal so that’s e...
2020 Mar 23
2
RISC-V LLVM sync-up call 19 Mar 2020
...t; Actually, the global data area, which includes the GOT and any global of local scope, is limited to 4GiB. However, the latter is limited to 2GiB, in order to guarantee addressing the GOT and the small data area, assuming this section order: >> • .got >> • .sdata .sbss >> • .ldata .lbss >> >> The .data and .bss sections, containing the globals of global scope, may follow these immediately, but can actually be placed anywhere in the memory map. >> >> >> It took me multiple times reading through the proposal to parse that out; it might be a goo...
2020 Mar 20
2
RISC-V LLVM sync-up call 19 Mar 2020
If I’m following correctly, there are two size-limited areas. One area, limited to 2GB, is the “text” area. This contains all the code. Then there’s a “global” area, limited to 4GB, which is pointed to by the global pointer. This contains the GOT, plus a flexible area that the object file can stick small bits of data into. And then outside of both of those, additional data is unlimited. It
2018 Aug 06
1
[PATCH v4 7/8] drm/nouveau: Fix deadlocks in nouveau_connector_detect()
...r){.+.+}, at: nouveau_display_fini+0x96/0x170 [nouveau] > [ 861.548146] 1 lock held by dmesg/983: > [ 861.548889] 2 locks held by zsh/1250: > [ 861.549605] #0: 00000000348e3cf6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 > [ 861.550393] #1: 000000007009a7a8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0xc1/0x870 > [ 861.551122] 6 locks held by kworker/6:0/1329: > [ 861.551957] #0: 000000002dbf8af5 ((wq_completion)"events"){+.+.}, at: process_one_work+0x1b3/0x620 > [ 861.552765] #1: 00000000ddb499ad ((work_completion)(&notify...
2018 Jul 17
0
[PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths
...0000000407da5ec (rcu_read_lock){....}, at: debug_show_all_locks+0x23/0x185 [ 246.751535] 1 lock held by dmesg/1122: [ 246.752328] 2 locks held by zsh/1149: [ 246.753100] #0: 000000000a27c37b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 [ 246.753901] #1: 000000006cb043f7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0xc1/0x870 [ 246.755503] ============================================= [ 246.757068] NMI backtrace for cpu 1 [ 246.757858] CPU: 1 PID: 65 Comm: khungtaskd Tainted: G O 4.18.0-rc5Lyude-Test+ #3 [ 246.758653] Hardware name: LENOVO 20EQS...
2018 Jul 16
0
[PATCH 2/5] drm/nouveau: Grab RPM ref while probing outputs
...a296 (crtc_ww_class_mutex){+.+.}, at: drm_modeset_backoff+0x8a/0x1b0 [drm] [ 246.770839] 1 lock held by dmesg/1038: [ 246.771739] 2 locks held by zsh/1172: [ 246.772650] #0: 00000000836d0438 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 [ 246.773680] #1: 000000001f4f4d48 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0xc1/0x870 [ 246.775522] ============================================= So, to fix this (and any other possible deadlock issues like this that could occur in the output_poll_changed patch) we make sure that nouveau's output_poll_changed functions gr...
2018 Aug 13
6
[PATCH v7 0/5] Fix connector probing deadlocks from RPM bugs
Latest version of https://patchwork.freedesktop.org/series/46815/ , with one small change re: ilia Lyude Paul (5): drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend() drm/nouveau: Fix deadlock with fb_helper with async RPM requests drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()