Displaying 20 results from an estimated 3000 matches similar to: "Puzzled over curve() syntax."
2006 Apr 21
1
Linker problem in installing 64-bit R
Hi,
I am trying to compile R-2.2.1 on Solaris 2.9 with a 64-bit build. Following
the instructions in "R Installation and Adminstration", I changed the
following settings in "config.site":
CC="gcc -m64"
F77="g77 -64"
CXX="g++ -m64"
LDFLAGS="-L/usr/local/lib/sparcv9 -L/usr/local/lib"
But I got the following error messages:
2005 Oct 19
1
can't start csh (scripts) (PR#8220)
Dear R developers,
after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore.
While the following commands work fine
> system("tcsh -c pwd")
/hom1/users/gloeckler
> system("bash -c pwd")
/hom1/users/gloeckler
> system("ksh -c pwd")
/hom1/users/gloeckler
csh (in contrast to the shells used above) doesn't give any result:
2006 Apr 27
1
Symbol __f95_sign not found.
Our computing services people have recently reconfigured the Sun
compilers structure on our network, and I can no longer install, on
our Sun/Solaris machine, a certain package (spatstat) with which I am
heavily involved. (The same problem may well pertain to other
packages as well; I haven't yet experimented except with spatstat.)
Strictly speaking I can ***install*** it, but when I try
to
2005 Jan 26
2
Source code for "extractAIC"?
Dear R users:
I am looking for the source code for the R function extractAIC. Type the
function name doesn't help:
> extractAIC
function (fit, scale, k = 2, ...)
UseMethod("extractAIC")
<environment: namespace:stats>
And when I search it in the R source code, the best I can find is in (R
source root)/library/stats/R/add.R:
extractAIC <- function(fit, scale, k = 2,
2006 Jun 04
2
slanted ends of horizontal lines for certain line widths
Hello,
if I plot a horizontal line, e.g.,
plot(c(1,2),c(1,1),xlim=c(0,3),lwd=2,type="l")
or
plot(c(1,2),c(1,1),xlim=c(0,3),lwd=4,type="l")
then the left end (1st example) or both ends (2nd example) of the lines
are not rectangular but slanted on the graphical display (screen).
That behavour first occurred when I was trying to plot a stepfun, e.g.,
y <-
2005 Feb 23
1
Graphics devices file[name] argument
Just got trapped by inconsistency of name of first argument
for file-based graphics devices. Both 'file' and 'filename'
are currently in use depending on the device. I ran on a
machine without PNG support which my code used postscript
as the backup device and choked here.
> do.call(device, list(filename = pathname,
height = height,
2005 Dec 08
1
Loading namespaces
I'm creating a package for my own use that uses some S4 classes but no
methods.
I have a file called NAMESPACE it contains the line:
exportClasses("foo")
and at the top of the R file I have
setClass("foo", representation(x="numeric")
and the line:
.onLoad<-function(libname,pkgname)
When I run R CMD check I get Syntax error in the only R file. If I
2004 Sep 21
2
png problem
Dear R-users,
I have a small problem with the function png(), when used with the
argument colortype="pseudo.cube".
> png("toto.png", colortype="pseudo.cube")
> image(matrix(rnorm(10000), 100, 100))
> dev.off()
R is blocked at the last command (R does not
print any prompt after the last command). Nothing is
written in the file (Gimp indicates that the
2004 Oct 28
2
Weighted regresion using lm
Hi:
Could anyone help me to clarify this: are the weights normalized inside lm
function (package:stats) before applied to the error term? For example:
>lm (cost ~ material, weights=quatity, data=receipt)
will lm normalize quatity such that sum(quatity) = 1? I traced to lm.wfit and
then the weights get transferred into a precompiled FORTRAN module so I can't
figure out. Thanks!
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from
within R. Same thing as I can accomplish from cmdline as
$ export R_LIBS=~/R/library
$ cd /path/to/pkg
$ R CMD INSTALL -l $R_LIBS <pkgname>
So, how do you go about this anyway?
And isn't this a bug in 'install.packages'?
-------
$ R
R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0
2010 May 07
1
Problems 'make'ing on Solaris 9.
Hi list! I'm trying to build Samba 3.4.7 with ADS support on Solaris 9
and experiencing a heap of problems (which seem to be common). First of my
system: Solaris 9 SPARC > uname -a
SunOS sunfire2 5.9 Generic_122300-08
sun4u sparc SUNW,Sun-Fire-V240 Solaris Using GCC 3.4.6 from sunfreeware
(with all noted dependancies installed) > gcc --version
gcc (GCC)
3.4.6
Copyright (C) 2006 Free
2003 Sep 03
1
Last line in .Rprofile must have newline (PR#4056)
Full_Name: Henrik Bengtsson
Version: R v1.7.1
OS: WinXP Pro, Solaris 9
Submission from: (NULL) (130.235.2.229)
A colleague of mine who is new to R had problems setting up his .Rprofile and we
tracked it down to the following. On both WinXP and Solaris with Rv1.7.1 we
noticed that the *last* line in .Rprofile has to have a *newline* to be
evaluated. For instance, starting R with the following
2004 Feb 10
1
make check in 1.8.1.
I just (finally!!!) got R version 1.8.1 to configure and build under
Solaris 9 (after much travail; there were funnies in my environment
variables that mucked things up, but that's another story).
Anyhow, when I ran ``make check'' I got an error right toward the
end. Looking in the directory ``tests'' I found that the error was
associated with the file reg-tests-3.R, and the
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings
from me concerning my attempts to build R-1.5.1 under Solaris 2.7.
I've more or less given up on this, and I and a colleague are
attempting to build R-1.5.1 on another machine in our Department,
and are getting a ***different*** problem.
Version details:
platform sparc-sun-solaris2.9
arch sparc
os solaris2.9
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings
from me concerning my attempts to build R-1.5.1 under Solaris 2.7.
I've more or less given up on this, and I and a colleague are
attempting to build R-1.5.1 on another machine in our Department,
and are getting a ***different*** problem.
Version details:
platform sparc-sun-solaris2.9
arch sparc
os solaris2.9
2004 Oct 04
1
Using model operator in stepwise function's upper scope formula
Hello:
I am doing forward stepwise analysis on the glm model. I am trying to use model
operator in the "upper" scope formula, for example,
scope=list(lower=~1,upper=~ .^2)
but the upper bound of the scope seems to be ignored and add1 is not performed
at all, while if the terms are explicitly listed in the formula, the step
function seems to work
2003 Mar 17
1
Error in making R-1.6.2.
I have just tried to update the version of R on our system, and when
I did ``make'', I got the following error message:
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -g -O2 -c platform.c -o platform.o
In file included from /usr/include/netinet/in.h:41,
from
2003 Jul 01
2
Computations slow in spite of large amounts of RAM.
Hi all,
I am a beginner trying to use R to work with large amounts of
oceanographic data, and I find that computations can be VERY slow. In
particular, computational speed seems to depend strongly on the number
and size of the objects that are loaded (when R starts up). The same
computations are significantly faster when all but the essential
objects are removed. I am running R on a machine
2004 May 21
1
compiling R 64-bit with gcc on Solaris 9
Hi folks,
I am trying to compile R as a 64bit app using gcc on Solaris 9 and get
the following error from the configure script when passing the script
CFLAGS='-mcpu=v9 -m64':
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77... -L/usr/ccs/lib -L/usr/lib
-L/usr/local/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3
-L/usr/ccs/bin
2004 Mar 03
8
need help with smooth.spline
Dear R listers,
When using smooth.spline to interpolate data, results are generally
good. However, some cases produce totally unreasonable results.
The data are values of pressure, temperature, and salinity from a
probe that is lowered into the ocean, and the objective is to
interpolate temperature and salinity to specified pressures. While
smooth.spline provides excellent values at the