Displaying 20 results from an estimated 6791 matches for "temp".
2013 Oct 04
1
[Bug 70130] New: unable to compile fragment shader program
...0], PERSPECTIVE
DCL IN[2], TEXCOORD[1], PERSPECTIVE
DCL IN[3], TEXCOORD[2], PERSPECTIVE
DCL IN[4], TEXCOORD[3], PERSPECTIVE
DCL IN[5], GENERIC[0], PERSPECTIVE
DCL OUT[0], COLOR
DCL SAMP[0]
DCL SAMP[1]
DCL SAMP[2]
DCL SAMP[3]
DCL SAMP[4]
DCL SAMP[5]
DCL CONST[19]
DCL CONST[0..2]
DCL CONST[4..13]
DCL TEMP[0]
DCL TEMP[1..13], LOCAL
IMM[0] FLT32 { 0.1250, 2.0000, 0.8000, 0.1000}
IMM[1] FLT32 { 7.5000, -0.5000, 0.0000, 1.0000}
IMM[2] FLT32 {16384.0000, 4098.0000, -1.0000, 4094.0000}
IMM[3] FLT32 { 0.0025, 0.0500, 0.9990, 0.0010}
IMM[4] FLT32 { 0.3333,...
2012 Jan 15
5
Fonts issue during run time
I have installed an application and there is no error during installation.
On run time it gives message:
> Could not install 160 fonts. First Uninstalled font is 1. Please reinstall the fonts
> from the setup disks.
After ignoring above message I goto open a window made file and it says that encountered a serious error. needs to close down.
Kindly advise.
Thankyou.
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt"
conn.ttt <- textConnection(temp.ttt)
source(conn.ttt, echo=TRUE) ## name of variable is echoed
close(conn.ttt)
cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed
source("c:/temp/temp.R", echo=TRUE)
temp.abc <- &qu...
2020 Mar 28
0
[klibc:update-dash] Implement stpcpy() and stpncpy()
...it a/usr/klibc/tests/stpcpy.c b/usr/klibc/tests/stpcpy.c
new file mode 100644
index 00000000..4340f61a
--- /dev/null
+++ b/usr/klibc/tests/stpcpy.c
@@ -0,0 +1,75 @@
+#include <stdio.h>
+#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
+
+int main(void)
+{
+ char temp[10];
+#define clear_temp() strcpy(temp, "XXXXXXXXX")
+ char *end;
+
+ printf("stpcpy:\n");
+
+ clear_temp();
+ end = stpcpy(temp, "123");
+ printf("'%s'len:%zu strlen:%zu\n", temp, end - temp, strlen(temp));
+ if (end != temp + 3 || memcmp(temp, "...
2016 Feb 22
2
Dealing with opencl kernel parameters in nouveau now that RES support is gone
...hen that is working I should be
>> able to adjust my llvm work (and if necessary clover) to start to
>> work again.
>>
>> Currently the test_input_global() test uses the following bit of
>> TGSI code:
>>
>> COMP
>> DCL SV[0], THREAD_ID[0]
>> DCL TEMP[0], LOCAL
>> DCL TEMP[1], LOCAL
>> IMM UINT32 { 8, 0, 0, 0 }
>>
>> BGNSUB\n"
>> UMUL TEMP[0], SV[0], IMM[0]
>> LOAD TEMP[1].xy, RINPUT, TEMP[0]
>> LOAD TEMP[0].x, RGLOBAL, TEMP[1].yyyy
>> UADD TEMP[1].x, TEMP[0...
2009 Jun 21
0
[PATCH] nv50: better insn generation
Don't use extra TEMPs unnecessarily in some cases.
---
src/gallium/drivers/nv50/nv50_program.c | 120 +++++++++++++++---------------
1 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index d7ab28a..5594560 100644
--- a/sr...
2018 May 25
2
how to make the code more efficient using lapply
...in
many excel files (each file has many columns and rows) in a directory and
extract the some rows and columns out of each file and then combine them
together into a dataframe. I use for loop which can do the work but quite
slow. How to make it faster using lapply function ? Thanks in advance!
temp.df<-c() # create an empty list to store the extracted result from each
excel file inside for-loop
for (i in list.files()) { # loop through each excel file in the directory
temp<-read_xlsx(i,sheet=1,range=cell_cols(c(1,30,38:42))) # from package
"readxl" to read in excel file...
2005 Jun 06
1
don't want xtab sorting "numeric" factors...
...our or so of trying all
types or ways to do this, I've given up for now.
I'm having trouble getting the results from xtabs to generate
"unsorted" factors. I've generated a sample data.frame I want to
create a table from, using xtabs, and the results are presented below,
> temp
treatment itpa qmd tht
1 0 100 7.287263 3.362501
2 25 100 10.461070 4.118217
3 50 100 16.671731 5.814391
4 75 100 24.033238 8.264608
5 100 100 27.554497 9.586341
6 0 200 7.032527 3.355118
7 25 200 9.632828 4.039846
8...
2002 Feb 13
0
MS Office files on NT client
...was also tidied up. It connects to Samba with
the new user's log on and password and NT explorer sees the shares and can
delete and copy/move files around. It can also create notepad and wordpad
files but cannot create MS Office 97 files any more?????!! - instead it
creates a whole lot of empty temporary files on the share and an empty file
of the Office file that was supposed to be created there.
Anyone any ideas ?
I have re-installed Office and applied service patches 1 and 2b - before
even looking at this. (Office saves files fine to other windows shares and
the local disk :-) For some r...
2016 Feb 22
4
Dealing with opencl kernel parameters in nouveau now that RES support is gone
...work (and if necessary clover) to start to
>>>> work again.
>>>>
>>>> Currently the test_input_global() test uses the following bit of
>>>> TGSI code:
>>>>
>>>> COMP
>>>> DCL SV[0], THREAD_ID[0]
>>>> DCL TEMP[0], LOCAL
>>>> DCL TEMP[1], LOCAL
>>>> IMM UINT32 { 8, 0, 0, 0 }
>>>>
>>>> BGNSUB\n"
>>>> UMUL TEMP[0], SV[0], IMM[0]
>>>> LOAD TEMP[1].xy, RINPUT, TEMP[0]
>>>> LOAD TEMP[0].x, RGLOB...
2016 Apr 07
2
Storing output of loop into list()
Hello. I am trying to store the output from a loop into a matrix. Failed so far, thanks for the help.
What I want to store into a new matrix: (just run the code once):
temps<-rnorm(400,14,0.05)
ttind<-NULL
for(ti in 1:(length(temps)-9)) {
if(temps[ti]-temps[ti+9] >= 0.1 && max(temps[ti]-temps[ti+1:9]) > -0.05)
ttind<-c(ttind,ti)
}
for(ti in 1:length(ttind)) {
print(round(temps[ttind[ti]:(ttind[ti]+9)],3))
}
My (failed) soultion...
2002 Feb 17
0
Fw: MS Office files on NT client
...It connects to Samba with
> the new user's log on and password and NT explorer sees the shares and can
> delete and copy/move files around. It can also create notepad and wordpad
> files but cannot create MS Office 97 files any more?????!! - instead it
> creates a whole lot of empty temporary files on the share and an empty
file
> of the Office file that was supposed to be created there.
>
> Anyone any ideas ?
>
> I have re-installed Office and applied service patches 1 and 2b - before
> even looking at this. (Office saves files fine to other windows shares and
&g...
2006 Nov 13
2
indexing question
I have the following set of indices, call it idx, that correspond to the
indices of a vector say temp.
[1] 31 36 41 61 66 71 91 96 101 121 126 131 151
156 161 181 186 191 211 216 221 241 246 251 271 276 281
301 306 311 331 336 341 361 366
[36] 371 391 396 401 421 426 431 451 456 461 481 486 491
511 516 521 541 546 551 571 576 581 601...
2011 Jul 27
1
Executing for loop by grouping variable within dataframe
...as follows:
locality=c("USC00020958", "USC00020958", "USC00020958", "USC00020958",
"USC00020958", "USC00021001","USC00021001", "USC00021001", "USC00021001",
"USC00021001", "USC00021001")
temp.a=c(-1.2, -1.2, -1.2, -1.2, -1.1, -2.2, -2.4, -2.6,-2.7, -2.8, -3.0)
month= c(12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11)
day= c(27, 28, 29, 30, 31, 1, 2, 3, 4, 5, 6)
df=data.frame(locality,temp.a,month,day)
> locality temp.a month day
>1 USC00020958 -1.2 12 27
>2 USC...
2018 May 25
0
how to make the code more efficient using lapply
...heck if it's the last file, just move that section outside
of the loop.
It will be executed when the loop finishes. As it is you are calling
list.files() each time
through the loop which could be slow.
In any case here's a possible way to do it. Warning: untested!
f <- function(fn) {
temp<-read_xlsx(fn,sheet=1,range=cell_cols(c(1,30,38:42)))
temp<-temp[temp$Id %in% c("geneA","geneB","geneC"),]
}
myL <- lapply( X=list.files(), FUN=f )
temp.df.all<-do.call("rbind",myL)
names(temp.df.all)<-gsub("^.*] ","",name...
2018 May 25
1
how to make the code more efficient using lapply
...dfall$Id %in% c("geneA","geneB","geneC") , ]
## I'm going to assume the colnames are all the same on input
## if that's wrong, then they have to be fixed inside the loop
## read the remaining files, appending their contents each time
for (ifl in 2:nfiles) {
temp <- read_xlsx(infiles[ifl], sheet=1, range=cell_cols(c(1,30,38:42)))
dfall <- rbind( dfall, temp[temp$Id %in% c("geneA","geneB","geneC") , ] )
}
## fix the colnames here
## write the output file here.
In Eric's approach (which I have sometimes used), all...
2006 Oct 26
4
Header of dataframe
Hi
I am fairly new to R and I would appreciate some help to hopefully a
trivial problem.
I created a function:
summary.aggregate <- function(y, ...)
{
temp.mean <- aggregate(y, FUN=mean, ...)
temp.sd <- aggregate(y, FUN=sd, ...)
temp.length <- aggregate(y, FUN=length, ...)
temp <- data.frame(cbind(mean=temp.mean$x,stdev=temp.sd$x,n=temp.length$x))
}
this outputs e.g.:
mean stdev n
1 645.6125 65.94129 60
2 655.2121 70.640...
2006 Nov 29
3
R2.4 xyplot + panel.number problem
.... The problem
is that as far as I know panel.number doesn't work in the latest
version of R. Can anyone give a hint how to solve this?
Here is the code that I used before and now doesn't work
xyplot(rate ~conc| state,Puromycin,
panel=function(x,y,panel.number,...){
panel.xyplot(x,y,...)
x.temp<-seq(0, 1.2, len = 101)
if (panel.number==1) {
y.temp<-(coef(m2.nls)[1]+coef(m2.nls)[2]) * x.temp/
(coef(m2.nls)[3] + x.temp)
panel.lines(x.temp,y.temp,col=2)}
if (panel.number==2) {
y.temp<-coef(m2.nls)[1] * x.temp/
(coef(m2.nls)[3] + x.temp)
panel.lines(x.temp,y.temp,col=2)}
},
ylab=&qu...
2006 Aug 02
1
MATLAB 6.5 under Wine
...winecfg. Odd?
What am I doing wrong here?
Thanks,
Jack.
PS Here are the errors I got when trying to install the Windows version of MATLAB from CD onto my Linux box:
jack@ubuntu:~/.wine$ wine /media/cdrom0/setup.exe
jack@ubuntu:~/.wine$ fixme:advpack:RunSetupCommandA ((nil), "C:\\windows\\temp\\IXP000.TMP\\java.inf", "WFCClean.RunNow", "C:\\windows\\temp\\IXP000.TMP", (null), (nil), 0x0000000d, (nil)): stub
fixme:advpack:RunSetupCommandA ((nil), "C:\\windows\\temp\\IXP000.TMP\\java.inf", "CleanUp", "C:\\windows\\temp\\IXP000.TMP", (n...
2004 Oct 04
2
how to change data type in data frame?
...data.frame(cbind(seq(1:5),c('a','a','b','a','b'),c('b','a','b','b','a')))
names(trash) <- c('age','typeI','typeII')
and I want to change all 'a's to be 0 and 'b's to be 1.
temp <- as.matrix(trash)
temp[temp=='a'] <- 0
temp[temp=='b'] <- 1
temp <- data.frame(temp)
the problem was that temp$typeI and temp$typeII were still factors,
whereas I want numeric type. How can I make it?
Thanks,
Auston
[[alternative HTML version deleted]]