search for: empti

Displaying 20 results from an estimated 20227 matches for "empti".

Did you mean: empty
2007 Dec 01
2
How to cbind DF:s with differing number of rows?
#Hi R-users, #Suppose that I have a data.frame like this: y1 <- rnorm(10) + 6.8 y2 <- rnorm(10) + (1:10*1.7 + 1) y3 <- rnorm(10) + (1:10*6.7 + 3.7) y <- c(y1,y2,y3) x <- rep(1:3,10) f <- gl(2,15, labels=paste("lev", 1:2, sep="")) g <- seq(as.Date("2000/1/1"), by="day", length=30) DF <- data.frame(x=x,y=y, f=f, g=g) DF$g[DF$x == 1]
2007 Sep 14
0
3 commits - libswfdec/swfdec_as_frame.c test/trace
libswfdec/swfdec_as_frame.c | 2 +- test/trace/Makefile.am | 9 +++++++++ test/trace/empty-function-5.swf |binary test/trace/empty-function-5.swf.trace | 1 + test/trace/empty-function-6.swf |binary test/trace/empty-function-6.swf.trace | 1 + test/trace/empty-function-7.swf |binary test/trace/empty-function-7.swf.trace | 1 +
2011 Mar 13
2
Problems getting html files out of R CMD check
Hi, I'm trying to R CMD check a package, however I have hit a snag. There seems to be a problem with the creation of the /html files (the only file that's constructed here is the 00Index.html). I've tested each of the .Rd files independently with R CMD Rdconv, they all happily create html files without complaint. R CMD check <package> gives the no warnings. I'm therefore
2006 Aug 08
3
params object nil in controller action
Hi All I am trying to implement a Back to Search Results functionality, by storing the user''s search criteria (params) in session and then reusing those params instead of request params when user clicks on "Back to Search Results link". here is my code ________________________________________________________________________ def search if session[:incidentSearch].nil? or
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
Do not error out on empty files, just ignore them. --- src/mode_build.ml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mode_build.ml b/src/mode_build.ml index b5f5fa6..9cd0a21 100644 --- a/src/mode_build.ml +++ b/src/mode_build.ml @@ -46,6 +46,7 @@ and file_content = | Packages | Hostfiles | Excludefiles +| Empty let rec string_of_file_type = function |
2020 Jul 13
2
FileCheck --allow-empty
Hi all, By default, FileCheck will emit an error if you try to get it to check an empty file. This doesn't seem like a bad idea to me, since it might protect against certain unintended usages. However, in every use-case I know of, it's also combined with checks that essentially say "don't just allow the output to be empty, fail if it isn't". In some cases, those checks
2008 Jan 10
2
FreeBSD tar errors on valid empty tar.gz
Seems our current libarchive? That support FreeBSD's tar implementation has a bug where it can create archives it cant read back. This can be seen by simply creating an empty tar.gz file and then trying to expand or list it. In doing the above you get the following error: tar: Unrecognized archive format: Inappropriate file type or format N.B. gtar can list and expand the created file
2006 Jul 20
6
A few minor warnings from Sun Studio 11
These come courtesy of Sun Studio 11 on Solaris 10 in case you care: "http11.c", line 54: warning: syntax error: empty declaration "http11.c", line 55: warning: syntax error: empty declaration "http11.c", line 56: warning: syntax error: empty declaration "http11.c", line 57: warning: syntax error: empty declaration "http11.c", line 58:
2007 Aug 13
1
Extract part of vector
Dear R-users, How do I extract numbers between asp?P= and &VID from my txt vector? I have tried grep function with no luck. txt <- c(" http://www.mysite.com/system/empty.asp?P=2&VID=default&SID=421384237289476&S=1&C=18631", " http://www.mysite.com/system/empty.asp?P=123&VID=default&SID=421384237289476&S=1&C=18643", "
2006 Sep 03
2
Undefined method "xxx" of a model when calling a helper
Hi all I''m creating a shop page. I have a cart model that looks like the following: class Cart attr_reader :line_items def get_line_item id @line_items.each do |l| return l if l.id == id end end def initialize @line_items = [] end def empty! initialize end def empty? return true if @line_items.empty? false end end And I have some
2014 Mar 19
5
[LLVMdev] [RFC] Add empty() method to iterator_range.
Hi all, As RFCs go this is short and sweet - I think it would be nice to add an empty method to iterator_range. Something like: bool empty() const { return begin() != end(); } My motivation is to make the 'if' test at the start of this common pattern tidier: if (!collection.empty()) // initialization... for (auto& c : collection) // do something for each c. which I think that
2008 Dec 27
1
Want to create empty vectors inside a empty data frame
Hi All, I want to create empty vectors inside an empty data frame.The name of the vectors has to come dynamically. For example if record_mean is my empty data frame,and i have say 4 categories,the category names for record mean data frame has to recmeanC1,recmeanC2,recmeanC3,recmeanC4,which will be dynamically created and which will again be inserted in my data frame's as column values.Each
2006 Feb 12
3
.empty? Method
I am using: if @post.empty? render_text "Post does not exist." end But it gives me this error: NoMethodError in Posts#view undefined method `empty?'' for #<Posts:0x39598d0> However, if the method list empty? apears and stuff so I am confused. -- Posted via http://www.ruby-forum.com/.
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
libswfdec/swfdec_as_array.c | 18 +++++++++++++----- libswfdec/swfdec_as_object.c | 2 ++ libswfdec/swfdec_text_field_movie.c | 12 ++++++++---- test/image/Makefile.am | 16 +++++++++++++++- test/image/text-field-autosize-6.swf |binary test/image/text-field-autosize-6.swf.png |binary test/image/text-field-autosize-7.swf |binary
2015 Oct 28
6
Detecting empty office doc containing virus macro
We are receiving LOTS of emails that contain empty XLS or DOC documents with embedded virus macros. These are getting past SPAMASSASSIN, Clamav and Kaspersky. I'm trying to write a filter for EXIM to block these emails but I need to know a good, quick, command-line to detect an empty doc with a macro. Is there anything available that I can use?? I have managed to write a PERL script to
2007 May 30
2
Depot - empty_cart with ajax
First of all id like to say hi to everyone from Argentina, im yet another Depot first-timer. Going through the example, i got to the point where my cart finally runs Ajax-based. And there is a line where Dave says, after all the job is done "You should see the cart in the sidebar update. And you shouldn''t see your browser show any indication of reloading the page. You''ve
2018 Mar 19
2
Erro Upgrade Samba 4.6.3 to 4.8
Hello! After upgrade Samba, dont work more. Dns is ok(I Use bind). I have Two Severs, i  updated the second(dont having fsmo). Any Help ? Regards; Information; samba -V Version 4.6.3 ----- SO: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 14.04.2 LTS Release:        14.04 Codename:       trusty ----- Samba option: ./configure    
2006 Oct 09
2
How can I delete components in a column ?
Hi all R-helpers, i am a new R-user and have problem with deleting some components in a column. I have a dataset like Name Id x empty 2 empty 3 a none 2 b none 3 d none 2 ad cfh 4 bf cdt 5 empty 2 empty 2 gf cdh 4 d none 5 and want to
2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to the sortable that tests the container to see if it''s got any children or not: function is_empty(container) { if ($(container).hasChildNodes()) { Element.removeClassName($(container),''empty''); } else if (!$(container).hasChildNodes()) {
2008 Feb 18
1
[PATCH] Make sure /var/empty dir really exists
Hi, could somebody please be so kind to apply the below patch to the Cygwin specific file contrib/cygwin/ssh-host-config? It checks more thorough that it's possible to create the /var/empty directory. It also fixes bad English. Thanks, Corinna Index: contrib/cygwin/ssh-host-config =================================================================== RCS file: