similar to: sink() doesn't work

Displaying 20 results from an estimated 9000 matches similar to: "sink() doesn't work"

2017 Apr 28
3
Store unswitch
Hi Danny, Thanks for that :) However I've just updated the prototype patch to NewGVN and it didn't need any API changes - all I rely on is GVNExpression. Hongbin, I wanted to explain a little about what GVNSink can currently do, what it was designed for and hopefully how to make it handle your testcase. *Background* Common code sinking is more difficult to efficently do than one might
2010 Jun 07
3
Subsetting subsets of data.frames
Hey Everyone, I have been stumped by this all day. Basically, I have a data.frame of multiple columns. Of concern are "id" & "date" For some reason, oftentimes there are duplicates of data with the same date. I would like to remove the duplicates per different id (removing duplicate dates for the entire data.frame would leave nothing since different id's all have
2010 Jan 25
1
summing a large, partitioned data frame
Dear R community, I'm trying to develop a fast way of summing specific rows of a large data frame. Here is an example of the kind of data frames I'm dealing with: > refls H K L M/ISYM BATCH I SIGI 43247 1 0 5 21 79 61.44117 2.20553 1040 1 0 5 257 6 15.16316 0.54431 2324 1 0 5 257 5 46.76152 1.67858 31515 1 0 5 259 60 57.97305
2004 Jun 18
2
C7960 g729 question
I have multiple voiceage g729 licenses installed on a RH9 box, and have a remote C7960 configured to use it (low bandwidth). In calls like: Remote C7960 -> g729 -> asterisk -> g711 -> C7960 the audio is oftentimes rather choppy. Changing the remote 7960 to use g711 seems to eliminate/reduce the choppyness. Any ideas on what might be behind this?
2008 Oct 13
4
Add notes to sink output
Hello, How can I add notes (i.e. text) to a sink output? sink("test.txt") #This text will describe the test summary(x) sink() How can I add that text above to the sink output? Thanks, Michael [[alternative HTML version deleted]]
2004 Mar 25
1
Error : sink stack is full
Hello, I have implemented a method which uses sink to follow the progression status of an iterative process (Below is part of the code) I have already used such kind of code with no problem. Today, I get a "sink stack is full" error. I wonder if it could be linked with the fact that my .RData has a large size (around 7 Mo) ??? I hope that someone can help me ... Thanks in advance
2003 May 07
3
Sink for a subdirectory
Hi, how do I sink output to a subdirectory under which R is running? For example, suppose R is running in ~me and I would like to sink output to ~me/Subdir/filename. The obvious sink( "Subdir/filename" ) does not seem to work. Thanks very much.
2004 Nov 28
3
Correct Syntax for a Loop
I'll appreciate if some one can help me with the following loop. This is the logic of the loop, if we have the following data; > x.df x.dif . . . . 102 0.00 103 0.42 104 0.08 105 0.00 106 0.00 107 0.00 108 -0.16 109 -0.34 110 0.00 111 -0.17 112 -0.33 113 0.00 114 0.00 115 0.00 116 0.33 117 0.17 118 0.00 . . . . I'm trying to find i's where for (i
2007 Aug 07
1
sink behavior
There is a package called 'safe' that produces an object which I can only write to a file using the sink() function. It works fine if the sink() command is not inside of a function, but it does not write anything to the file if the command is within a function. Sample code: # Using a matrix because as a simple example. dumpMatrix = function(mat) { sink(file = "mat.txt")
2007 Jul 05
2
sink() and source()
hello, I have a problem running a R script actually I'm using source() and sink() and it doesn't work source("T:/agents/melyakhlifi/R/essai_rep.r") to execute a file and the file contain sink("T:/agents/melyakhlifi/R/sortie.html") cat("<html><body><pre>\n") matrix.merge2 cat("</pre></body></html>\n") sink() I
2009 Feb 13
2
Identifying graphics files produced by R
Oftentimes, I see graphs on the web that *look* like they've been produced by R, but I can never be sure. Or can I? I notice that PostScript files include a "%%%Creator: R Software" line, but do R graphics drivers encode any identifying information in GIF or PNG files more commonly used on the web? And of so, would such evidence necessarily be obliterated in post-processing (e.g
2008 Dec 05
4
Sink does not send graphs to sink file
Wiindows XP R 2.7 I am using sink() to send the results of my analyses to a text file. Unfortunately my graphs do not become part of the file. Is there anyway that I can have both the text and graphic output of my analyses appear in a file? Thanks, John John David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA
2010 Jul 16
3
Help with Sink Function
iterations <- 100 nvars <- 4 combined <- rbind(scaleMiceTrain, scaleMiceTest) reducedSample <- combined reducedSample <- subset(reducedSample, select = -pID50) reducedSample <- subset(reducedSample, select = -id) for (i in 1:iterations) { miceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE) miceSample$pID50 <- combined$pID50 miceTestSample <-
2010 May 21
2
Getting sink to work with “message” on R 2.11.0 - what did I miss?
Hi all, I am trying to use type message with sink, like this: sink("all.Rout", type="message") 1+3 sink() readLines(con = "all.Rout") So to get the following output: > 1+3 [1] 4 Obviously this doesn't work. I tried some variations (based on the explanations in the help) but am missing something on how to make it work. Any suggestions? (p.s: I need
2005 Apr 18
1
how to use sink.number()
Dear All R-helper, my question is how to use sink.number. if I want to label the output was sinked by sink function how should I do ? example: zz <- file("c:\\sinktest1.txt",open="wt") sink(zz) g<- 1:10 cat(g,"\n") f<-list(1:100) h<-capture.output(f) cat(h) sink() I want there are marks in "sinktest1.txt" files, let me know the number of
2003 Jan 13
3
sink() & windows printing
I used sink() a lot under linux with no problems. Under windows 2000 & using R 1.5.1, I do the following: - use sink() to direct ouput to a file - use sink() again to direct output to screen - print the file (to a network printer) PROBLEM: the file stays spooled infinitely at the printer. Sometimes the spooling gets translated into a printer error. The only way to get any printing working
2009 Mar 28
2
Output an RWeka model via sink
When I sink the output of an RWeka model to a text file, the output file appears empty: library(RWeka) model = LogitBoost(Species~.,data=iris) print(model) sink("output.txt") print(model) #file output.txt is created, but it is blank sink() Am I doing anything wrong? [[alternative HTML version deleted]]
2004 Jul 24
3
help(package)->sink()
I wanted to direct packageInfo to a file, so I could add comments, e.g., in MS Word. The following command stored the desired information in an object: mclustInfo <- help(package="mclust") Then "mclustInfo" displays it on my screen. To direct it to a file, I tried the following: sink("mclust.txt") mclustInfo sink()
2006 Jan 12
4
Loading Excel file into Limma
Dear mailing group, This is my first time here. Glad to have this resource! I am currently trying to load an Excel file into R (limma package loaded) using the source(*name of directory*) command, but it cannot open the file. I renamed the file as .R and .RData, to no avail. The Excel data contains one gene name per row and about 100 data points per gene (columns). I am only used to
2011 May 27
2
if you don't give yourself annoyance, others also can never
yes, I narrowed eyes and see the world again. I's eyes narrowed, at present of scenery was draped one hazy cloak, a fairly beautiful come out in the wash. As long as the phenomenon don't essence, some things, some things, some people don't need to see as well, as long as I see things scenery beautiful that side. www.ebuybus.com