Gabor Grothendieck | 1 Dec 16:41

Re: chron and R 2.8

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:35 AM, stephen sefick <ssefick <at> gmail.com> wrote:
> 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/chron/libs/i386/chron.so':
>  dlopen(/Library/Frameworks/R.Framework/Versions/2.7/Resources/library/chron/libs/i386/chron.so,
> 6): Library not loaded:
> /Library/Frameworks/R.framework/Versions/2.7/Resources/lib/libR.dylib
>  Referenced from:
> /Library/Frameworks/R.Framework/Versions/2.7/Resources/library/chron/libs/i386/chron.so
>  Reason: image not found
> Error: package/namespace load failed for 'chron'
>
> The code above works with zoo
> library(zoo, lib =
> "/Library/Frameworks/R.Framework/Versions/2.7/Resources/library")
>
>
> On Sun, Nov 30, 2008 at 10:04 PM, Gabor Grothendieck
(Continue reading)

stephen sefick | 1 Dec 17:34

Re: chron and R 2.8

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 figured out how to install || versions of R in mac
OS X it looks like the packages are maintained but the application is
automatically removed and updated into the current version.  What else
should I try?

On Mon, Dec 1, 2008 at 10:41 AM, Gabor Grothendieck
<ggrothendieck <at> gmail.com> wrote:
> 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:35 AM, stephen sefick <ssefick <at> gmail.com> wrote:
>> 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/chron/libs/i386/chron.so':
>>  dlopen(/Library/Frameworks/R.Framework/Versions/2.7/Resources/library/chron/libs/i386/chron.so,
>> 6): Library not loaded:
(Continue reading)

Gabor Grothendieck | 1 Dec 18:08

Re: chron and R 2.8

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 <ssefick <at> gmail.com> wrote:
> 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 figured out how to install || versions of R in mac
> OS X it looks like the packages are maintained but the application is
> automatically removed and updated into the current version.  What else
> should I try?
>
> On Mon, Dec 1, 2008 at 10:41 AM, Gabor Grothendieck
> <ggrothendieck <at> gmail.com> wrote:
>> 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:35 AM, stephen sefick <ssefick <at> gmail.com> wrote:
>>> I found the library where all of the older packages are located.
>>>
>>> library(chron, lib =
>>> "/Library/Frameworks/R.Framework/Versions/2.7/Resources/library")
>>>
(Continue reading)

stephen sefick | 1 Dec 19:12

Re: chron and R 2.8

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)
{
    chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x))
}

read.production <- function (data)
{
    read.zoo(data, sep = ",", FUN = fmt.chron, header = TRUE)
}

        DateTime RM215Temp
800  1/9/06 7:46     11.12
801  1/9/06 8:01     11.11
802  1/9/06 8:16     10.98
803  1/9/06 8:31     10.90
804  1/9/06 8:46     10.94
805  1/9/06 9:01     10.98
806  1/9/06 9:16     10.98
807  1/9/06 9:31     11.00
808  1/9/06 9:46     11.02
809 1/9/06 10:01     11.04
810 1/9/06 10:16     11.06
811 1/9/06 10:31     11.07
812 1/9/06 10:46     11.09
(Continue reading)

Gabor Grothendieck | 1 Dec 19:32

Re: chron and R 2.8

Please provide the input file so its reproducible.

On Mon, Dec 1, 2008 at 1:12 PM, stephen sefick <ssefick <at> gmail.com> 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 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)
> {
>    chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x))
> }
>
> read.production <- function (data)
> {
>    read.zoo(data, sep = ",", FUN = fmt.chron, header = TRUE)
> }
>
>
>        DateTime RM215Temp
> 800  1/9/06 7:46     11.12
> 801  1/9/06 8:01     11.11
> 802  1/9/06 8:16     10.98
> 803  1/9/06 8:31     10.90
> 804  1/9/06 8:46     10.94
> 805  1/9/06 9:01     10.98
> 806  1/9/06 9:16     10.98
> 807  1/9/06 9:31     11.00
> 808  1/9/06 9:46     11.02
(Continue reading)

Gabor Grothendieck | 1 Dec 23:50

Re: chron and R 2.8

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 session:

ORDER.chron <- ORDER.dates <- ORDER.times <- function(x, ...)
order(as.numeric(x), ...)

On Mon, Dec 1, 2008 at 1:12 PM, stephen sefick <ssefick <at> gmail.com> 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 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)
> {
>    chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x))
> }
>
> read.production <- function (data)
> {
>    read.zoo(data, sep = ",", FUN = fmt.chron, header = TRUE)
> }
>
>
>        DateTime RM215Temp
> 800  1/9/06 7:46     11.12
(Continue reading)


Gmane