Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

578 results for “from:Petr Savicky”

Sorting strings
Petr Savicky · Feb 20, 2012 · r-help

On Mon, Feb 20, 2012 at 02:18:42AM -0800, statquant2 wrote: > Hi all, I am having difficulties to understand how R sort strings: > > If I do > R) sort(c("X.","X0B")) > [1] "X." "X0B" > > So for me, as far...

help in run if
Petr Savicky · Feb 15, 2012 · r-help

On Wed, Feb 15, 2012 at 12:31:54AM -0800, arunkumar1111 wrote: > hi > > My data looks like > > x=c(0,0,0,0,0) > y=c(10,20,30,40,50) > > i want to generate 5 random numbers between x...

How to do division calculation in R?
Petr Savicky · May 6, 2012 · r-help

On Sun, May 06, 2012 at 05:19:30PM +0800, xiaocong zuo wrote: > Dear all, > > Sorry, I means if we must remove the nonparameter value then do the > division calculation or there is any other ways to do? Hello: Do...

uncoerce.... to get real number instead of integer?
Petr Savicky · Jun 24, 2012 · r-help

On Sun, Jun 24, 2012 at 07:29:23AM +0100, Rui Barradas wrote: > Hello, > > Don't worry, it's just a print thing. Just check this example: > > > x <- 123456789.0378 > x > [1] 123456789 > x - 123456789 > [1] 0.0378 Hello: If...

Error is coming as NULL
Petr Savicky · Jan 24, 2012 · r-help

On Tue, Jan 24, 2012 at 12:07:26PM +0000, Sri krishna Devarayalu Balanagu wrote: > > Hi All, > > This is the file which I want to import into R After importing and querying the data, error is coming as null. > > read...

NA and NaN in function identical
Petr Savicky · Aug 29, 2007 · r-devel

The help page for function identical says: 'identical' sees 'NaN' as different from 'as.double(NA)', but all 'NaN's are equal (and all 'NA' of the same type are equal). However, we have x <- NaN y <- as.double(NA...

Help with a repeating process
Petr Savicky · Jun 24, 2012 · r-help

On Sun, Jun 24, 2012 at 08:37:23AM -0700, tbowlo wrote: > Perhaps an easier coding that shows what I want would be this: > > > for(i in 1:nrow(ret)) { > + retT=ret[1+i:252+i,]} Hi. Using your previous...

modifying large R objects in place
Petr Savicky · Sep 27, 2007 · r-devel

In my previous email, I sent the example: > a <- matrix(as.integer(1),nrow=14100,ncol=14100) # 774m > a[1,1] <- 0 # 3.0g > gc() # 1.5g This is misleading. The correct version is a <- matrix(as.integer(1),nrow...

How to get intersection of multiple vectors?
Petr Savicky · Feb 2, 2012 · r-help

On Thu, Feb 02, 2012 at 01:55:07PM +0800, ?? wrote: > v1<-c("a","b","c","d") > v2<-c("a","b","e") > v3<-c("a","f","g") > > > I want to get the intersection of v1,v2,v3,ie "a" > > > How...

Removing rows of zeros from a matrix
Petr Savicky · Jun 2, 2011 · r-help

On Thu, Jun 02, 2011 at 11:23:28AM -0400, Jim Silverton wrote: > Hi, > Can someone tell me how to remove rows of zeros from a matrix? > For example if I have the following matrix, > > 0 0 > 0 1 > 2...

Matrix of Matrices?
Petr Savicky · Feb 15, 2011 · r-help

On Tue, Feb 15, 2011 at 09:40:54AM -0800, Alaios wrote: > Thank you very much for your help again. > One more question is that after I have that list of matrices what is the easiest way to find the...

Returning the coef from two coordinates
Petr Savicky · Apr 29, 2012 · r-help

On Fri, Apr 27, 2012 at 02:08:09PM -0700, Hans Thompson wrote: > I meant (1,1) as an (x,y) coordinate. I am trying to find the function to > return the coefficient of the line running through: > > >B > x...

Password-protect R script files
Petr Savicky · Apr 11, 2011 · r-help

On Sun, Apr 10, 2011 at 10:48:19PM +0530, Vijayan Padmanabhan wrote: > There was a question in R forum very long time back.. on how to protect R > Script files from inadvertent editing by users. > There is a way...

[Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]
Petr Savicky · Aug 14, 2007 · r-devel

On Mon, Aug 13, 2007 at 05:49:51PM -0400, Ben Bolker wrote: [snip] > an undefined condition), but it leads to a bug in stats4::mle -- > a spurious error saying that a better fit > has been found during profiling if...

Difference between 10 and 10L
Petr Savicky · May 4, 2012 · r-help

On Thu, May 03, 2012 at 07:32:46PM -0400, brwin338 wrote: > > Good Evening > We have been searching through the R documentation manuals without success on this one. > What is the purpose or result of the "L" in the following...

Numbers in a string
Petr Savicky · Dec 15, 2010 · r-help

On Wed, Dec 15, 2010 at 11:08:06AM -0200, Henrique Dallazuanna wrote: > Try this: > > gsub("[^0-9]", "", "AB15E9SDF654VKBN?dvb.65") Consider also strsplit("AB15E9SDF654VKBN?dvb.65", "[^.0-9][^.0-9]*") [[1]] [1] "" "15" "9" "654" ".65" PS. > On Wed...

Optimization in R
Petr Savicky · Aug 6, 2007 · r-devel

Thank you for your response. This is a good idea. Although I use my own packages, some of them using other R API's, I missed the optimization ones. Thanks again. Petr Savicky. On Mon, Aug 06, 2007 at 07...

assigning NULL to a list element
Petr Savicky · Feb 18, 2012 · r-help

On Sat, Feb 18, 2012 at 01:51:01AM +0000, Benilton Carvalho wrote: > Hi everyone, > > For reasons beyond the scope of this message, I'd like to append a > NULL element to the end of a list. > > tmp0 <- list(a...

package does not have a NAMESPACE
Petr Savicky · Jan 30, 2012 · r-help

On Mon, Jan 30, 2012 at 02:35:29PM +0000, Reinker, Stefan wrote: > Hello Ondrej, > > I experienced the same problem and circumvented it by installing R 2.13.2 where the package runs fine. I also tried contacting the authors...

Cannot get "==" operator to return TRUE
Petr Savicky · Feb 3, 2012 · r-help

On Fri, Feb 03, 2012 at 10:10:56AM -0600, G See wrote: > Sorry, I meant > Do you know of a way to print a string such that I can see whether it > contains a *space* or a no-break...

Can't find what you're looking for? Try searching with Google .