Displaying 20 results from an estimated 2000 matches similar to: "Re: [R-gui] NEdit Highligth patterns for R"
2002 Oct 10
1
NEdit Highligth patterns for R
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
2003 Sep 08
0
New highlighting for NEdit 5.3
Hi,
I've just put together a new R syntax highlighting file for Nedit 5.3.
I've borrow the "base" functions of Jedit (thanks to Tobias Elze and Zed
A. Shaw) so now NEdit highlights a little more than before :)
You can download the file here:
http://ernesto.freezope.org/cmf/starthere/r/R-5.3.pats
Just import it into NEdit with
> nedit -import R-5.3.pats
and save your
2002 Oct 11
0
RE: [R-gui] NEdit Highligth patterns for R
Hi
I agree with your comments and of course you identifie the problems
regarding the implementation of your suggestions.
Of course we'd need bidireccional communication to implement it. I think
it's impossible to do it statically.
What I want with NEdit is a very ligth editor (which jedit is not) that
highlights the most important language syntax, so that It becomes easier
to write
2004 Feb 09
1
nedit syntax highlighting patterns for R?
I tried to install the syntax pattern file, R-5.1.pats (obtained from
www.nedit.org)
in version 5.3 of nedit, but it gives the following errors. Does
anyone have a
more up-to-date copy?
euclid: ~/nedit % nedit -import R-5.1.pats
NEdit: language mode must be specified in highlight pattern:
<==
NEdit: style name required in style specification:
Note:darkRed:Italic
<==
NEdit: expecting
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
>
>
2004 May 25
0
RMySQL problem - SOLVED
Hi,
The problem was the row.names that were sent to the database and created
an primary key duplicate. Now it works fine.
BTW congratulations for the package. It copied 15300 rows by 11 columns
in less than 5 seconds, in my PIII 833 with 1 GB RAM.
> system.time(dbWriteTable(con, "TBL_SIMDATA", TBL.SIMDATA, append =
TRUE, row.names=F))
[1] 3.87 0.05 4.86 0.01 0.00
Just one
2003 Jul 03
2
unlist
Hi
I have a list with several data.frames, all with the same number of
colunms but different number of rows, and I'd like to transform this
list into a single dataframe. I need to mimic an rbind of all dataframes
...
Transform doesn't seem to work :-(
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Bi?logo Marinho/Marine Biologist
IPIMAR - Instituto Nacional de Investiga??o
2001 Sep 24
0
syntax highlighting pattern for NEdit
Hi all,
I have just uploaded an R syntax highlighting pattern for NEdit -
for those that prefer Nedit over Emacs (like myself).
NEdit: http://www.nedit.org
R pattern: ftp://ftp.nedit.org/pub/contrib/highlighting/r.pats
Comments welcome!
Korbinian
--
Korbinian Strimmer http://users.ox.ac.uk/~strimmer
Dept. of Zoology, University of Oxford, South Parks Road, Oxford
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
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
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 Jan 23
2
Exporting graphics window
Hi
I'm working on a remote computer with R (SuSE 8.1) and I want to do some
ploting. Does anyone knows if it is possible to export the graphics
window in to my display and how I can do it ?
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
Research Institute for Agriculture and Fisheries
Lisboa, Portugal
Tel: +351 213 027 000
Fax: +351 213 015 948
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:
>
2003 Jan 24
4
memory problems
Hi
I'm computing a bca interval using bca.ci from the boot package.
When I try to use this I get an error
> library(boot)
> boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> bca.ci(blm8901,index=29)
Error: cannot allocate vector of size 456729 Kb
However my machine has 2GB of memory and without R running I only have
112M of memory used.
Is there something
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
2003 Jun 05
1
scales in xyplot doesn't seem to work for x axis
Hi
I'm doing a xyplot and I wand to reduce the number of tick marks in the
x axis. My x axis are month and I want to reduce the 12 tick marks to 4.
I used the scales argument but it doesn't seem to work, althougth it
works on y axis if I use scales=list(tick.number=4).
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
2002 Jan 24
2
R-gnome: no way to configure
Hi!
I've been able to configure and make R (1,4,0 linux)
except for the gnome support. I've checked all packages and libs mentioned
in R-admin.pdf (and by Luke Tierny) to make sure that I have them and even
using the following:
./configure --with-gnome --with-gnome-includes=/opt/gnome/include
--with-gnome-libs=/opt/gnome/lib --with-libglade-config=opt/gnome/lib
I still get:
R is now
2003 Jan 16
1
bootstraping lm
Hi
I'm doing a bootstrap of a linear model using:
boot.fishpower <- function(data, i){
data <- data[i,]
fplm <- lm(log(U)~Q+S+P+B+D, data=data)
fp <- coef(fplm)
exp(fp)
}
> boot(logglm.data,boot.fishpower,100)
Error in "[<-"(*tmp*, r, , value = statistic(data, i[r, ], ...)) :
number of items to replace is not a multiple of replacement
length