similar to: indexing in a function doesn't work?

Displaying 20 results from an estimated 300 matches similar to: "indexing in a function doesn't work?"

2011 Jun 21
1
Setting up list of many equations for systemfit
Dear List Members,I am trying to set up a large system of equations and I am trying to find a simple way to set up the list command under the package system fit. Here is the example from system fit and what I am trying to do: EQ1 <- Y1 ~ X1 + X2 + X4EQ2 <- Y2 ~ X2 + X3EQ3 <- Y3 ~ X2 + X3 + X4EQ4 <- Y4 ~ X1 + X3 + X4eqSystem <-list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)
2007 Mar 19
1
Forms lost focus in KDE
Hello, I'm testing a simple delphi application that have 3 forms. >From FORM1 (the main form) I press a button to show FORM2, then from FORM2 I press a button to show FORM3, when I close FORM3, FORM1 becomes focused instead of FORM2. Every time you close a form or a dialog the application main form becomes the active one. This only happend in KDE, allowing windows manager to control the
2008 Apr 23
1
pdf() and histogram() in function call
Here is a function I wrote. It runs no problem, but generate empty pdf files. I can't find what is the problem. create.pdf<- function(x, dir) { dir.create(dir, showWarnings = FALSE) plist<- c("a", "b" , "c", "d") for(j in plist) { filedir<- paste(dir, "/", j, ".pdf",
2011 Jun 23
0
Loops, Paste, Apply? What is the best way to set up a list of many equations?
Is there a way to apply paste to?list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)?such that I don't have to write form1=EQ1 for all my models?(I might have a list of 20 or more)? I also need the EQs to read the formulas associated with them. For example, below, I was able to automate the name assignment but I could not figure out how to?to set up the list using?paste or other
2011 Jun 28
2
How do I output all the R-squares of an SUR? summary(fitSUR$eq[[1:4]])$r.squared does not work
Greetings R Users, I have a system of equations for which I would like to output all the R-squares. Assume there are four equations in my system, the only way I found to output all the R-squares is by calling them out one by one as this: summary(fitSUR$eq[[1]])$r.squared summary(fitSUR$eq[[2]])$r.squared summary(fitSUR$eq[[3]])$r.squared summary(fitSUR$eq[[4]])$r.squared But isn't there a
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default config/backgroundrb.yml file as: --- port: "22223" timer_sleep: 60 load_rails: true environment: production host: localhost database_yml: config/database.yml acl: deny: all allow: localhost 127.0.0.1 order: deny,allow and my database.yml production: adapter: mysql database: chip2_production username: xxxxx password:
2016 Jan 29
2
generate interface MAC addresses in a particular order
Hi all, I am using libvirt to manage VM on my system; after creating a VM (default no NICs are present in the configuration) you can add any number of interfaces to it (as long as they exist on the host). To do that, I edit the configuration xlm: vmXml = self.domain.XMLDesc() root = ET.fromstring(vmXml) devices = root.find('./devices') intf =
2002 Oct 02
6
help to make a map on R
Hi all, I need a little help for construct an state's map on R. The first problem is to get the data. I have a datafile of longitude and latitude in the follow format: trajectory latitude longtude T -22.045618 -51.287056 T -22.067078 -51.265888 T -22.067039 -51.207249 T -22.059690 -48.089695 T -22.075529 -48.074608 T -22.072460 -48.044472 T -22.062767 -48.298473 T -22.077349
2009 Jul 09
1
Premature end of script headers: upsimage.cgi
hi- i'm using version 2.4.1, courtesy of debian testing, and noticed that in the web interface, the image for the battery voltage bar graph wasn't displaying. the other images (change, input, output, load) seem to be fine. the browser reports "500 internal server error", and apache reports "Premature end of script headers: upsimage.cgi, referer:
2008 Jul 30
1
read XML
I have a xml exported by Manifold GIS but I'm not being able to import it into R using XLM package. The file have this structure: <?xml version="1.0" encoding="UTF-8" ?> - <layout> <name>Layout 2</name> <pagesByX>1</pagesByX> <pagesByY>1</pagesByY> - <elements> <legend
2016 Feb 01
1
Re: generate interface MAC addresses in a particular order
On Sun, Jan 31, 2016 at 8:56 AM, Michal Privoznik <mprivozn@redhat.com> wrote: > On 29.01.2016 11:24, Andrei Perietanu wrote: > > Hi all, > > > > I am using libvirt to manage VM on my system; after creating a VM > (default > > no NICs are present in the configuration) you can add any number of > > interfaces to it (as long as they exist on the host).
2010 Jan 10
1
xmlToDataFrame#Help!!!#follow-up
Dieter Menne pointed out that the (small) xml attachment didn't make it. Here is an in-line version (see end of message). Let's hope it works this time. I'm struggling with interpreting XML files created by ADODB as data.frames and I'm looking for advice. Note: This xlm contains a result set which comes from a rectangular data array. I've been trying to play with
2006 Aug 06
0
’x‚­‚È‚Á‚Ä‚·‚Ý‚Ü‚¹‚ñIII
ylm(_ _)m AyI bRRlq(^^)p A@ http://www.happypinklove.com/vicinity XB
2016 Jan 31
0
Re: generate interface MAC addresses in a particular order
On 29.01.2016 11:24, Andrei Perietanu wrote: > Hi all, > > I am using libvirt to manage VM on my system; after creating a VM (default > no NICs are present in the configuration) you can add any number of > interfaces to it (as long as they exist on the host). > To do that, I edit the configuration xlm: > > vmXml = self.domain.XMLDesc() > root =
2009 May 26
1
Installing and running XEN
Hi all! I''m new on the list. I have read many HowTos about xen installations and I have an error that I cant find solution. (S.O: Debian Lenny) First, this is what I did: Hypervisor # aptitude install xen-hypervisor-i386 libc6-xen xen-utils xen-tools bridge-utils Kernel # aptitude install xen-linux-system-2.6.26-2-xen-686 ----- # nano /etc/modules loop max_loop=128 # nano
2006 Apr 25
11
How much Ruby?
I bought the pickaxe about 1 1/2 months ago, and I have been reading through it and learning Ruby in my spare time. I''m about 200 pages into it, and I''m starting to think I don''t need to know all of the in''s and out''s of Ruby to get a good hang on Rails. How much Ruby do I really need to be proficient in Rails? Ruby is a great language, I love it, but
2011 Jul 29
2
special recursive filter
Hi, I have a question about a special recursive filter problem. What I have: - given variables: x: time series with rather randomly occuring '0' and '1' wait: non negative integer - a working but ineffectiv implementation (see below) How the implementation works (what I want): The filter should drill holes of distance 'wait' between the '1' in x, e.g. x =
2002 Nov 29
6
Version 2.2.6 and above are not able to store big files over 2GB
Hello, when I store a file biger than 2GB to a samba server version 2.2.5 everythink works fine. But when I do that with a server version 2.2.6 or 2.2.7 the saving fails on the 2GB limit. The problem can be seen with windowsclients or with smbclient (any version > 2.2.5). I did some debuging and find that the lseek64 fails. But I didn't find the reason. Regards Klaus Ethgen
2003 Apr 15
1
Building R package.
Hi! I am trying to build a package which calls an c function. It compiles it and installs it. But if i run R CMD check test_ the last output are: * checking examples ... ERROR Running examples failed. x<-1:10 and in the test-Ex.out file i find: > test(x) Error in .C("mytest", as.double(x), as.integer(lengthx)) : C/Fortran function name not in load table Execution halte
2013 Feb 26
1
problem with nested loops
Each of the data sets contains monthly observations on price indices for 7 countries. I use the fitted values from reg1 in the reg2 model. The interior loop executes without error as long as I explicitly specify the data set, i.e. data=dat70. However the code fails to execute if I specify the model in the form of the commented line, i. e reg1 <-dynlm(form1,data=Dnames[j]) I get the following