similar to: Writing specific columns to a data file

Displaying 20 results from an estimated 10000 matches similar to: "Writing specific columns to a data file"

2009 Apr 18
4
Loop question
Hi everyone, I am trying to accomplish a small task that is giving me quite a headache. I would like to automatically generate a series of matrices and give them successive names. Here is what I thought at first: t1<-matrix(0, nrow=250, ncol=1) for(i in 1:10){ t1[i]<-rnorm(250) } What I intended was that the loop would create 10 different matrices with a single column of 250
2009 Apr 23
3
Floating simulation error
Hi all, I am running a simulation and a curious error keeps coming up that stops the whole process. The error is a subscript out of bounds error, and it seems to happen at different points (floating around) throughout the looping simulation. Say, for example, it crashes on sample 1 - iteration 200. I can force it to start again on iteration 202 with all of the same settings, and it is
2009 Apr 20
3
Calling objects in a loop
Hi everyone, I am trying to calculate a particular variable (vector) from some previously defined variables in a loop but I am having trouble figuring out how to get the loop to recognize that it should index for the previously defined objects. Here is a simplified version of what I am trying to do: for(i in 1:10){
2009 Apr 13
2
equation help
Hi everyone, I am having a bit of trouble correctly structuring an equation in R. Here is the equation Here is what I thought for(i in 1:numItem)for(x in 1:numCat) Ptheta[,i,x]<-(exp(-1.702*a[i]*(theta-b[i,x+1])) My problem is that I am not sure how to get it to read the equation as having two indexing points (i and x). Right now it is trying to read it as a matrix, but
2009 Apr 14
2
Controlling widths in write.fwf()
Is there a way to handle the widths of values being written to a file using wrtite.fwf() ? For example, I used read.fwf(file, width.vector) to read a file. After making the necessary data manipulation, I want to write the data to a new file in the same width.vector format. Is there a way to specify this? Thanks in Advance Aparna [[alternative HTML version deleted]]
2009 Apr 09
1
puzzling lm.fit errors
Hi everyone, I am running a monte carlo and am getting an error that I haven't the slightest clue where to begin figuring it out. The error is as follows: Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 0 (non-NA) cases In addition: Warning message: In ltm.fit(X, betas, constraint, formula, con) : Hessian matrix at convergence is not positive definite;
2006 Apr 04
9
Does ActiveRecord have support for "Boolean" columns?
Hey all -- I''ve been using enumerable char(1)''s with ''y'' and ''n'' values for my Boolean columns in Rails, but it strikes me there should be a better way. How do you setup columns that represent true/false-ness in your schemas on Rails? Wondering what kind of standard approaches there are other than me writing something like class MyEntity
2010 Jan 04
4
function in aggregate applied to specific columns only
I want to use aggregate with the mean function on specific columns gender <- factor(c("m", "m", "f", "f", "m")) student <- c(0001, 0002, 0003, 0003, 0001) score <- c(50, 60, 70, 65, 60) basicSub <- data.frame(student, gender, score) basicSubMean <- aggregate(basicSub, by=list(basicSub$student), FUN=mean, na.rm=TRUE) This
2013 Mar 19
4
OS specific configuration
Beginner question: I have a very simple configuration in site.pp for all agents. Is it possible to split actions based on operating system. I am interested into running certain commands only on Windows 7, some on Windows Xp and some on Mac OS X agents. Is there a simple way of achieving this while keeping a simple configuration ? Thank you, Dragos -- You received this message because
2010 Feb 25
2
Morse Code
This is just curiosity, but I'm wondering why the Morsecode app has remained part of the trunk for all of these years. Is there any practical use for this or is it just an homage to the ghosts of telecommunications past? Does anybody use the Morsecode app for anything interesting? I'm strangely fascinated by this core piece of Asterisk functionality. -Chris
2020 Jan 10
2
DW_OP_implicit_pointer design/implementation in general
On Fri, Jan 10, 2020 at 7:02 AM Jeremy Morse <jeremy.morse.llvm at gmail.com> wrote: > Hi, > > On Wed, Jan 8, 2020 at 8:38 PM Adrian Prantl <aprantl at apple.com> wrote: > > As far as LLVM semantics are concerned, the implicit pointer doesn't > seem to be that much different from any other implicit values (such as > constants) to me. Why do you think that it
2006 Feb 20
2
Write pure sine to *.ogg directly?
Hello, I am author of a Morse code training software written in Perl at http://starling.ws/morse Currently I output to *.wav and, if on Unix, convert to *.ogg. And that's okay for a trainer. But I have desire to upgrade the project to a real-time communication tool...or at least a Morse code audio mail routine. And I should like to avoid *.wav. I'd like some means of writing a pure
2004 Mar 26
3
Samba 3.0 & 2003 Active Directory Native Mode
Does Samba 3.0.2a release integrate with Windows Active Directory running in 2003 Native Mode? The situation is that two corporate departments are joining their network infrastructure. One department runs several Samba 2.2 servers and the other is a 2003 Native Mode Active Directory. I understand that if you upgrade to Samba 3.0 this supports Windows 2000 AD, but it is unclear to me if
2008 Apr 01
10
Request for code review: the brendan() action
This came up as an RFE during the conference (I believe it''s been logged as "4012008: brendan() action needed for DTrace Toolkit".) As everyone here is aware, DTrace is not quite as user friendly as it could be. For the uninitiated, it can be confusing to run a DTrace script and not see the expected output. Brendan Gregg has addressed this in the DTrace Toolkit[1] by
2019 Nov 20
3
LNT debuginfo-statistics not running?
Hi llvm-dev@ LNT produces statistics and graphs (such as [0]) of debuginfo metrics, such as number of source variables with locations. It looks like these haven't run [1] since the move from svn to git -- are there any plans to get these running again? I find it highly useful to identify what commits have affected variable locations and how significant an affect. [0]
2012 May 23
11
Xen vs VMWare comparison paper
One of my customers handed me a copy of this paper and asked why are we using xen if it is so slow... http://morse.colorado.edu/~tlen5710/12s/VMware.pdf which is a fairly damning report of performance under Xen in comparison to VMWare, citing worse than 50% overhead of Xen in comparison to physical. Has anyone seen this paper before? James
2007 Mar 19
2
NET 1.1 framework
Hi, Is it possible to get an application that requires the MS NET framework to run under WINE? I see the MONO site. If I build and run MONO would it allow me to run an application under WINE? Actually I want to do this with a free program called RUFZ to help sharpen morse code skills. Thanks Kurt
2005 Jun 29
10
TCP Snoop & wrapper shell script posted
Hi , I have posted DTrace script to snoop tcp traffic and also provided a wrapper script for it to filter out unwanted traffic. http://blogs.sun.com/roller/comments/raviswam/Weblog/tcp_snoop_using_dtrace Please let me know if you have any feedback/comments on this. Thanks Ravi
2020 Jan 08
2
DW_OP_implicit_pointer design/implementation in general
> On Jan 2, 2020, at 6:37 AM, Jeremy Morse <jeremy.morse.llvm at gmail.com> wrote: > > Hi all, > > On the topic of intrinsics, right now we have two (dbg.value / > dbg.addr) that respectively describe: > * The "direct value" (quoting langref) of a variable, and > * The address of where the current variable value is stored. > Both of which map onto dwarf
2003 Feb 27
7
Interest in E1 channel banks?
Our company manufactures an E1 channel bank that is approved for use in Australia (it should also be compatible with Euro standards). It is modular and available in 10, 20 or 30 analog port configurations. Signal monitoring and configuration is via Ethernet. These units are manufactured in low quantities for specific telco requirements. However if there was enough interest, we would be able to