Is there a way to run a simple perl script from R?
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis Team
PNW Research Station - USDA-FS
3200 SW Jefferson Way, Corvallis, OR 97331
[EMAIL PROTECTED]
541 750-7393
I've tried various configurations of .script, system and shell to no
avail. It seems to pause and run something but then no output is
created.
-Original Message-
From: Dirk Eddelbuettel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 07, 2007 1:11 PM
To: Pierce, Ken
Cc: r-help
Subject
Does anyone know of any issues with nesting source() calls within
multiple scripts? I have at least one script which always finds errors
when I source it but runs fine when run on its own. It containd source()
calls to other scripts and it seems to fail during the first nested
source() command.
Dear R wizes,
I have a data.frame of species abundances with column names consisting
of 4 letter codes then an underscore and a number like this:
abco_1, abco_2, abco_3, psm_1, psme_2, psme_3, etc.
I would like to get an identifier for all the abco, and psme and other
species etc.
I used
)
Ken
From: nalluri pratap [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 4:03 PM
To: Pierce, Ken
Subject: Re: [R] problem coercing truncated character vector to levels
hi,
Try this one
spec.count- strtrim(c(abco_1, abco_2, abco_3, psm_1, psme_2
Is there any way to put an argument into an object name. For example,
say I have 5 objects, model1, model2, model3, model4 and model5.
I would like to make a vector of the r.squares from each model by code
such as this:
rsq - summary(model1)$r.squared
for(i in 2:5){
rsq - c(rsq,
Thanks to all who showed me to the get() function. That works like a
charm.
Ken
From: David Barron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 1:24 PM
To: Pierce, Ken; r-help
Subject: Re: [R] variables in object names
The trick is to use
savePlot has been working quite well for me.
Ken
~~~
Kenneth B. Pierce Jr.
Research Ecologist
Forestry Sciences Laboratory
3200 SW Jefferson Way
Corvallis, OR 97331
[EMAIL PROTECTED]
541 750-7393
-Original Message-
From: [EMAIL PROTECTED]
There's the xpinch and ypinch parameters in the windows() device call.
However, as an addition to this question, how do you specify output, say
with the savePlot function, to maximize the plot area on an 8 1/2 x 11
sheet of paper?
Ken
~~~
Kenneth B. Pierce Jr.
Research