Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Hervé Pagès
Also the real agenda behind this warning is not clear. Looks like just a normal warning, providing some potentially useful/important information to the user. However, in the NEWS file, this entry is in the DEPRECATED AND DEFUNCT section: \item Partial matching when using the \code{$} opera

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Hervé Pagès
Hi, Would be good to have the man page updated about this. It still says: 'x$name' is equivalent to 'x[["name", exact=FALSE]]' which doesn't seem to be completely true anymore (the former emits a warning in case of partial matching, not the latter). It looks like for a data.frame, ‘x$name’ is

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Hadley Wickham
>> I realize that the new message is only a warning but it is a minor >> nuisance. Would it be possible to add an >> option(partialMatch=TRUE) ## default is FALSE >> or something similar to suppress that behavior? That should keep both >> camps happy. > > > I'd be much happier with

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Scott Kostyshak
Hi Dennis, On Wed, Apr 30, 2014 at 3:03 PM, Fisher Dennis wrote: > R 3.1.0 > OS X > > Colleagues, > > I recently updated to 3.1.0 and I have encountered > Warning messages: ... Name partially matched in data frame > when I do something like: > DATAFRAME$colname > where colname is

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Scott Kostyshak
On Wed, Apr 30, 2014 at 3:33 PM, Scott Kostyshak wrote: > Hi Dennis, > > On Wed, Apr 30, 2014 at 3:03 PM, Fisher Dennis wrote: >> R 3.1.0 >> OS X >> >> Colleagues, >> >> I recently updated to 3.1.0 and I have encountered >> Warning messages: ... Name partially matched in data frame >> wh

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Duncan Murdoch
On 30/04/2014 3:03 PM, Fisher Dennis wrote: R 3.1.0 OS X Colleagues, I recently updated to 3.1.0 and I have encountered Warning messages: ... Name partially matched in data frame when I do something like: DATAFRAME$colname where colname is actually something longer than that (b

[Rd] "Name partially matched in data frame"

2014-04-30 Thread Fisher Dennis
R 3.1.0 OS X Colleagues, I recently updated to 3.1.0 and I have encountered Warning messages: ... Name partially matched in data frame when I do something like: DATAFRAME$colname where colname is actually something longer than that (but unambiguous). I have much appreciated t

Re: [Rd] Problem with Renaming R object

2014-04-30 Thread Kamal
Thanks for your help. On Wed, Apr 30, 2014 at 7:26 PM, Kasper Daniel Hansen < kasperdanielhan...@gmail.com> wrote: > save(list = Objectout, file = filename) > > > > > On Wed, Apr 30, 2014 at 12:11 PM, Kamal wrote: > >> Hi, >> >> I have a problem in renaming R object and saving them within a loop

Re: [Rd] Problem with Renaming R object

2014-04-30 Thread Kasper Daniel Hansen
save(list = Objectout, file = filename) On Wed, Apr 30, 2014 at 12:11 PM, Kamal wrote: > Hi, > > I have a problem in renaming R object and saving them within a loop. For > ex: > > for (i in 1:length(all_files)) > { > uncov_GR <- "variable created in loop" > fil

Re: [Rd] Problem with Renaming R object

2014-04-30 Thread Hadley Wickham
This is not really a question for r-devel, but basically you should use saveRDS/readRDS rather than save/load. Hadley On Wednesday, April 30, 2014, Kamal wrote: > Hi, > > I have a problem in renaming R object and saving them within a loop. For > ex: > > for (i in 1:length(all_files)) >

[Rd] Quantile issue

2014-04-30 Thread Therneau, Terry M., Ph.D.
This is likely yet another instance of round off error, but it caught me by surprise. tmt% R --vanilla (headers skipped, version 3.0.2 on Linux) load('qtest.rda') length(temp) [1] 3622 max(temp) >= quantile(temp, .98) 98% FALSE I can send the file to anyone who would like to understand

[Rd] Problem with Renaming R object

2014-04-30 Thread Kamal
Hi, I have a problem in renaming R object and saving them within a loop. For ex: for (i in 1:length(all_files)) { uncov_GR <- "variable created in loop" filename <- paste0(sample_name[[i]],"_uncov", ".Rdata")) save(uncov_GR,file=filename) } Wit

[Rd] ReplayPlot, limited to single session for RecordPlot()

2014-04-30 Thread Michael Cohen
R had an internal Plot format which could be saved in files and then reused. Just like one can save data.frames or lists of data which I routinely do could save plot which could be used for further elaboration and analysis. Thus you could modify a plot after you saved it. Matlab has a fig format

Re: [Rd] arima.c bug?

2014-04-30 Thread Gabor Bakos
On 2014. April 30. 15:13:05, Gabor Bakos wrote: > Hello, > >Reading the code I have found that in the line 653 (Pnew[i + r * j] = > tmp;) of http://svn.r-project.org/R/trunk/src/library/stats/src/arima.c > (latest as of now) the multiplier for j is r instead of rd (which is the > dimension of t

[Rd] arima.c bug?

2014-04-30 Thread Gabor Bakos
Hello, Reading the code I have found that in the line 653 (Pnew[i + r * j] = tmp;) of http://svn.r-project.org/R/trunk/src/library/stats/src/arima.c (latest as of now) the multiplier for j is r instead of rd (which is the dimension of the matrix). Was it intentional? That seems at least worth a