Displaying 20 results from an estimated 200 matches similar to: "R and OS X"
2002 Dec 11
3
Modified Bessel Function - 2nd kind
In order to fit a probability distribution proposed by Sichel [Journal of
the Royal Statistical Society. Series A (General), Vol. 137,
No. 1. (1974), pp. 25-34], I need a modified Bessel function of the 2nd
kind. I notice that the base package of "R" only has modified Bessel
functions of the 1st and 3rd kind. Does a modified Bessel function of the
2nd kind exist anywhere?
Many
2012 Feb 22
2
"mismatching layouts" errors after expanding volume
Dear All-
There are a lot of the following type of errors in my client and NFS
logs following a recent volume expansion.
[2012-02-16 22:59:42.504907] I
[dht-layout.c:682:dht_layout_dir_mismatch] 0-atmos-dht: subvol:
atmos-replicate-0; inode layout - 0 - 0; disk layout - 9203501
34 - 1227133511
[2012-02-16 22:59:42.534399] I [dht-common.c:524:dht_revalidate_cbk]
0-atmos-dht: mismatching
2010 Aug 12
3
script/server problem/...
root@essc-openvpn:/websites/teambox.mydomain.com/teambox# sudo script/
server -e development
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0.rc.5/lib/bundler/runtime.rb:
132: warning: Insecure world writable dir /usr/bin in PATH, mode
040777
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 6, col
2:
2011 May 16
1
build samba on solaris 10 fails on libwbclient
Hi,
I'm trying to build Samba on Solaris 10 sparc.
./autogen.sh completes but with warnings such as
samba4.m4:6: warning: file `../m4/check_python.m4' included several times
../lib/util/xattr.m4:9: warning: AC_CACHE_VAL(smb_attr_cv_xattr_add_opt,
...): suspicious cache-id, must contain _cv_ to be cached
../lib/util/xattr.m4:9: the top level
samba4.m4:83: warning: file
2002 Jul 08
4
Statemement by recurrence avoiding loop
Dear R users,
I would like to calculate a cumulative sum as following: on the i-th row, in the
j-th column of a matrix, I would like to obtain the sum of the (i-1) preceding elements of
this j-th column.
Could I avoid a "for" loop?
Thank you,
Tristan Lorino
----------------------
?cole Nationale V?t?rinaire d'Alfort - http://www.vet-alfort.fr,
T?l. 01 43 96 70 33
M?l. tlorino at
2005 Aug 19
2
Handling dates
I have a problem with some functions handling dates, in packages 'date' and
'survival' (they seem to be identical). For instance, from the documentation,
--------------------
mdy.date {survival}
R Documentation
Convert to Julian Dates
Description
Given a month, day, and year, returns the number of days since January 1, 1960.
Usage
mdy.date(month, day, year, nineteen = TRUE,
2009 Aug 11
1
Passing a list object to lapply
Hello,
I'm having difficulty passing an object name to a lapply function. Can
somebody tell me the trick to make this work?
#Works
T13702 <- TRACKDATA[["13702.xls"]][["data"]]
min(unlist(lapply(list(T13702), function(x) mdy.date(x[1, 2], x[1, 1],
x[1, 3]))))
16553
#Works
d<-2
assign(paste("T",substr(names(TRACKDATA)[d],1,(nchar(names(TRACKDATA)[d]
2002 Jul 01
2
GUI and Java: RSJava does not work
Hi,
About GUI and R, I would say that personnaly, I need to build a nice GUI for
people who does not know anything about R, to conduct simulations. I don't know
if the choice of R is the best. Maybe writing all the code in Java would be
better... I don't know.
That's why I have tried to install RSJava from Omegahat on my computer (Windows
2000). With R 1.5.0 or 1.5.1, I get the
2002 Jul 01
3
Discrete random variable
Hi,
I would create a function rdiscrete that returns the value of a discrete random
variable X defined on a subset which can change, and for the same probability for
the issue, eg:
X could sometimes take a value in the subset {2,3,4} with probability 1/3 for each
issue,
and sometimes X could take a value in the subset {2,3,4,5,6} with probability
1/5 for each
issue,
etc.
The function should have
2009 Nov 11
1
Unexpected behaviour for as.date()
Hi everyone,
I am trying to use the function as.date() from the "dates" package in R
2.10.0 to convert a character date to a Julian date, as follows:
> as.date("02-MAY-01", order="mdy") # convert May 2, 2001 to a Julian date
[1] 2May1
However, when trying to convert a character date from the year 2000 to a
Julian date, I get an <NA> instead of the
desired
2003 May 22
1
Re: dates in chron package, split warning message
>
> > Dear All,
> >
> > I am currently using R for windows.
> >
> > I am wondering why the dates command in chron package does not work in
the
> > following situation:
> >
> > cut(dates(c(23,45,67),origin=c(1,1,2004)),"months")
> >
> > but will work for:
> >
> >
2006 Jun 09
1
date.mdy in date package
I'm having a problem with output from date.mdy in the date package.
Goal: to take a long vector of dates of the form "01/22/99" and extract values month="01", day="22", year="1999".
I am providing the vector of class dates in the attached file to date.mdy:
> mdy_dates<-date.mdy(trimmed_dates)
The first few obs of the
2002 Jun 13
1
RMySQL package for Windows
Dear R users,
Is it possible to install RMySQL package with R 1.5.0 on Windows 2000 platform?
This package is not listed in the packages list after calling "load package from CRAN" menu...
Thank you for your help,
Tristan Lorino
----------------------
?cole Nationale V?t?rinaire d'Alfort - http://www.vet-alfort.fr,
T?l. 01 43 96 70 33
M?l. tlorino at vet-alfort.fr
Site personnel
2000 Jan 03
1
Rounding in date.mdy from library(date)
The date library contains a function date.mdy that converts a number
D to the date (month,date,year as a list) at D days after 1 Jan 1960.
This a convention that fits in with SASs.
The logic would be that the result was the date at D days after
1 Jan 1960 00:00:00 (which is a POINT in time as opposed to a date which
is an interval), so that any D with 2<=D<3 was rounded to 3 Jan 1960
and
2001 Jan 03
1
package/ date/ download problem
Colleagues
I want to download the package "date" from CRAN <http://cran.r-
project.org/> to get the R-scripts (for version 1.2.0)
*** date/INDEX ***
as.date Coerce Data to Dates
date.ddmmmyy Format a Julian date
date.mdy Convert from Julian Dates to Month, Day, and Year
date.mmddyy Format a Julian date
date.mmddyyyy Format a Julian date
date.object Date Objects
mdy.date
2000 Apr 05
1
problem with survexp in survival5
survexp in survival5 doesn't seem to work for me. see below:
> library(survival5)
Attaching Package "package:survival5":
The following object(s) are masked from package:base :
sort.list
> library(chron)
> data(ratetables)
> survexp(~ratetable(year=julian(6,1,1991),
+ sex=1,age=35*365.24),times=(0:30)/6*365.24)
Error in as.character(as.date(c(min(R[, 3]),
2011 Sep 08
1
Seasonal and 11-day subset for zoo object
I have a zooreg object and I want to be able to generate a value for seasons
and 11-day composites paste it onto my zoo data frame, along with year,
month and days.
Right now I have the following to work from:
eg. dat.zoo.mdy <- with(month.day.year(time(dat.zoo)), cbind(dat.zoo, year,
month, day, quarter = (month - 1) %/% 3 + 1, dow =
as.numeric(format(time(dat.zoo), "%w"))))
For
2002 Feb 07
1
Plotting on log scale using plot.date()
Hi, I'm trying to use the date library and I think I'm getting an
incorrect warning when I make a plot with plot.date(). For example:
> library(date)
> x <- as.date(1:100)
> y <- 1:100
> plot(x, y, log = "y")
Warning message:
parameter "log" couldn't be set in high-level plot() function
The problem appears to be in the last line of plot.date()
2012 Mar 23
3
Using MuMIn - error message
Hello,
I hope that you can bare with me. I am new to models, but I think I have a
pretty godd understanding of how to run them now, including how to use AICc
and Anova. The issue is that I have many factors that I wish to compare so
doing each one at a time would take forever.
I came across the MuMIn package and I was so excited, however I am getting
an error message and i don't know why.
2006 Mar 17
3
Timestamps casted to nil?
Hi,
for some reason, all timestamp fields with or without time zone in my
Postgres tables seem to be casted to nil. From console:
>> me = User.find(''PS12345'')
=> #<User:0x2379788 @attributes={"mtime"=>"01.03.2006 13:26:32.737166",
"valid"=>"8", "valid_from"=>"01.03.1999 14:09:21 CET",