similar to: cut - suggestion

Displaying 20 results from an estimated 400 matches similar to: "cut - suggestion"

2001 Oct 26
1
Bug or new concept in formatC?
As a sequel to my previous mail on cut, formatC does not produce what I have been taught is significant digits: > x <- c(1.0793,1.0796, 11.0954, 11.0736 ) > formatC(x,digits=3,format="g") [1] "1.08" "1.08" "11.1" "11.1" (3,3,3,3) significant digits OK > formatC(x,digits=3,format="f") [1] "1.079"
2000 Nov 22
0
Fw: Session logging in Windows98?
Does anyone have a function such as tee() described below? It would be nice not to have to go to Emacs and have to deal with yet another editor. ----- Original Message ----- From: "BXC (Bendix Carstensen)" <bxc at novonordisk.com> To: <r-help at lists.r-project.org> Sent: Tuesday, November 21, 2000 10:05 PM Subject: RE: [R] Session logging in Windows98? Further to W. T.
2004 Jan 18
0
xtable feature addition suggestion
Hi, attached follows a patch to add a feature that I think it would be useful having in the print.xtable function of the xtable package. It adds the option 'tabular.environment' to that function, which could be used to set an alternative tabular environment, as the name already suggests. This is particulary useful when dealing with long tables, which do not fit in a single page. In the
2001 Nov 21
1
Slow printing in batch?
For doumentation purposes I run a batch R program that does reshaping etc. of data and finally prints things. When I paste the code into an R-window everything runs in a few seconds, but in Batch mode i get in the output file the result below. Any clues why R uses 4 min to print a 1129\times 6 dataframe in batch mode? The scrit I use to run R is: c:\stat\r\%R_VERS%\bin\Rterm --no-restore
2001 Sep 05
3
Bug in ftable?? (Was: Two-way tables of data, etc)
Further to the discussion between Murray Jorgensen and Brian Ripley, it seems to me better to choose tabulations that will not come and bite you. Suppose your data are sligtly irregular, e.g. (for the sake of the argument): data( warpbreaks ) warpbreaks$variant <- rep( 1:5, len=54 ) attach( warpbreaks ) tb <- table( wool, tension, variant ) tb # in this case you would like to see: tp
2001 Sep 05
3
Bug in ftable?? (Was: Two-way tables of data, etc)
Further to the discussion between Murray Jorgensen and Brian Ripley, it seems to me better to choose tabulations that will not come and bite you. Suppose your data are sligtly irregular, e.g. (for the sake of the argument): data( warpbreaks ) warpbreaks$variant <- rep( 1:5, len=54 ) attach( warpbreaks ) tb <- table( wool, tension, variant ) tb # in this case you would like to see: tp
2003 Apr 03
5
cdf function: inverse to quantile?
Is there a function in R for calculating empirical cumulative distribution functions, i.e. the inverse of the quantile function? Perhaps in some library? I''d hate to have to re-invent the wheel. David Edwards, Biostatistics, Novo Nordisk A/S, Bagsværd, Denmark. DEd@novonordisk.com <mailto:DEd@novonordisk.com> Tlf: +45 44 42 62 35. Fax: +45 44 42 14 80 [[alternate HTML version
2003 Feb 07
1
Bug in socketConnection (PR#2535)
Platform: Windows Version: 1.6.2 When first called, socketConnection gives an error. On subsequent calls it performs correctly. Thus the first call has the effect of "priming" the connection. Eg > socketConnection(port=50) Error in socketConnection(port = 50) : unable to open connection In addition: Warning message: localhost:50 cannot be opened > MIM <-
2003 Jun 30
2
R as COM client (rather than server)
Hello all Can R be used as a COM client (rather than as a COM server)? The following (Splus) code shows the sort of thing I'd like to do: pMIM <- create.ole.object("mim31.Server") NoOutputLines <- call.ole.method(pMIM, "SendCmdLine", "show w") for (i in 1:NoOutputLines) show(call.ole.method(pMIM, "GetOutputLine")) release.ole.object(pMIM)
2010 Sep 02
1
[LLVMdev] Problems with Passing agrument to a Pass
Hi, I have a very naive question. I've written a pass that gets an argument from the command line with the following code: static cl::opt<int> LineNum("line-number", cl::Hidden, cl::Required,cl::desc("line of variable being observed")); Now when I run it, it seems like it cant see that I've put in an argument on the command line: opt -load
2009 Aug 10
1
getmail and Dovecot LDA deliver
Hello, my first post in this list. Hope it's the right place.:-) I'm having a problem running getmail together with Dovecot LDA for virtual users. To achive this I let getmail run under the user that owns the virtual email accounts-root. The problem is that getmail is running under the user vmail and therefore the emails received will be put into vmail's mailbox. But the emails
2010 Feb 15
1
"EstimableS" in R
Hi I've just installed the R version 2.10.1 on my new PC and unfortunately I have problem to use the function Estimables. I have downloaded gmodels succesfully but have problems when I activate the package. I get following meassage; > utils:::menuInstallLocal() package 'gmodels' successfully unpacked and MD5 sums checked > local({pkg <-
2012 Dec 16
3
how to handle NA values in aggregate()
Dear All: I am trying to calculate four columns' means in a dataframe like this: FID MID IID EW_INCU EW_17.5 EMW EEratio 1 4621 TWF2H5 45.26 NA 15.61 NA 1 4621 TWF2H6 48.02 44.09 13.41 0.3041506 2 4630 TWF2H19 51.44 47.81 NA NA 2 4631 TWF2H21 NA 52.72 16.70
2005 Mar 03
2
Putting different colors on labels in plot (hclust)
Hi All R-helpers This is my first (but probartly not last ;-) mail to R-help, so hello to everybody. My problem: Is there a way to give colors to the labels (sample labels) in plots for a hclust object for better visualization? I have looked through plot, points, hclust and more but cannot find anything on label color. Anybody know if this is doable? Best regards Jeppe
2007 Apr 11
1
Programming Problem (for loop, random # control, 3 dimentional graph)
Dear List, This is just a programming problem which i cannot seem to figure out. I am trying to get a set of power from a test (say, kolmogorov smirnov) out of a distribution (say, G-K distribution) as follows. I am trying to reduce to pain of writing the whole set of data points (p# below) using "for" loop. However, I seem to have some problem in it as the output "M" does not
2004 Mar 29
2
cut and factor
Eric, thanks for quick reply. at first look I thought it is what I need, but, unfortunately, it doesn't applied to original data - it creates new data with loosing original indexes ! I want to keep indexes of original data, but replace original data with $mids of corresponding $breaks. So, if I have z = 1:10, t=hist(z,plot=F) > z [1] 1 2 3 4 5 6 7 8 9 10 > t$breaks [1] 0 2
2007 Feb 20
0
transaction is started before a validation [c/o Rails-Core]
Hi all.. I was going to submit this as a bug...but thought I should learn more first ... When #save is called on an ActiveRecord a transaction is started to catch any potential problems and try and recover from them. This is cool. But.. as a result of the Transaction module being mixed in quite late in the game, the transactions system is one of the *first* things to get initiated.........is
2008 Jan 04
0
[LLVMdev] Extraction of Arguments Passed to a Function
Hi, I am trying to extract the name of the variables passed as an Argument to a Function. I am using a runOnFunction Pass. For example in the following IR respresentation, define void @foo(i32 %limit) { entry: -- -- } I should be able to walk the IR and get '%limit' as the external variable passed to the function. Another question, Is it possible to create a basic symbol table (
2001 Jan 02
1
sink() does not seem to release the file
I run Win2000, and when I try to write to a file and later use it it seems that R 1.02.0 has a firm grip on it: > version _ platform i386-pc-mingw32 arch x86 os Win32 system x86, Win32 status major 1 minor 2.0 year 2000 month 12 day 15
2009 Feb 12
0
Released Sieve v0.1.3 and ManageSieve v0.11.3 for Dovecot v1.2.beta1
Hello Dovecot users, It has been about two months since the last release of the new Sieve implementation and the ManageSieve service for Dovecot v1.2. Therefore, this release contains quite a few changes. It adds new sieve features like the enotify extension and multiscript support. Also, quite a few (user-reported) bugs were fixed since the last release. Changelog Sieve v0.1.3: *