search for: try

Displaying 20 results from an estimated 264094 matches for "try".

Did you mean: tr
2013 Apr 16
1
testInstalledBasic / testInstalledPackages
...== typeof(y) && is.logical(r <- all.equal(x,y, tol=0)) && r > > report <- function(x) {print(x); stopifnot(x)} > options(error = expression(NULL)) # don't stop on error in batch > ##~~~~~~~~~~~~~~ > > ###-------- > x <- integer(0) > res <- try(as.array( x ), silent = TRUE) > if(!inherits(res, 'try-error')) report(is.array(res)) [1] TRUE > res <- try(as.call( x ), silent = TRUE) > if(!inherits(res, 'try-error')) report(is.call(res)) > res <- try(as.character( x ), silent = TRUE) > if(!inherits(res, ...
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....
2011 Feb 10
1
Recovering data from disk with loose cable
...ntly not before writing quite a bit of data. Upon reboot, I was met with the dreaded, disk-io.c:741: open_ctree_fd: Assertion `!(!tree_root->node)'' failed. Unfortunately any attempt to run any of the btrfs-progs utilities (from git) met a similar end. There was recently a patch to try harder in recovering from this problem posted to the list[1], although unfortunately it is unable to find a root. Considering there are eight disks in the array and only four were affected by the loose cable, I find it very hard to believe there is no way to recover this volume. Any suggestions at...
2007 May 26
2
How to check for existence url from within a function?
Dear All, To check if an url 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:...
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
...e-09 5.506 3.67e-08 *** > I(ADJELEV^2):I(TRI^2) -1.839e-10 5.692e-11 -3.232 0.001231 ** > ADJELEV:I(TRI^2) 8.860e-07 2.974e-07 2.979 0.002892 ** > SNOW:TRI 1.219e-05 3.260e-06 3.740 0.000184 *** This all seems to be as it should. I then decided to try and confim this result by running a glm without any of the 5 potential cubic terms ( note - TRI:I(TRI^2) was the only one that made it into the final model but there were 5 potential). After entering the 73 potential terms (12 primary vaiables and now 66 minus 5 interactions = 73 total), the glm a...
2009 Sep 14
2
Escaping . in regular expression
If I run cvec<-c("test.f", "test.sf", "try.g","try.res", "try.f") print(cvec) indx<-grep('\.f',cvec,perl=TRUE) fset<-cvec[indx] print(fset) I get > cvec<-c("test.f", "test.sf", "try.g","try.res", "try.f") > print(cvec) [1] "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]) Tha...
2023 Feb 01
1
dyn.load(now = FALSE) not actually lazy?
? Wed, 1 Feb 2023 14:16:54 +1100 Michael Milton <ttmigueltt at gmail.com> ?????: > Is this a bug in the `dyn.load` implementation for R? If not, why is > it behaving like this? What should I do about it? On Unix-like systems, dyn.load forwards its arguments to dlopen(). It should be possible to confirm with a debugger that R passes RTLD_NOW to dlopen() when calling dyn.load(now =
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 get file: /tftpboot/pxelinux.0 A...
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...
2008 Dec 27
0
FFXI on Debian Etch 4.0-r6 AMD64
...sePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface dummy fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool err:d3d_surface:IWineD3DSurfaceImpl_LoadLocation Reading back render target but SFLAG_INDRAWABLE not set fixme:d3d:IWineD3DD...
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/th...
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 curtail...
2007 Feb 06
3
installing packages and windows vista
...s (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 'scatterplot3d', 'rgl', 'ellipse' trying URL 'http://cran.wustl.edu/bin/windows/contrib/2.4/scatterplot3d_0.3-24.zip' Content type 'application/zip' length 540328 bytes opened URL downloaded 527Kb trying URL 'http://cran.wustl.edu/bin/windows/contrib/2.4/rgl_0.70.zip' Content type 'application/zip' lengt...
2010 Aug 03
4
Need help on upper.tri()
...  1.51178117 -0.01619026 -0.62124058  0.94383621  0.07456498 [4,]  0.38984324  0.94383621  0.78213630  0.82122120 -1.98935170 [5,] -0.04493361  0.91897737  0.07456498 -1.98935170  0.61982575   Which is not coming as symmetrical function. Can anyone point me on the correct way of using upper, lower.try() function to get a symmetrical matrix?   Thanks, [[alternative HTML version deleted]]
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
2007 May 18
0
Errors in smbd log file
...rror was Transport endpoint is not connected [2007/04/06 08:41:39, 0] lib/smbldap.c:smbldap_connect_system(850) failed to bind to server with dn= cn=Manager,dc=inside,dc=youthuprising,dc=org Error: Can't contact LDAP server (unknown) [2007/04/06 08:41:39, 1] lib/smbldap.c:another_ldap_try(990) Connection to LDAP server failed for the 1 try! [2007/04/06 08:41:41, 1] lib/smbldap.c:another_ldap_try(990) Connection to LDAP server failed for the 2 try! [2007/04/06 08:41:42, 1] lib/smbldap.c:another_ldap_try(990) Connection to LDAP server failed for the 3 try! [2007/04/06 08:41:43,...
2010 Nov 23
2
pxelinux.cfg/C0A80146 unable to load configuration file
...ow, 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: pxelinux.cfg/01-00-14-22-a1-53-85 Trying to load: pxelinux.cfg/C0A80146 Trying to load: pxelinux.cfg/C0A8014 Trying to load: pxelinux.cfg/C0A801 Trying to load: pxelinux.cfg/C0A80 Trying to load: pxelinux.cfg/C0A8 Trying to load: pxelinux.cfg/C0A Trying to load: pxelinux.cfg/C0 Trying t...
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: http://r.789695.n4.nabble.com/try-error-c...
2011 Mar 26
2
Building a matrix so that matrix(r, c)<-matrix(c, r) with No For Loops
...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 (no for loops): i<-5 fi<-matrix(nrow=i,ncol=i) fi[upper.tri(fi)]<-1-runif(length(fi[upper.tri(fi)]))^.5 diag(fi)<-1 fi[lower.tri(fi)]<-fi[upper.tri(fi)]#This entry is not correct. fi[r,c] ! == fi[c,r] Any suggestions? Sincerely, Brian [[alternative HTML version deleted]]