Displaying 20 results from an estimated 10000 matches similar to: "Rprofile etc in Linux"
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
2002 Feb 22
2
R gnome and lda: found the difference
Saving lda.default as text files from within gui="none" and from within
gui="gnome"
and comparing afterwards with diff, I get:
alobo at humboldt:> diff lda.default.gnome.txt lda.default.nognome.txt
1c1
< function (x, grouping, prior = proportions, tol = 1, method =
c("moment",
---
> function (x, grouping, prior = proportions, tol = 1e-04, method =
1999 Jul 16
7
R:how to separate stuff?
Thanks for your help on moving files from
S+ to R and on attaching directories.
If attaching directories is NOT possible in R,
is there any other way to separate
objects into different folders or something similar?
For example, to keep user functions for multivariate
analysis in a different "place" than user functions on
time series, or to keep data objects of project_1
in a different
1999 Jul 16
7
R:how to separate stuff?
Thanks for your help on moving files from
S+ to R and on attaching directories.
If attaching directories is NOT possible in R,
is there any other way to separate
objects into different folders or something similar?
For example, to keep user functions for multivariate
analysis in a different "place" than user functions on
time series, or to keep data objects of project_1
in a different
2001 Aug 29
2
Missing functions in package e1071(Win*)
Hi!
After unziping the CRAN file e1071.zip
on my Win95 library directory, I start R and
type
>library(e1071)
After that, help commands of the e1071
functions work (i.e., help(read.pnm), BUT
some functions themselves are not available:
> read.pnm
Error: Object "read.pnm" not found
I've looked at the file library/R/e1071 with
an ascii editor and it seems like the functions
2009 Jul 21
1
Customization options with .Renviron, R_LIBS, .Rprofile etc
Hi,
I am interested in customizing the installation of R. I have
gone through the ?R Installation and Administration? manual. But some
of the stuff is not clear to me and I would like to get clarifications
on the following points (for a Windows installation with
R_HOME=C:\\R\\R-2.9.1 ) :
1. I understand that I need to create a
file, .Renviron with the following path : R_HOME\\etc\\.Renviron where
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
2003 Oct 15
2
Subseting in a 3D array
Hi!
I have a 3d array:
> dim(ib5km15.dbc)
[1] 190 241 19
and a set of positions to extract:
> ib5km.lincol.random[1:3,]
[,1] [,2]
[1,] 78 70
[2,] 29 213
[3,] 180 22
Geting the values of a 2D array
for that set of positions would
be:
> ima <- ib5km15.dbc[,,1]
> ima[ib5km.lincol.random[1:10,]]
but don't find the way for the case
of the 3D array:
>
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
2012 May 04
1
Rprofile.site under Windows 7?
Hello All:
I'm still unable to get Rprofile.site to set, e.g.,
options(max.print=222), as I did with previous versions of R.
I just found similar questions posed by Trevor Miles and Ross Bowden
with replies by Uwe Ligges and Duncan Murdoch.
In addition to the things I tried documented below, I also copied
Rprofile.site into "R_HOME/etc/i386" and
1999 Jul 28
2
3d in R
Dear R-users and R-developpers,
I've not been able to find 3d graphics in R, like
Splus spin() or brush(). Are there any that I've missed
and/or is anybody working on implementing these
type of functions?
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
2002 Oct 21
5
RFC: Loading packages at startup
I've been kicking the following idea around for a while, and am now
proposing to put some version into 1.7.0. I'd be interested in
comments on the desirability and the design, before I start writing
any code.
S4 introduced a file .S.chapters which can contain a list of S
chapters (equivalent to R packages) to be loaded on start-up. This
was the germ of this proposal.
Proposal:
Extend
2002 Jul 12
1
.Rprofile on MacOSX
I'm new to R, so apologies if the answer to my question is very obvious to
everyone else!
I use the carbon version of R (1.5.1), not the Darwin version. After a bit
of a battle, I'm getting to grips with using R, and really getting to like
it, but I'm still having trouble customising startup the way I'd like it.
Reading ?Startup, I see that I can specify some commands to be run
2001 Nov 26
2
summary() and range(): inconsistency?
I've found the following and I'm kind
of confused:
> summary(delme)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1 2950 5699 5756 8572 11680
> range(delme)
[1] 1 11675
summary() and range() give different Max. value for the same
vector!
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel
2008 Jul 14
2
.First and .Rprofile won't run on startup
I'm trying to source a file automatically every time I start R. I tried
adding the following .First function in a file Rprofile.site in my
$R_HOME/etc/ directory (verified $R_HOME by Sys.getenv()) as well as in a
file .Rprofile in my $HOME directory and .Rprofile in the working directory:
.First <- function(){
source(file.path(Sys.getenv("HOME"), "R",
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
2001 Sep 07
1
"load" for text file with functions?
Hi!
I'm writing down the methods that I used to
migrate from Splus to R and expand a bit the
R docs for this subject. Prior to send these
notes to the FAQ curator I would like to make sure
on the following:
Given an ascii text file with several
functions (i.e., myfuncs.txt), is there any equivalent to
load(), so that the functions become
usable in R? Or is it necessary
to install it as a
2003 Jul 04
1
Problem with fitdistr for beta
I have the following problem:
I have a vector x of data (0<x<=1 ) with
a U-shaped histogram and try to fit a beta
distribution using fitdistr. In fact,
hist(rbeta(100,0.1,0.1)) looks a lot like
my data.
The equivalent to
the example in the manual
sometimes work:
> a <- rbeta(100,0.1,0.1)
> fitdistr(x=a, "beta", start=list(shape1=0.1,shape2=0.1))1)
> shape1
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