search for: exists

Displaying 20 results from an estimated 71044 matches for "exists".

2008 Jun 02
1
libsmi warnings
hey, just did a yum install wireshark on a fresh and clean CentOS 4.6 box, and got a bazillion warnings about libsmi... # cat /etc/redhat-release CentOS release 4.6 (Final) # yum install wireshark Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages from CentOS-4 - Updates Finished Excluding Packages from CentOS-4 - Base
2008 Nov 19
1
Samba Source
I am trying to install the source code for samba. I have samba-3.0.28-1.el5_2.1 When I try and install the samba-3.0.28-1.el5_2.1.src.rpm. I get the following..... rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm 1:samba warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning:
2009 May 19
5
exists function on list objects gives always a FALSE
Dear R-users, in a minimal example exists() gives FALSE on an object which obviously does exist. How can I check on that list object anyway else, please? > SmoothData <- list(exists=TRUE, span=0.001) > SmoothData $exists [1] TRUE $span [1] 0.001 > exists("SmoothData") TRUE > exists("SmoothData$span")...
2005 Jul 23
1
Lattice: reversing order of panel placement in conditional histograms
Hi R-people, I have a question about lattice in general, and histogram specfically. How do you control the ordering of factors that controls the placement of the conditional panels. I have a dataset with factors that go 'Q1','Q2',"Q3','Q5' and of course I want the plot to place Question Q1 at the top and Question Q5 at the bottom of the graphical output.
2014 Dec 03
2
we need an exists/get hybrid
Hi All, I've been looking into speeding up the loading of packages that use a lot of S4. After profiling I noticed the "exists" function accounts for a surprising fraction of the time. I have some thoughts about speeding up exists (below). More to the point of this post, Martin M?chler noted that 'exists' and 'get' are often used in conjunction. Both functions are different usages of the do_get C fun...
2014 Dec 03
2
we need an exists/get hybrid
...mazed that "[[" beats calling the .Internal directly. I guess the difference between .Primitive vs. .Internal is pretty significant for things on this time scale. NULL meaning NULL and NULL meaning undefined would lead to the same path for much of my code. I'll be swapping out many exists and get calls later today. Thanks! I do still think it would be very useful to have some way to discriminate the two NULL cases. I'm reminded of how perl does the same thing. It's been a while, but it was something like if (defined(x{'c'})) { print x{'c'}; } # This is...
2005 Dec 27
0
Compiling kernel-2.6.13...
Hi. I'm trying to use CentOS4.2 for some audio work (ie. sound editing, etc.). I found a site called PlanetCCRMA (http://ccrma.stanford.edu/planetccrma/software/) and decided that I would give some of their applications a try (hoping that it would not affect my system greatly!). At first I tried the Fedora 3 packages (and they do work), but what I really wanted to do is to download the
2003 Feb 20
3
Why does 'exists' need a quoted argument?
Some functions in R need quoted arguments. Consider this list: help(rm) rm(a) is.na(a) get("rm") exists("rm") Can someone explain why 'get' and 'exists' require quoted object names? Would it make sense (more consistency) to have these functions check to see if the first argument is a string, and if not, then 'substitute' it? Intuitively, 'exists' is chec...
2014 Jun 03
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
Hello, At 15:42 -0400 on 2014-6-1 Charles Lepple wrote: > > On May 24, 2014, at 5:49 PM, Stefan Bruda wrote: > > >> Don't worry about the battery physical properties for now - the > >> problem there is that we don't have enough information from the UPS > >> to do a proper calculation. With the V_interval[] settings, you can > >> tweak
2004 Sep 05
0
[LLVMdev] POST MORTEM: llvm-test changes
Configure gives me these errors on FreeBSD. I'm proceding with the build anyway to see what happens. Don't worry :) It'll only take about 2.5 hours instead of 30+ now. install: ../test/Programs/Makefile does not exist config.status: executing test/Programs/Makefile.programs commands install: ../test/Programs/Makefile.programs does not exist config.status: executing
2011 Feb 09
1
merge, rbind, merge.zoo? adding new rows to existing data.frame
Hi all, I'm trying to add updated data to an existing time series where an overlap exists. I need to give priority to the update data. My script runs every morning to collect data the updated data. There are quite often varied lengths, so once off solutions identifying rows to solve this example won't work. I've experimented with merge, rbind, merge.zoo, but to no avail. An ex...
2006 Apr 20
8
generate scaffold not generating views
Hi! Sorry for the newbie question... I''m following the depot example in AgileWebDevelopmentWithRails. Stangelly, generating scaffolding using the command (page 53): ./script/generate scaffold Product Admin does not generate any .rhtml file, but just: exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/product.rb identical test/unit/product_test.r...
2014 Dec 03
0
we need an exists/get hybrid
...46428.) There?s a significant amount of overhead just from calling the R function get(). This is true even when you skip the pos argument and provide envir. For example, if you call get(), it takes much more time than .Internal(get()), which is what get() does. If you already know that the object exists in an environment, it's faster to use e$x, and slightly faster still to use e[["x"]]: e <- new.env() e$a <- 1 # Accessing objects in environments microbenchmark( get("a", e, inherits = FALSE), get("a", envir = e, inherits = FALSE), .Internal(get(&quot...
2014 Jun 03
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
On Jun 2, 2014, at 10:25 PM, Stefan Bruda wrote: > Hello, > > At 15:42 -0400 on 2014-6-1 Charles Lepple wrote: >> >> On May 24, 2014, at 5:49 PM, Stefan Bruda wrote: >> >>>> Don't worry about the battery physical properties for now - the >>>> problem there is that we don't have enough information from the UPS >>>> to do a
2007 Jan 20
1
Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993.
# smbldap-useradd samba Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993. here my config: i have already populated the database: # smbldap-populate Populating LDAP directory for domain Workgroup (S-1-5-21-4205727931-4131263253-1851132061) (using builtin directory structure) entry dc=GNUtoo,dc=org already exist. entry ou=Users,dc=GNUtoo,dc=org already exist. entry
2015 Jan 08
5
RFC: getifexists() {was [Bug 16065] "exists" ...}
In November, we had a "bug repository conversation" with Peter Hagerty and myself: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16065 where the bug report title started with --->> "exists" is a bottleneck for dispatch and package loading, ... Peter proposed an extra simplified and henc faster version of exists(), and I commented > --- Comment #2 from Martin Maechler <maechler at stat.math.ethz.ch> --- > I'm very grateful that you've started explori...
2007 May 15
2
Testing for existence inside a function
Hi. I'm having trouble testing for existence of an object inside a function. Suppose I have a function: f<-function(x){ ... } and I call it with argument y: f(y) I'd like to check inside the function whether argument y exists. Is this possible, or do I have to either check outside the function or pass the name of the argument as a separate argument? If I do exists(x) or exists(eval(x)) inside the function and y does not exist, it generates an error message. If I do exists("x") it says that x exists eve...
2011 Feb 06
1
R-devel on FreeBSD: Support for C99 complex type is required
...th gcc-4.5.2 and I got the following messages when configuring: ./configure [..SNIP..] checking whether C99 double complex is supported... checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking for double complex... yes checking whether cexp exists and is declared... no checking whether clog exists and is declared... no checking whether csqrt exists and is declared... yes checking whether cpow exists and is declared... no checking whether ccos exists and is declared... no checking whether csin exists and is declared... no checking whether cta...
2004 Sep 05
5
[LLVMdev] POST MORTEM: llvm-test changes
After the removal of llvm/test/Programs and insertion of llvm-test cvs module, the nightly tester showed the following: x86 Linux debug: * hard to say. I think it failed because the check in occurred just as it was starting up. Could someone verify for me? No results were produced. x86 Linux optimized: * everything ran okay * loc graph now shows 550k lines (up 350k!) - not sure
2014 Dec 04
0
we need an exists/get hybrid
...; beats calling the .Internal > directly. I guess the difference between .Primitive vs. .Internal is > pretty significant for things on this time scale. > > NULL meaning NULL and NULL meaning undefined would lead to the same path > for much of my code. I'll be swapping out many exists and get calls later > today. Thanks! > > I do still think it would be very useful to have some way to discriminate > the two NULL cases. I'm reminded of how perl does the same thing. It's > been a while, but it was something like > > if (defined(x{'c'})) { pr...