Displaying 12 results from an estimated 12 matches for "newitems".
Did you mean:
newitem
2009 Jul 22
3
How to replace NAs in a vector of factors?
...Just when I thought I had the basic stuff mastered....
# This has been quite perplexing, thanks for any help
## Here's the example:
db1=data.frame(
olditems=c('soup','','','','nuts'),
prices=c(4.45, 3.25, 4.42, 2.25, 3.98))
db2=data.frame(
newitems=c('stew','crackers','tofu','goatsmilk','peanuts'))
str(db1) #factors and prices
str(db2) #new names, but I want *only* the updates
is.na(db1$olditems) #a little surprising that '' is not equal to NA
db1$olditems=='' #oh good, at l...
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
All,
This is really starting to get me as i can''t figure out why I am
getting this error. Here is what is going on. I have a table called
items and a item controller. When I add a new item to the items table
I am also creating several associated tables. the code for this so
that you can follow along is:
def create
@item = Item.new(params[:item])
# The item belongs to
2006 Feb 15
1
S3 generics without NS and cleanEx()
...ot;)
+ set.seed(1)
+ options(warn = 1)
+ delayedAssign("T", stop("T used instead of TRUE"),
+ assign.env = .CheckExEnv)
+ delayedAssign("F", stop("F used instead of FALSE"),
+ assign.env = .CheckExEnv)
+ sch <- search()
+ newitems <- sch[! sch %in% .oldSearch]
+ for(item in rev(newitems))
+ eval(substitute(detach(item), list(item=item)))
+ missitems <- .oldSearch[! .oldSearch %in% sch]
+ if(length(missitems))
+ warning("items ", paste(missitems, collapse=", "),
+...
2003 Jun 25
3
patch draft for extended attributes on linux
This draft patch adds support for transferring extended attributes
with a new --xattr option. It ought to work on Linux with XFS or
ext2/ext3 filesystems with the SGI/bestbits attribute system.
It is partially working, but there seems to be some kind of hang bug
while transferring the file list. I suspect it might be provoking a
problem in io.c.
You need to rerun autoconf, autoheader and
2004 Oct 28
2
Errors during make check
On a SUN 280R running Solaris 9...
The configure and make steps completed without errors. But when I try to
perform the make check step, I get the following:
$ make check FORCE=FORCE
`Makedeps' is up to date.
running code in 'base-Ex.R' ...*** Error code 1
make: Fatal error: Command failed for target `base-Ex.Rout'
Current working directory /usr/local/R-2.0.0/tests/Examples
***
2010 Apr 21
2
problem of R CMD check
Hi all,
Today, i just installed the newest R version 2.10.1 and other necessary
tools for building R package under windows,e.g. Rtools, perl. All are the
newest version.
After the correct configuration under windows, i use it to re-check my old
package. I found the following prolem when checking EXAMPLE, which did not
exist before this re-installation.
########
* checking examples ... ERROR
2007 May 29
0
Ajax sortable_element refresh
Hi,
I have the following ajax example, with a list of counters, and two
buttons for adding/removing elements. The list is sortable.
There are two things that I don''t know how to do:
. remove an elemet
. when I add a new element to the list, that element doesn''t become
sortable with the rest of the list
Thanks,
hugo
#### View
<html>
<head>
<title>Ajax
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow
indefinetely on a long lived process.
These are not convenional leaks -- memory would have been freed when the LLVM
context or/and JIT engine is destroyed -- but for as long as they aren't the
memory is usage effectively ubounded.
The issues were found using valgrind with '--show-reachable=yes' option:
1.
2004 Aug 10
0
Check failed after compilation (PR#7159)
...options(warn = 1)
+ assign("T", delay(stop("T used instead of TRUE")),
+ pos = .CheckExEnv)
+ assign("F", delay(stop("F used instead of FALSE")),
+ pos = .CheckExEnv)
+ sch <- search()
+ newitems <- sch[! sch %in% .oldSearch]
+ for(item in rev(newitems))
+ eval(substitute(detach(item), list(item=item)))
+ missitems <- .oldSearch[! .oldSearch %in% sch]
+ if(length(missitems))
+ warning("items ", paste(missitems, collapse=...
2005 Nov 29
6
draggable revert problem
Hello,
I have tried implementing the shopping cart ajax example and have run into
some problems. The only differences with the shopping cart is
My list of products are generated from a partial view
The images of the products come from an http link.
However, Iam seeing a strange behavior when I drag and drop the elements to
my cart. On the first drag and drop the image successfully reverts to
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers,
I was used to package pgirmess under Windows with everything OK, but,
for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I
have a double boot computer and work more and more under unix) and R
2.7.0. Everything went OK except this:
sudo R CMD check pgirmess
.....
* checking examples ... ERROR
Running examples in 'pgirmess-Ex.R' failed.
The error most
2006 May 25
13
.NET developer trying to understand some Rails basics
Hi All,
I''ve been a ASP.NET developer for the last few years and consider it to
be a pretty productive environment to work with. However, the
object-relational mapping (ActiveRecord) and simplicity of the Rails
framework and Ruby in general really appeals to me. .NET currently
doesn''t have something like Rails'' ORM - atleast not out-of-the-box.
Here''s my