Displaying 20 results from an estimated 1100 matches similar to: "Presumably simple question about sorting/ordering"
2009 Apr 28
1
image3d in misc3d
Hi,
I'm trying to make sense of the image3d plots in misc3d. Unfortunately I can't find any authors on the help pages of the function to e-mail directly. In the following toy example, I'm puzzled as to why (1) the positions of the image plot on the axes include negative values when I think I've specified all to be 1:3 and (2) the logic that needs to be adhered to in order to
2008 Jun 05
0
bug in barplot.default (graphics) (PR#11585)
There seems to be a minor bug in barplot.default when used with log scale w=
here one or more values is NA:
dat <- matrix(1:25, 5)
dat[2,3] <- NA
barplot(dat, beside =3D T) #Plots and appropriate barplot with gaps for m=
issing data
barplot(dat, beside =3D T, log =3D "y")
#Error in if (min(height + offset) <=3D 0) stop("log scale error: at least =
one 'height +
2006 Nov 01
0
spatstat symbol referencing error
Sparc Solaris 8
SunStudio 11 compilers
R-2.3.1
spatstat 1.10-1
R-2.3.1 and spatstat were installed using SunStudio11 compilers on a
Sparc Solaris 8 machine. No errors were reported in the compilations,
however, when I try to load spatstat I get an error:
> library(spatstat)
Loading required package: mgcv
This is mgcv 1.3-20
Error in dyn.load(x, as.logical(local), as.logical(now)) :
2007 May 25
0
Help with complex lme model fit
Hi R helpers,
I'm trying to fit a rather complex model to some simulated data using
lme and am not getting the correct results. It seems there might be
some
identifiability issues that could possibly be dealt with by
specifying
starting parameters - but I can't see how to do this. I'm comparing
results from R to those got when using GenStat...
The raw data are available on the
2007 Jan 26
0
R crash with modified lmer code
Hi all,
I've now got a problem with some modified lmer code (function lmer1
pasted at end) - I've made only three changes to the lmer code (marked),
and I'm not really looking for comments on this function, but would like
to know why execution of the following commands that use it almost
invariably (but not quite predictably) leads to the R session
terminating.
Here's the command
2007 Jan 26
2
Using functions within functions (environment problems)
Hi everyone,
I've been having difficulty writing wrapper functions for some
functions where those same functions include other functions with
eval()
calls where the environment is specified. A very simple example using
function lmer from lme4:
lmerWrapper <- function(formula, data, family = gaussian, method =
c("REML",
"ML", "PQL", "Laplace",
2002 Nov 28
0
Netware copy fails
Affected: Various 2.x.x releases of samba on Solaris 2.6/8 and Netware 5.1 SP5.
Problem: Unable to copy files from a mapped Netware drive to a mapped samba share on a PC desktop (W2K).
Error: Several, but commonly "Cannot copy MYFILE. Access is denied. The source file may be in use" or "An unexpected network error has occurred".
Has anyone seen similar?
It appears that some
2001 Nov 30
1
graphics device updating (PR#1189)
Hi
problem:
plot(xxx)
results in the graphics device window adding the axes values for what ever xxx is but failing to actually add lines or produce the plot until the consol window is activated and moved over the graphics window. The graphics window then shows what has been plotted.
This started happening 4 days ago, up until that time plot(xxx) would produce the plot on the graphics device
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
Hello,
I am unable to start an R session by double-clicking on an existing
.RData file from the Windoze file explorer.
A dialogue appears with the message
"Fatal error: unable to restore saved data in .RData",
and I notice in the R Console the last few lines are:
"Loading required package: R2HTML
NULL
error in function () : unused argument(s) (1:43)"
I tried starting
2008 May 16
2
Integer / floating point question
Dear R-help -
I have thought about this question for a bit, and come up with no
satisfactory answer.
Say I have the numeric vector t1, given as
t1 <- c(1.0, 1.5, 2.0, 2.5, 3.0)
I simply want to reliably extract the unique integers from t1, i.e., the
vector c(1, 2, 3). This is of course superficially simple to carry out.
However, my question is related to R FAQ 7.31, "Why
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello,
Two lapply questions (system info and sample data below):
1) Why does the first form of command1 add the name of y _after_ the
str() output rather than before as does the second (preferred) form?
# command1 version1
invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n",
str(get(y)), "\n") ))
# command1 version2 (preferred output)
2010 Jan 19
0
Macaulay Duration for Group
Dear R helpers
I have following csv file which is an input
id par_value coupon_rate frequency_coupon tenure ytm
1 1000 10 1 5 12
# Here frequency_coupon is coded s.t. 0 means Daily compounding, 1 means monthly compouding, 2 means Quarterly, 3 means Half yearly and 4 means only once. Thus in the
2006 Aug 01
1
Tcltk package
Hi WizaRds,
I ran into trouble trying to install the "debug" package, which requires TCL/TK support. It seems like the tcltk package is not installed on my system.
From: http://tolstoy.newcastle.edu.au/R/help/05/07/7993.html it seems that the tcltk is bundled with the base R distribution.
I'm running R under linux:
> version
_
platform i686-pc-linux-gnu
2005 Dec 22
3
reading long matrix
Hi,
I'm needing some help finding a function to read a large text file into an array in R. The data are essentially presence / absence / na data for many species and come as a grid with each species name (after two spaces) at the beginning of the matrix defining the map for that species. An excerpt could therefore be:
SPECIES1
999001099
900110109
011101000
901100101
110100019
901110019
2010 Jan 20
2
Please Please Please Help me!!
Dear R helpers
(I have already written the required R code which is giving me correct results for a given single set of data. I just wish to wish to use it for multiple data.)
I have defined a function (as given below) which helps me calculate Macaulay Duration and Modified Duration and its working fine with given set of data.
My Code -
## ONS - PPA
duration = function(par_value,
2010 Jan 19
0
Macualay Duration code in a Functional Form - Please Help
# I have written this code in Notepad++ and copied here.
## ONS - PPA
Duration = function(par_value, coupon_rate, freq_coupon, tenure, ytm)
{
macaulay_duration = NULL
modified_duration = NULL
freq_coupon_new = NULL
if(freq_coupon <= 0)
{
freq_coupon_new = 365
}
if(freq_coupon > 0 & freq_coupon <= 1)
{
freq_coupon_new = 12
}
if(freq_coupon > 1 &
2003 Sep 29
1
Fsck (presumably e2fsck) returns exit code 127 on an ext3 file sy stem
fsck (Red Hat Enterprise Linux AS 2.1) returns an exit code 127 on an ext3
file system when run from a shellscript started by cron. Here is the
pertinent part of the script:
...
fsck -p /dev/${BK_SLICE} 1>/dev/null 2>&1
STATUS=$?
if [ ${STATUS} -ne "0" ]
then
echo "${MIR_PID}: file system check of /dev/${BK_SLICE} failed, status
= ${STATUS}" >>${LOG}
2002 Jun 18
2
wine on non-x86 architectures (presumably silly question)
I wouldn't think it's possible but I'd like to know (with an
explanation, if possible): Can you run win32 apps with wine on non-x86
computers, e.g. under LinuxPPC?
I guess not, but I wouldn't be able to give a clear explanation as to
why.
Regards, Frank
2003 May 05
1
rsync/popt/config.log in CVS - presumably an accidental "cvs add"
There is an rsync/popt/config.log in CVS - presumably an accidental "cvs
add".
Max.
2003 Sep 08
1
ports/55928: vmware2 broken on -STABLE, presumably by PAE import
Hi,
On Sun, Aug 24, 2003 at 07:14:29AM -0400, Brandon S. Allbery KF8NH wrote:
> >Synopsis: vmware2 broken on -STABLE, presumably by PAE import
>> (..)
Your patch makes VmWare2 build, but it doesn't make it work:
- VmWare fails to allocate memory (see
http://anders.fix.no/test/vmware/1.png and
http://anders.fix.no/test/vmware/2.png).
- There seems to be something wrong with