Displaying 20 results from an estimated 600 matches similar to: "apply ? function doesnt create object"
2007 Mar 03
1
function doesnt return/create object
hello,
i have written a function to extract certain lines from a matrix. the
result is a matrix with 6 cols, named dynamically according to the
functions arguments.
the problem is now, that i'm not able to return the resultmatrix for
further use. the object is not being created.
example from my console:
getans(27,27)
[...]
[189,] 3969 161 27 1 0 1
[190,] 2142 87 27
2006 Dec 10
2
[LLVMdev] How to compile apps to bc files with the new llvm-gcc4?
Hi,
I'm trying to compile some apps with the new llvm-gcc4 on amd64 linux
to .bc files, rather than to the native code. The same process I used to
build those apps before with llvm-gcc3 doesn't work:
1)
export CC=llvm-gcc CXX=llvm-g++ CFLAGS="-g -fno-inline" CXXFLAGS="-g
-fno-inline"
2) cd <whatever-app>; ./configure
3) make CFLAGS+=-emit-llvm
2006 Aug 19
2
A matrix problem
Hi,
I have a matrix with two columns. The first column means "indexes", the second one contents of those indexes. If I have a MATRIX like this,
> MATRIX
[,1] [,2]
[1,] 1 3
[2,] 5 1
[3,] 2 1
[4,] 1 5
I'd like to get as a result vector the sums of these indexes, something like this:
> c(8,1,0,0,1)
How to do this?
I did solved it this way, but is
2006 Dec 10
0
[LLVMdev] How to compile apps to bc files with the new llvm-gcc4?
Unless I'm missing something, the problem lies directly with the fact that
you are trying to do a link-stage operation with the GCC frontend. GCC, by
default, probably runs "ld" or another system linker, which grabs the
executable from binutils. This linker hasn't been modified (yet) to include
support for .bc files, but you're compiler is emitting byte code to the *.o
files.
2006 Oct 17
1
looking for a cleaner way to do something
I have two numeric vectors each of length 17 and each is named the exact
same way.
so
obsnum ppppp ppppm pppmp . dot dot dot......
temp1 is 1417 52 63 85
obsnum ppppp ppppm pppmp . dot dot dot......
temp2 is 1213 41 50 97
what i want to have is a resultant matrix with 2 rows and 16 columns
where the 16
2000 Dec 10
1
Old news.. but interesting
If you go to http://SingingFish.com you can see that this consumated Dec. 1.
This gives the MP3 consortium the most comprehensive access to web
distributed MP3 streaming and content, (and other formats)...
Full article: http://www.thomson-multimedia.com/vus/04/042/f042.htm
THOMSON MULTIMEDIA TO PURCHASE SINGINGFISH.COM TO BUILD STREAMING MEDIA CAPABILITIES
Leading Technology Helps Web
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my
project. However, no matter what I try, it simply doesn''t work. Even
the easy, easy stuff seems broken. (Yes, <%=
javascript_include_tag :defaults %> is being included in the template.)
For example, from:
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
VIEW:
<h1
2003 Apr 14
2
compile error RH9 & R162
Hi,
I tried to compile source because for RH9.0 doesn't exist binary. During
compiling I got error:
***********************
make[3]: Entering directory `/home/allans/R-1.6.2/src/library/methods'
dumping R code in package 'methods'
Error in eval(expr, envir, enclos) : couldn't find function "character"
Execution halted
make[3]: *** [../../../library/methods/R/all.rda]
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
Context: I'm relatively new to R and am working with very large datasets.
General problem: If working on a dataset requires that I produce more than
two objects of roughly the size of the dataset, R quickly uses up its
available memory and slows to a virtual halt.
My tentative solution: To save and remove objects as they're created, and
load them when I need them. To do this I'm
2018 Jun 02
2
LoopIdiomRecognize is not recognizing the ctpop idiom
Hello.
Could you please tell me why am I not able to recognize (with LLVM built from the SVN
code in Apr 25, 2018) the LLVM IR intrinsic ctpop (described at
https://llvm.org/docs/LangRef.html#llvm-ctpop-intrinsic) in the following program:
int PopCnt_Simple(int x) {
int numBits = 0;
int i;
//for (i = 0; i < 32; i++) {
for (i = 0; x !=
2006 Dec 10
2
[LLVMdev] How to compile apps to bc files with the new llvm-gcc4?
Chandler/Domagoj,
On Sun, 2006-12-10 at 10:53 -0500, Chandler Carruth wrote:
> Unless I'm missing something, the problem lies directly with the fact
> that you are trying to do a link-stage operation with the GCC
> frontend. GCC, by default, probably runs "ld" or another system
> linker, which grabs the executable from binutils. This linker hasn't
> been modified
2008 Mar 03
0
3.0.1 Test Success MacOS X 10.4.11
I have also been eager to test bbouncer
The latest source passes with flying colours!
but make check finds some problems with xattrs if not run by sudo
I have xattr in /usr/local/bin/ from the source found at:
http://dev.bignerdranch.com/public/bnr/eXttra.zip
What I did:
cd /usr/local/Source
rsync -av --exclude=.git/ rsync://rsync.samba.org/ftp/unpacked/rsync .
rsync -av --exclude=.git/
2020 Feb 24
3
Windows ACLs : problems
Status:
domain member server, Samba version 4.10.11-Debian
[global]
dedicated keytab file = /etc/krb5.keytab
domain master = No
kerberos method = secrets and keytab
load printers = No
local master = No
preferred master = No
printcap name = /dev/null
realm = customer.INTRA
security = ADS
template homedir = /mnt/MSA2040/smb/Homes/%D/%U
unix charset = iso8859-15
unix extensions = No
2006 Nov 24
2
vector problem
Hello out there,
i am not yet that experienced and trying to my best on a real survey.
but i am stuck with a little matrix / vector problem.
my vector of answers could have a length of 3 or only one. i want to
rbind all the answers into one matrix. (one vector for each participant)
answers vectors for one participant could look like:
p1: 100
p2: 20 80
p3: 40 10 50
i have the following
2007 Mar 19
5
Interesting problem getting wine onto my computer
I live in Bangladesh and have just installed Ubuntu dapper drake onto
my shiny new desktop. The village where I live has no land lines or
broad band so I connect to the internet through my old laptop using a
GPRS mobile phone and Nokia PC suite run on Windows XP. I want to
download wine onto my new computer so I can run PC suite and can
continue accessing the internet via mobile but using
2006 Jul 10
2
I have installed Ruby on Rails but it doesnt work
Dears
I have installed Ruby and Rails succesfuuly but when I run it on the
browser by typing http://localhost:3000/, it gives an error ("The Page
cannot be displyed").
PLease help me in this regard.
Shakeel ur Rehman
--
Posted via http://www.ruby-forum.com/.
2006 May 09
1
Adding "model" still doesnt help!
hello guys,
as some of you may know... when you occasionally encountered a
"undefined class/module <name>" error, it is recommended that you add a
model :<your_class_name>
in your controller to prevent such an error...
but recently i still encounter such error even though i loaded all of
the class!
this is traumatizing...anyone know any more solution/alternatives?
I
2006 Apr 03
1
gem install rails -include--dependencies doesnt -> to 1.1
Running
"gem install rails -include--dependencies"
on a a unix box does not install rails 1.1. It just says rails 1.0.0
has been installed. Any ideas?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Apr 09
0
Can rails create table if doesnt exist allready? (~django)
Hi
I''d like rails to create the tables in the DB if they do not exist. Is
this possible? Is there an easy way to do this? DJANGO does this which
is nice,
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Mar 03
0
AR::Base.pluralize_table_names doesnt work with scaffold generator, right?
Hi!
The script/generator scaffold for models doesnt respect (source in) this
config/environment.rb setup, right?
Because I can put in there ActiveRecord::Base.pluralize_table_names =
false but when I run a command like
ruby script/generate scaffold model Something
then it throws an error saying that my database scheme doesnt have a
Something. However there is a table called something.
If I