Re: [R] chron and R 2.8

2008-12-01 Thread Gabor Grothendieck
I've had an offline conversion with Stephen about this and it seems that in R 2.8.0 order is much slower when applied to chron objects than previously. The fix for zoo users is to enter this line (which is already in the development version of zoo) before using any chron objects from zoo in your s

Re: [R] chron and R 2.8

2008-12-01 Thread Gabor Grothendieck
Please provide the input file so its reproducible. On Mon, Dec 1, 2008 at 1:12 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > These are the two functions that I use to read the data in. I have > reverted back to R 2.7.2, chron 2.3-24, zoo 1.5-4, StreamMetabolism > 0.03. This configuration works

Re: [R] chron and R 2.8

2008-12-01 Thread stephen sefick
These are the two functions that I use to read the data in. I have reverted back to R 2.7.2, chron 2.3-24, zoo 1.5-4, StreamMetabolism 0.03. This configuration works just fine- like I expect and with considerable time speed up over both R 2.8 and chron 2.3-24 and 2.3-25. fmt.chron <- function (x

Re: [R] chron and R 2.8

2008-12-01 Thread Gabor Grothendieck
The key thing to do is to provide some reproducible code that someone else can use to verify the problem even if you have to use it on 2.7.2 with the old chron and 2.8.0 with the new chron. On Mon, Dec 1, 2008 at 11:34 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > I have built chron 2.3-24 unde

Re: [R] chron and R 2.8

2008-12-01 Thread stephen sefick
I have built chron 2.3-24 under 2.8 and it is acting the same as 2.3-24 and as to the previous email the zoo version is the same for both. My next test will be to get 2.7.2 up and running again, and see what the behavior is under this version with the different versions of chron. I have not figur

Re: [R] chron and R 2.8

2008-12-01 Thread Gabor Grothendieck
Two things to try: - try running both under 2.7.2 instead of trying both under 2.8 - if you know how to build packages from source then try rebuilding the chron you have under 2.7.2 using 2.98. You can find it here: http://cran.r-project.org/src/contrib/Archive/chron/ On Mon, Dec 1, 2008 at 10:

Re: [R] chron and R 2.8

2008-12-01 Thread stephen sefick
I found the library where all of the older packages are located. library(chron, lib = "/Library/Frameworks/R.Framework/Versions/2.7/Resources/library") Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.Framework/Versions/2.7/Resources/library

Re: [R] chron and R 2.8

2008-11-30 Thread Gabor Grothendieck
To run the old version of chron that you have under 2.7.2 into 2.8.0, on 2.7.2 issue the command (note initial dot): .libPaths() Suppose you find that the library that contains chron in 2.7.2 is "/a/b". Then on 2.8.0 ensure that you don't have chron on the search path search() and if you do de

Re: [R] chron and R 2.8

2008-11-30 Thread stephen sefick
Yes chron 2.3-25 zoo 1.5-4 R 2.8 Mac OS X 10.5.5 Gabor I don't know how to start up another verison of R on the mac. I will figure this out, and get back to you (I can then test both of them side by side). other fast installation (version numbers from description files in R 2.7.2 directory) chro

Re: [R] chron and R 2.8

2008-11-29 Thread Gabor Grothendieck
Are you using the same version of chron both times? On Sat, Nov 29, 2008 at 10:05 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > has anyone had problems with the upgrade to R 2.8 and chron date > classes. I have a large zoo object that has a chron index, and it is > taking 5x or so longer to do

[R] chron and R 2.8

2008-11-29 Thread stephen sefick
has anyone had problems with the upgrade to R 2.8 and chron date classes. I have a large zoo object that has a chron index, and it is taking 5x or so longer to do the same calculation as with 2.7 if it doesn't fail. I will provide anything necessary I am not entirely sure what ya'll would need if