Displaying 20 results from an estimated 2000 matches similar to: "Odp: graphics in batch mode"
2002 Apr 11
3
graphics in batch mode
Hi!
The R-intro guide states that:
"The graphics facilities can be used in both interactive and batch
modes,.."
but I'm trying both
R BATCH commands.file
and
R --no-save < commands.file
and, although I get no errors and
the output file with the results is
written to disk, I get no graphics.
(I want the R function to leave
results in a file that a shell script
reads and use,
1999 Jul 15
0
attaching directories in R?
Hi!
I'm trying to use R. In S+ I use to have different projects
in different directories. To make
the functions and other objects
from a directory available
and to use that directory as default,
I just do:
attach(directory, pos = 1)
where directory is, for example,
"/home/alobo/S/bolivia1"
Acutually, I have a simpe function
(work) to do this:
> work
function(directorio)
{
1999 Aug 30
1
convex hulls
Does anybody know if there are functions to:
1. Define a convex hull on a space with more
than 2 dimensions? chull just works for a plane.
2. Numerically select elements within a given complex
hull.
Thanks!
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2001 Jul 22
0
lapply and for
Agustin Lobo asks (and I interpolate in his question)
> -----Original Message-----
> From: Agustin Lobo [mailto:alobo at ija.csic.es]
> Sent: Monday, 23 July 2001 7:45 AM
> To: r-help
> Subject: [R] lapply and for
>
>
> Given a list as such:
>
> > milista
> $"1":
> [1] 23 25 11
>
> $"2":
> [1] 34 2
>
>
2002 Oct 10
0
Re: [R-gui] NEdit Highligth patterns for R
-----Forwarded Message-----
> From: Ernesto Jardim <ernesto at ipimar.pt>
> To: Agustin Lobo <alobo at ija.csic.es>
> Subject: Re: [R-gui] NEdit Highligth patterns for R
> Date: 10 Oct 2002 14:36:24 +0100
>
> Hi
>
> You have to install the *.pats file.
>
> Use
>
> nedit -import R-5.1.pats
>
> then "save defaults".
>
> If
1999 Jul 10
0
R,S,Octave,Matlab:SUMMARY
Dear R makers and users.
I summarize answers to my question. Thanks
for your help.
The conclusion seems to be
that, in terms of performance with large datasets,
Matlab=Octave > R > Splus5.1 > Splus5.0
but Matlab/Octave lack many of the stat
functions of R/S, and,
R does not have as many time-series functions
as S+ (but see last message to r-announce by adrian.trapletti at
1999 Nov 22
1
Fit with constraints (fwd)
I would like to fit a model of the type
Y = Xf + e
where f are cover fractions (or percent cover). Therefore,
I must constrain the fit to
1. sum(f) = 1
2. 0<= f <=1
How can I introduce these 2 constraints in a ML fit?
Currently, I'm using nlregb and I'm using the "upper and
low" keywords to set the bounds and
use the following to ensure that sum(f) = 1:
let's say
1999 Jul 15
2
S objects to R
I've tried to move objects from S to R.
In S+, I use data.dump() and data.restore().
I've made a file all.dum using
data.dump(ls()) in S+,
but the R command
load("all.dum") gives an error:
> load("/jaz/all.dum")
Error: restore file corrupted -- no data loaded
Is there any way to pass my objects from S+ to R?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de
2003 Jul 10
0
clim.pact (fwd)
I'm trying to use the clim.pact
package but I cannot find the
descritions of "map object or "field object". For example,
according to the man page of function "map":
"
Description
Produces maps.
Usage
map(x,y=NULL,col="black",lwd=1,lty=1,sym=TRUE, plot=TRUE,inv.col=FALSE)
Arguments x A map object.
...
"
and according to the man page of
2002 Jan 24
2
Renviron and Rprofile
Regarding user's home and working directories,
is Rprofile just an old name of Renviron?
or (can) should we have both files with different type
of definitions?
(talking about R.1.4.0 in linux).
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2001 Oct 17
1
read.packages: where is it?
Hi!
The rw-FAQ.html (entry 7.2 How do I include compiled C code?) mentions
the file readme.packages, which I do no find in my installation. I've
tried at CRAN and cannot find it. Doe anyone know where is it?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2001 Nov 12
1
uninstal rw1030 (Win9*)
Hi all,
I installed rw1031 but not uninstalled rw1030 just
to make sure everything was working normally with
the new version. After few weeks, I'm ready to uninstal
rw1030. My question is: should I use the rw1030 unins00.exe
program or could this program damage the rw1031 inatallation (perhaps
modifies the registry...) ? Perhaps
should I just delete the rw1030 directory?
Thanks
Dr.
2001 Nov 13
0
VEGAN: R functions for vegetation ecologists
A colleague has just passed me this interesting
address:
http://cc.oulu.fi/~jarioksa/softhelp/vegan.html
"Vegan: R functions for vegetation ecologists"
"Vegan package is intended to help vegetation ecologists and
other community ecologists to use R. It is not a completely
self-contained package, but it complements other R functions.
.../...
At this first stage, vegan implements
2001 Nov 13
1
Selecting transitive couples
Dear list,
I'm trying to improve the following process:
Let pairs be a 2 col matrix of integers such as:
2 5
3 6
4 56
5 2
6 8
7 56
8 6
etc.
My goal is to select the transitive pairs, i.e., in
the above example:
2 5 (because there is 5 2 as well)
6 8 (because there is 8 6 as well)
The task is simple with a for loop, but
can anybody suggest a "genuine R" solution?
(That is, a
2002 Jan 19
0
SUMMARY: readline() to vector
Thanks to all who answered my
question (appended to this message). Two solutions:
1. If the user answers with the 4 lim values (i.e., 10,20,1,100),
limStr <- readline("Enter xlim and ylim values: ");
lim <- as.numeric(unlist(strsplit(limStr, ",")));
2. If the user answers in R vector notation (i.e., c(10,20,1,100) )
limStr <- readline("Enter xlim and ylim
2002 Feb 21
0
data.restore: warnings
I'm using data.restore() (pack. foreign) to import
some S objects that were dumped to
a file with data.dump(). Functions
were excluded from the data.dump() in S.
I'm geting an error
and warnings (I normaly do not with other objects)
and don't know how to trace back the problem:
> data.restore("nofunciones.dmp")
Error in try(dimnames(value) <-
2002 Jul 17
0
Problem with R INSTALL
After a successful installation of R
> R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status Patched
major 1
minor 5.1
I've started to install packages but I'm totally confused by the
following problem:
R INSTALL boot_1.2-8.tar.gz
and I get
tar: /usr/local/lib/libpthread.so.0: version `GLIBC_2.2' not found
2003 Mar 04
1
problem at installing Rade
Hi!
I try to install the R version of ade4 on a linux (suse7.3) box
with R 1.6.2 (from rpm)
and get
/usr/local/bin/R INSTALL ade4_1.00.tar.gz
tar: /usr/local/lib/libpthread.so.0: version `GLIBC_2.2' not found
(required by /lib/librt.so.1)
ERROR: cannot extract package from 'ade4_1.00.tar.gz'
But I actually have glibc 2.2.4
(at least this is what my suse's Yast conf. tool
2003 Mar 10
1
ylim in plot(corresp(,df=2))
Hi!
If I do:
plot(corresp(a, nf = 2),xlim=c(-1,2),ylim=c(-1,1))
while the xlim takes effect, the ylim does not,
no matter the values given for ylim.
Is this intentional? is this an error?
(I think this might be related with
line 41 in biplot.default in mva)
(using R 1.6.2 on a linux (suse 7.3) box.)
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris
2002 Apr 04
0
ozone.xy
Hi!
Where is ozone.xy? I've found ozone in package fields,
but cannot find ozone.xy
Actually, is there any way to find in which package
lives a particular
dataset (if the package is not installed in the local system?)
Thanks
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es