search for: tri

Displaying 20 results from an estimated 264114 matches for "tri".

Did you mean: tr
2013 Apr 16
1
testInstalledBasic / testInstalledPackages
...generation -- fails occasionally running code in ?p-r-random-tests.R? comparing ?p-r-random-tests.Rout? to ?p-r-random-tests.Rout.save? ... OK running tests of primitives running code in ?primitives.R? running regexp regression tests running code in ?utf8-regex.R? running tests to possibly trigger segfaults creating ?no-segfault.R? running code in ?no-segfault.R? Warning message: running command 'diff -bw "C:\Users\TRINA_~1\AppData\Local\Temp\Rtmp2FwZXW\Rdiffa1a88562f12b" "C:\Users\TRINA_~1\AppData\Local\Temp\Rtmp2FwZXW\Rdiffb1a8848c57620"' had status 1 Whe...
1998 Nov 16
5
Solaris make for 0.63 failing
I shouldn't try to do this on Monday morning. Can anyone suggest why the make for R 0.63 is failing for me under Solaris (SunOS 5.6). Paul Gilbert ... creating src/scripts/html2dos creating tests/Makefile creating tests/Examples/Makefile creating src/include/Platform.h R is now configured for sparc-sun-solaris2.6 Source directory: . Installation directory: /usr/local C
2011 Feb 10
1
Recovering data from disk with loose cable
We have a disk array behind two external SATA port multipliers (four disks on each multiplier) which has been running btrfs (RAID 1 for both data and metadata). Unfortunately, earlier today it seems one of the SATA cables came loose, resulting in the kernel (2.6.37) eventually OOPSing although apparently not before writing quite a bit of data. Upon reboot, I was met with the dreaded,
2007 May 26
2
How to check for existence url from within a function?
...exists, I can use try(). This works, as I expected, if I do it directly, as in the first part of the following example, but I could not find a way to do it from within a function, as in the second part. Where could I find information on how to do this? Thanks, Heinz ## set nonexisting url url.string <- 'http://www.google.at/nonexist.html' ## first part 1 # to start with defined .Last.value try(con.url <- url(url.string, open='rb')) class.try.res <- class(.Last.value) try.error <- class.try.res== 'try-error' print(try.error) # TRUE try(close(con.url))...
2009 Jan 26
1
glm StepAIC with all interactions and update to remove a term vs. glm specifying all but a few terms and stepAIC
...=~.^2,lower=NULL). This means there are 78 predictor terms considered, the 12 primary terms and 66 interactions [n(n+1)/2]. I see this with trace=T also. Here is the code used: >glm1<-glm(formula = PRESENCE == "1" ~ SNOW + I(SNOW^2) + POP_DEN + ROAD_DE + ADJELEV + I(ADJELEV^2) + TRI + I(TRI^2) + EDGE + I(EDGE^2) + TREECOV + I(TREECOV^2),family = binomial, data = wolv) summary(glm1) >library(MASS) >stepglm2<-stepAIC(glm1,scope=list(upper=~.^2,lower=NULL), trace=T,k=log(4828),direction="both") > summary(stepglm2) > extractAIC(stepglm2,k=lo...
2009 Sep 14
2
Escaping . in regular expression
...try.g","try.res", "try.f") > print(cvec) [1] "test.f" "test.sf" "try.g" "try.res" "try.f" > indx<-grep("\.f",cvec,perl=TRUE) Warning messages: 1: '\.' is an unrecognized escape in a character string 2: unrecognized escape removed from "\.f" > fset<-cvec[indx] > print(fset) [1] "test.f" "test.sf" "try.f" > This ignores the . for which I want to test. In perl, the function #!/usr/bin/perl use strict; my @cvec=("test.f", &quot...
2009 Apr 07
3
write text file as output without quotes
Hi R, When I use the below to write the text file try=data.frame(rep("a",5), rep("b",5)) write.table(try,"z:\\try.txt",row.names=F,col.names=F,sep="\t") the output contains two columns with quotes! Is there a way to write without quotes? I tried try[,1]=noquote(try[,1]) try[,2]=noquote(try[,2]) Thank you, Regards, Ravi Shankar This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2023 Feb 01
1
dyn.load(now = FALSE) not actually lazy?
...and RTLD_LAZY when calling dyn.load(now = FALSE). I don't know for sure why the symbols are being resolved despite you asked the linker not to. Did something in the system set the LD_BIND_NOW environment variable? Do any of the libraries in the dependency tree have any constructors (C++ or __attribute__((constructor)) or otherwise mentioned in .ini* sections) that rely on MKL being available at initialisation time? If you launch R with the environment variable LD_DEBUG=libs set, the debugging output may shine some light on the problem. -- Best regards, Ivan
2023 Apr 03
1
pxelinux takes too long trying all the config file options
Hi All, I have a situation where I want to netboot and ONLY use pxelinux.cfg/default. It seems to take FOREVER for pxelinux to try all of the config file file options before falling through to default .... trying each possible combination multiple times ... increasing the wait time everytime it doesn't get a response. >From my log: Apr 2 19:53:17 helium tftpd[3372124]: tftpd: trying to
2008 Sep 06
1
Help use try function with boot
Hi R users, Is is possible for me to use the try function with boot? I would to do the bootstraping with a nonlinear model(it works well when R < 1000). But it does not work very well (when R is large) thus I try to use "try" to resolve. I put the try function in two cases: case1: put the try in front of the boot > c1.try<-try(boot(c1data, statistic = c1.fun,
2008 Dec 27
0
FFXI on Debian Etch 4.0-r6 AMD64
I followed the instructions for setting up FFXI on Wine (including copying the .dll from the Windows XP system) but when I launch pol.exe, it just comes up with a black screen. I can hear music for a few minutes but then it crashes. Anyone have any ideas? Code: nate at tux:~/.wine/drive_c/Program Files/PlayOnline/SquareEnix/PlayOnlineViewer$ wine pol.exe err:alsa:ALSA_CheckSetVolume Could not
2010 Apr 17
1
Error message when trying to install Rcmdr
I am trying to install Rcmdr on my ubuntu machine, but keep getting the following error messages: ERROR: failed to lock directory ?/home/thedoctor/R/i486-pc-linux-gnu-library/2.10? for modifying Try removing ?/home/thedoctor/R/i486-pc-linux-gnu-library/2.10/00LOCK? ERROR: failed to lock directory ?/home/thedoctor/R/i486-pc-linux-gnu-library/2.10? for modifying Try removing
2011 Dec 06
2
To Try or to TryCatch, I have tried to long
So after about 4 hours struggling with Try and TryCatch I am throwing in the towel. I have a more complicated function that used logspline through iterative distributions and at some point the logspline doesnt function correctly for some subsets but is fine with others so I need to be able to identify when the error occurs and stop curtailing the distribution and I think this Try or TryCatch should do the trick but I think I am missing something here. A simpl...
2007 Feb 06
3
installing packages and windows vista
I installed R (R-2.4.1-win32.exe) on a new computer with Windows Vista and a 64 bit operating system (hp dv9000 with intel core t7200). The base R runs fine, but I can not get any of the packages to load. From within R I choose install packages choose a site then a package. I tried installing 2 packages and get similar errors (see below), I just copied and pasted lines from R. Can anyone offer any suggestions? Thank you. Dan O'Shea > utils:::menuInstallPkgs() --- Please select a CRAN mirror for use in this session --- also installing the dependencies 'scatter...
2010 Aug 03
4
Need help on upper.tri()
HI, I am really messing up to make a symmetrical matrix using upper.tri() & lower.tri() function. Here is my code:   > set.seed(1) > mat = matrix(rnorm(25), 5, 5) > mat            [,1]       [,2]       [,3]        [,4]        [,5] [1,] -0.6264538 -0.8204684  1.5117812 -0.04493361  0.91897737 [2,]  0.1836433  0.4874291  0.3898432 -...
2011 Aug 09
1
Tika 0.8 failure rates
Hello :-) FYI, here is a list of apparent Tika 0.8 conversion failures when run from Xapian's omindex on a Debian 6 Squeeze 64-bit system with 4 GB memory: doc files: tried: 10268, failed: 345 3.35% docx files: tried: 248, failed: 0 odp files: tried: 7, failed: 0 ods files: tried: 71, failed: 0 odt files: tried: 136, failed: 0 pdf files: tried: 3888, failed: 150 3.85% pps files: tried: 29, failed: 3 10.34% ppsx files: tried: 12, fa...
2007 May 18
0
Errors in smbd log file
List, Regarding a problem I'm having that I can't login to our domain, after searching google I checked my smbd log file. I pasted the log file below. Please know that I could see the samba server in my network places just fine before. Now when I double click on the domain I get the error message that the path was not found. I'm running w2k. Thanks, [2007/04/06 08:41:39, 0]
2010 Nov 23
2
pxelinux.cfg/C0A80146 unable to load configuration file
Hi Peter, i am a netboot user of Linux platform. right now, i got a problem. after establishment a new pxe server, the clients boot from the network. and i just do some experiment of reboot on the clients. but i am surprise of the clients booting failure after several cycles. and i got the info of the clients can not download the config file, such as: Trying to load:
2010 Sep 08
3
"try-error" can not be test. Why?
Hi, I am having some strange problem with detecting "try-error". From what I have read so far the following statement: try( log("a") ) == "try-error" should yield TRUE, however, it yields FALSE. I can not figure out why. Can someone help? Many thanks -- View this message in context:
2011 Mar 26
2
Building a matrix so that matrix(r, c)<-matrix(c, r) with No For Loops
Hello, I would like to take advantage of the upper.tri() function here but I don't know exactly. Here is some working code... i<-5 fi<-matrix(0,nrow=i,ncol=i) for(r in 1:i){ for(c in 1:i){ if(r==c){ fi[r,c]<-1 }else if(r<c){ fi[r,c]<-1-runif(1)^.5 }else{ fi[r,c]<-fi[c,r] } } } So far I know I can simplify this code to 5 lines...