Displaying 20 results from an estimated 300 matches similar to: "Filling empty List in a FOR LOOP"
2012 Apr 26
8
understanding the FUNCTION function
Hello,
I am trying to understand why the FUNCTION used in several codes, won't
create the object after it finishes running the code.
For instance, look at the following:
Number<- function(x) {MyNumberIs<-x}
When I run
Number(5)
Everything goes well, except that if I try to call the object MyNumberIs, I
won't find it.
I understand that this function can assume many parameters,
2012 Feb 29
2
Using a FOR LOOP to name objects
Hello,
I am trying to use a for loop to name objects in each iteraction. As in the
following example (which doesn't work quite well)
my_list<-c("A","B","C","D","E","F")
for(i in c(1:length(my_list))){
url<- "http://finance.yahoo.com"
doc = htmlTreeParse(url, useInternalNodes = T)
tab_nodes = xpathApply(doc,
2012 Apr 24
2
Use quotes on a FOR LOOP R
Hello All!
I need some help to get a FOR LOOP to print the interactor with the
quotation mark.
Let me be more specific:
I have the following:
cbind("Michael","Dana","Rob")->LIST
outcome:
[,1] [,2] [,3]
[1,] "Michael" "Dana" "Rob"
UNFORTUNATELY, I need to do the following:
as.data.frame.list(LIST)->LIST2
rm(LIST)
2005 Nov 02
3
how a domain user can become a local administrator ?
Hi list,
I'm using Samba wit a LDAP server. Everything works fine, but I'd like
to know how I can declare a user or a group user as an administrator of
the workstation he/she is logged in.
I tried to modify the guid and the SambaSID in the ldap server, but it
doesn't work. Is there another solution than to declare locally on the
workstation that such group must be of the local
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
Hi,
I noticed that klibc started crashing on 64-bit MIPS and in my quest to fix the
bug I got a bit carried away and fixed a few other things as well. Here are
various miscellaneous MIPS patches, although the first patch is the important
one.
Thanks,
James
*** BLURB HERE ***
James Cowgill (5):
mips64: compile with -mno-abicalls
mips: use -Ttext-segment when linking shared library
2004 Aug 14
1
linux client not working properly
SAMBA WEIRD PRBLEM, PLEASE HELP!!!
this is my environment:
SERVER runnning Centos 3.1 with all the updates applied, sharing files using
samba, rpm version 3.0.4, release 6.3E
Clients running Mandrake 10.0 Download edition with all the patches
applied, clients to the file server mentioned above. Samba is version
3.0.2a, release 3mdk
Here is my server smb.conf files
**********SMB.CONF START
2004 Feb 13
3
Calculate Closest 5 Cases?
I've only begun investigating R as a substitute for SPSS.
I have a need to identify for each CASE the closest (or most similar) 5
other CASES (not including itself as it is automatically the closest). I
have a fairly large matrix (50000 cases by 50 vars). In SPSS, I can use Correlate > Distances to generate a matrix of similarity, but only on a small sample. The entire matrix can not
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32]
latest version of edge rails - patched to make the server work with
win32 (http://dev.rubyonrails.org/ticket/4139)
On some pages WEBrick is crashing with the following:
d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object
when you
didn''t expect it! (NoMethodError)
You might have expected an instance of Array.
The error occured
2008 Apr 10
4
mysql connection goe away
We are currntly running
mongrel v 1.1.4
mongrel_cluster 1.0.5
mysql gem 2.7.5 (built from source)
rails 2.0.2
ruby 1.8.6
mysql version 4.1 this is run on a remote server.
We are consistently getting
"ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT * FROM...."
errors.
When i then try and stop mongrel some (various) of the mongrels are in
error state
2005 Feb 11
2
Notes on bug reports 3229 and 3242 - as.matrix.data.frame
Hello R developers.
I encountered the same problem as Uwe Ligges with as.matrix.data.frame()
in bug reports 3229 and 3242 - under section not-reproducible.
Example I have is:
> tmp
level 2100-D
1 biological_process unknown NA
2 cellular process -5.88
3 development -8.42
4 physiological process -6.55
5
2012 Jan 13
4
Troubles with stemming (tm + Snowball packages) under MacOS
Dear all,
I have some troubles using the stemming algorithm provided by the tm
(text mining) + Snowball packages.
Here is my config:
MacOS 10.5
R 2.12.0 / R 2.13.1 / R 2.14.1 (I have tried several versions)
I have installed all the needed packages (tm, rJava, rWeka, Snowball)
+ dependencies. I have desactivated AWT (like written in
2009 Sep 16
5
custom voicemail e-mail
Hi All,
I'm trying to use a php script to send voicemail e-mail so i can send
custom e-mail message based on what mailbox.
on my voicemail.conf i have
mailcmd=/var/www/voicemail.php
but when i tried to call an extension and goe to voicemail i'm not
receiving the e-mail.
but when i execute "php /var/www/voicemail.php" on the shell, i can
receive the e-mail.
how would i
2011 May 17
0
Help fit 5 nonlinear models. - Plant growth curves
Hi!! Can anyone help me, i have problems to converge the following
data with 5 nonlinears models that i evaluated.
Firtly, i send my data (totalsinatipicos) that i just try to fit with
the nonlinear models.
Next, i have the following script where i called the data as
totalsinatipicos. I made selfstarting each nonlinear model.
###Library
library(NRAIA)
###Data
d<-totalsinatipicos
2004 Apr 05
3
Can't seem to finish a randomForest.... Just goes and goe s!
When you have fairly large data, _do not use the formula interface_, as a
couple of copies of the data would be made. Try simply:
Myforest.rf <- randomForest(Mydata[, -46], Mydata[,46],
ntrees=100, mtry=7)
[Note that you don't need to set proximity (not proximities) or importance
to FALSE, as that's the default already.]
You might also want to use
2004 Aug 06
1
client kick
On Fri, 27 Dec 2002, Geoff Shang wrote:
> Hi:
>
> Assuming you've got sufficient bandwidth at the server to serve a 128k
> stream, and sufficient bandwidth at the receiving end to receive it, what
> version of icecast are you using?
<p>Hi Geoff,
I am using Icecast Version 1.3.12. well shouldnt there be some type of
auto bandwidth decrease if the client is not able to
2006 Mar 25
1
Automatically Filling in form field tags
I have a form which is predominantly a customer form (first name, last
name, etc), if there is a form error and I render to the form from the
controller the customer details are filled in correctly.
The question I have is, I have some fields which are _tag fields not
related to the customer model, how do I get them populated when I render
back to the form on error?
Cheers,
Dan
2011 Nov 01
1
CentOS5: libvirtd filling up /var/lib/libvirt/qemu/save
How can I disable libvirtd from attempting to suspend VMs on poweroff /
reboot? It is slowly filling up our /var/ filesystem with save points at
/var/lib/libvirt/qemu/save/<vm name>.save, even though I'm not initiating
any suspend or restore functionality.
I checked /etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf but could
not find anything.
This is CentOS 5 with libvirt
2011 Nov 18
1
Filling a variable with unmentioned categories
Hello, list,
I've been struggling with this task for a while looking for an efficient way to solve it:
There are two variables 'price' and 'mentioned'.
I want to 'enlarge' data so that missing price points within the price range are added to variable price.
Also variable 'mentioned' is to receive values 0 in these cases.
Note: Price points in original data can
2003 Feb 25
1
plotting question: filling area between two lines
Is there any way to fill the area within a plotted line and a
horizontal line, e.g. in the following example:
x <- rnorm(100)
plot(x,type="l")
abline(h=0)
Thanks for any help.
Christof
2012 Jan 19
1
Filling color's points in legend's plot in R
Hi! I'm new with R and I'm trying to do some plots but I have a problem with
the legend of this graphic because I want to fill the color's points in the
legend and I don't find any form to do it.I will really appreciate your
help. This is the code for legend's plot:
>legend(10,90,legend=c("TR=100 a?os","TR=50 a?os","TR=25 a?os","TR=10