similar to: using assign on save?

Displaying 20 results from an estimated 7000 matches similar to: "using assign on save?"

2008 Sep 19
0
[LLVMdev] PassManager Dependence Question
On Sep 19, 2008, at 3:11 PM, David Greene wrote: > Let's say I have an analysis pass that's dependent on another > analysis pass > (getAnalysisUsage does the appropraite things). > > So Pass Y depends on Pass X. > > If some transformation pass depends on Pass Y and Pass Y has not been > invalidated by another other pass BUT Pass X _has_ been invalidated > by
2004 May 23
1
extension pattern matching
dear all, was hoping someone could give me instruction on the syntax of extension pattern matching for letters the proposed 'dial plan' is one where any letter in the dialled digits causes the pbx to assume we are dilaling a sip url and as such forward to the appropraite sip service provider was hoping to avoid the plan in john todd's example that assumes anything prefixed with 3 is
2002 May 18
3
checkerboard plot?
Hi, I've been doing a lot of CA modeling lately and am now wanting to make some checkerboard plots in R. Let's say I have a matrix: > is.matrix(junk) [1] TRUE > junk [,1] [,2] [,3] [,4] [,5] [1,] 0 0 1 0 0 [2,] 0 1 1 1 0 [3,] 0 1 0 0 1 [4,] 0 1 1 1 1 [5,] 0 1 0 0 0 > and I want to make a
2008 Sep 19
5
[LLVMdev] PassManager Dependence Question
Let's say I have an analysis pass that's dependent on another analysis pass (getAnalysisUsage does the appropraite things). So Pass Y depends on Pass X. If some transformation pass depends on Pass Y and Pass Y has not been invalidated by another other pass BUT Pass X _has_ been invalidated by some other pass, what happens? I can imagine two likely paths in the current implementation
2004 Aug 06
1
Another problem...
At 11:53 PM 8/27/2002 +1000, you wrote: >icecast 2.x will maintain content type (mp3, vorbis, etc.) regardless >of extension, but ending ogg mounpoints with .ogg is recommended as >a workaround for some very common client bugs (_new_ clients should > NOT under any circumstances rely on this) just a point (or two) worth mentioning, it's not exactly trivial for clients to support
2010 Nov 19
1
how to save object created by assign()
Hi there, When I run the following code, I could get correct objects (with correct values): for(i in 1:6) { #-- Create objects 'r.1', 'r.2', ... 'r.6' -- nam <- paste("r",i, sep=".") assign(nam, 1:i) # save(nam, file = paste(nam, "RData", sep = ".")) } I hope to save the object 'r.1',
2003 May 13
3
Sorting a matrix in an odd way
Hi, I have a matrix not unlike this: foo <- matrix(,5,5) foo[5,1] <- 1 foo[1:3,2] <- 1 foo[3:4,3] <- 1 foo[4:5,4] <- 1 foo[2:4,5] <- 1 foo [,1] [,2] [,3] [,4] [,5] [1,] NA 1 NA NA NA [2,] NA 1 NA NA 1 [3,] NA 1 1 NA 1 [4,] NA NA 1 1 1 [5,] 1 NA NA 1 NA I want to get a vector that is the column numbers as sorted
2004 Nov 11
6
scan or source a text file into a list
I've ported somebody else's rather cumbersome Matlab model to R for colleagues that want a free build of the model with the same type of I/O. The Matlab model reads a text file with the initial parameters specified as: C:\Data\Carluc\Rport>more Params.R # Number of years to simulate nYears = 50; # Initial year for graphing purposes year0 = 1970; # NPP/GPP ratio (cpp0 unitless) fnr =
2005 Aug 22
1
cbind and rbind
Hi, I have been trying for a while to use cbind and rbind to add a row and column to the same table but seem to be able only to add one OR the other??? Any help would be most welcome, Tony Evans Australia [[alternative HTML version deleted]]
2005 Apr 29
2
congratulations to the JGR developers
Just want to offer my congratulations to the JGR developers as the recepient of the 2005 Chambers Award. Great job, guys!! http://stats.math.uni-augsburg.de/JGR/ [Now, could JGR be updated to work with 2.1.0 (or be made R version independent, please... 8-)] Best, Andy
2005 Apr 20
3
if(foo == TRUE) .. etc
Martin Maechler wrote: > More generally, please, please, everyone : > > Replace > if (something == TRUE) > with if (something) > and > if (something.or.other == FALSE) > with if (!something.or.other) Amen! And right on! And you tell 'em! And a few other exclamations, several of which are not suitable for a family program. That sort of syntax,
2005 Jan 14
1
Ez-Stream and Error
Hi....i will becam here an error under EZStream(Win32) "Unknown format THEORA, passing right on through! Unable to open file pipe:"... Im usung the ffmpeg2theora-0.12.exe here the XML File Greets <!-- This example is for a input playlist that can contain avi and mpg (video) files files and a output stream that is OggTheora. The output stream settings (bitrate, channels,
2006 Apr 07
3
finding common elements in a list
Suppose I have a list where I want to extract only the elements that occur in every component. For instance in the list foo I want to know that the numbers 2 and 3 occur in every component. The solution I have seems unnecessarily clunky. TIA, Andy foo <- list(x = 1:10, y=2:11, z=1:3) bar <-unlist(foo) bartab <- table(bar) as.numeric(names(bartab)[bartab==length(foo)])
2005 Oct 16
4
Cannot telnet to port 5038 on asterisk
Hi, I cannot do the following: telnet 127.0.0.1 5038 I get connection refused and this is preventing AMP from installing. I had this working when I was using FC3 but I had to upgrade to FC4 for another application. So I am running PHP5, MYSQL 4 with FC4 and asterisk is running (I had this problem before with FC3 and it turned out asterisk was not running) I am using 1.2.0 beta1 Asterisk
2005 Nov 10
2
ltext - adding text to each panel from a matrix
Hi all (really probably just Deepayan): In the plot below I want to add text on either side of each violin plot that indicates the number of observations that are either positive or negative. I'm trying to do this with ltext() and I've also monkeyed about with panel.text(). The code below is generally what I want but my calls to ltext() are wrong and I'm not sure how to fix them.
2004 Feb 17
4
importing ascii grids (for gstat)
Hello, Is there anyone who could give me an example of how to import an ascii grid (i.e. ArcGIS exported raster) into R. I want to use it with gstat but don't know the appropriate import routine. Thanks very much for your help. Regards, femke Femke Reitsma Graduate Student (ABD) Geography Department 2181 LeFrak Hall University of Maryland College Park, MD 20742 Phone: 301-405-4121
2003 Aug 26
1
Getting out of an embedded function safely - use try?
Helpers. An instrument sends me data that is mostly nonlinear. I have a group of functions to manipulate this data so that it is useful to the user. One of them involves a nls model that called to fit a line to the data and returns the fits. This works well 99 out of 100 times. Occasionally, the sensor sends some bad data to which a nls model cannot be fit. When that happens, the nls function
2006 Mar 10
1
add trend line to each group of data in: xyplot(y1+y2 ~ x | grp...
Although this should be trivial, I'm having a spot of trouble. I want to make a lattice plot of the format y1+y2 ~ x | grp but then fit a lm to each y variable and add an abline of those models in different colors. If the xyplot followed y~x|grp I would write a panel function as below, but I'm unsure of how to do that with y1 and y2 without reshaping the data before hand. Thoughts
2011 Jun 19
1
save and load in R
I have a list of txt files that I want to convert into .rdata R data object. filenames 1. "./file1.txt" 2. "./file2.txt" 3. "./file3.txt" 4. "./file4.txt" 5. "./file5.txt" 6. "./file6.txt" 7. "./file7.txt" 8. "./file8.txt" 9. "./file9.txt" 10. "./file10.txt" I saved these files as for ( i in
2007 Sep 28
1
Proximity Detection: Motorola Q + Bluetooth + Asterisk
Hi, Can anyone tell me if the Motorola Q has its Bluetooth always on like the IPhone? I want to use the Motorola Q in a Proximity Detection setup like that described on nerdvittles.com. I know the Treo 650 does not work well since the display must be on for the bluetooth to be on and this eats power. Thanks Chuck Bunn