Displaying 20 results from an estimated 10000 matches similar to: "R and S-Plus: Two programs separated by a common language?"
2010 Apr 22
0
Subject: R and S-Plus: Two programs separated by a common language?
Paul
Just as in your implied analogy there are significant differences
beneath the surface between these programs despite superficial
similarities.
You will soon get frustrated trying to use both simultaneously as you
will not be sure that the critical step you've discovered in one will
work in the other. Most basic functions will work but I suspect that you
will soon discover some
2010 Mar 01
2
Simple Linear Autoregressive Model with R Language
Hello -
I need to do simple linear autoregressive model with R software for my
thesis. I looked into all your documentation and I am not able to find
anything too helpful. Can someone help me with the codes?
Thanks
Emil
[[alternative HTML version deleted]]
2009 May 26
4
moving from Windows to Linux - need help
hi
I've used R for many years on windows machines, but
have now acquired an Asus eee 1000 linux machine.
In order to get the best out of the machine, I used the
'pimpmyeee.sh' script, to get the full KDE desktop.
The version of Linux is Xandros, which I believe is
a close relative of Debian, but sadly I have only a
nodding acquaintance with Linux at present.
Naturally I want to
2010 Aug 05
1
using grib files in R
I am not new to R, but I am new to .grib files. I am downloading some
climate data and I would like to analyze it in R. R has a nice netcdf
package, but I don?t see any package available to deal specifically
with grib files. I see a few posts from other people using grib files
in R. However, I was unclear if they used grib files in a different
software program and then imported the data
2010 Jun 16
4
an alternative to R for nonlinear stat models
Hi
I implemented the age-structure model in Gove et al (2002) in R, which is a
nonlinear statistical model. However running the model in R was very slow.
So Dave Fournier suggested to use the AD Model Builder Software package and
helped me implement the model there.
ADMB was incredibly fast in running the model:
While running the model in R took 5-10 minutes, depending on the
2010 Mar 02
5
Random real numbers
Hi,
How could i generate random real numbers between 0 en 2*pi?
Thanks,
Frederik
[[alternative HTML version deleted]]
2010 Jul 16
2
Recommended way of requiring packages of a certain version?
What is the recommended way of requiring a certain version when loading
a package (or, indeed, from R itself)?
Perl has the
require module version
use module version
require version
use version
constructs which is kind of what I am looking for (especially 'use'
which is evaluated at compile time), but R seems to have lost the
version= argument to require().
The best I have been able
2009 Jun 08
1
Good Programming Practice Question - Functions in Different Files
I've gotten to the point wih an R script where I would like to encapsulate several blocks of codes in R functions.
In order to keep the top level script simple I would like to put them in a separate file. This should help the readability of the top level main script.
Is source(...) the best way to load those functions in the top level script?
For example, in the top level script
Line#
01
2010 Apr 11
1
Adding country boundaries on field map plots
Hi R users,
What is the command for adding (or how do we add) country boundaries on
r-spatial plots.
Thanks
ZABLONE OWITI
GRADUATE STUDENT
Nanjing University of Information, Science and Technology
College of International Education
Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China
Website: www.nuist.edu.cn
====================================================
[[alternative
2010 Apr 15
1
histogram
Dear R gurus...
How do I control "smoothing" of a density plot in panel.densityplot when
using histogram?
Thanks much,
Santosh
[[alternative HTML version deleted]]
2010 Apr 28
2
How to read contents of a text file into a single string?
... Both readLines() and scan() produce a number_of_lines x 1 vector; trying
paste(s, collapse = NULL) leaves it unaffected. How can I concatenate vector
elements (lines) into a single string?
Thank you.
--
View this message in context: http://r.789695.n4.nabble.com/How-to-read-contents-of-a-text-file-into-a-single-string-tp2069303p2069303.html
Sent from the R help mailing list archive at
2010 Jun 16
2
R software
Hello,
I have downloaded several times your program R-2.11.1 32.exe, after the
download when I click on the exe file I always receive the following error:
"The setup files are corrupted. Please obtain a new copy of the program".
Could you help me to download English or Russian version for Windows
(intel865). You may send a link.
Best regards,
--
Gulbanu
[[alternative HTML
2010 Apr 29
1
using get and paste in a loop to return objects for object names listed a strings
I am trying to create a heap of boxplots, by looping though a series of
factors and variables in a large data.frame suing paste to constrcut the
facto and response names from the colnames
I thought I could do this using get()
however it is not working what am I doing wrong?
thanks
Nevil Amos
> sp.codes=levels(data.all$CODE_LETTERS)
>
> for(spp in sp.codes) {
>
>
>
2010 Mar 02
4
two questions for R beginner
>>> What were your biggest misconceptions or
>>> stumbling blocks to getting up and running
>>> with R?
Easy. I terms of materials I have been unable to find good books that
introduce users to R from the perspective of someone familiar only
with packages like SPSS or STATA, or not familiar with statistics
packages at all. Even introduction texts use jargon
2010 May 06
1
extracting coordinates from SpatialPolygonsDataFrame using slot functions
In converting some older code:
## builds an OWIN to generate a set of points on a grid within the OWIN object:
bdry <- read.shape( "../../data/boundary.shp" )
outline.verts <- bdry$Shapes[[2]]$verts[1:bdry$Shapes[[2]]$Pstart[2],]
outline.order <- nrow( outline.verts ) : 2
bdry.poly <- vector( 2, mode="list" )
bdry.poly[[1]] <- list(
2009 May 27
5
How to exclude a column by name?
Given an arbitrary data frame, it is easy to exclude a column given its index:
df[,-2]. How to do the same thing given the column name? A naive attempt
df[,-"name"] did not work :)
2009 Sep 30
2
Change directory to implement same programes
HI, R-Users,
I have one problem:
I have written the the programs which process all file in one directory: for example:
setwd("C:/Documents and Settings/lma/My Documents/Vappu-saved/Log") as the start.
..........
But I have many folders like "Vappu-saved" and there are a lot of files in each directory. What I want is using the same program what I write for the above
2010 Jun 25
1
Confused: Looping in dataframes
Hey,
I have a data frame x which consists of say 10 vectors. I essentially want
to find out the best fit exponential smoothing for each of the vectors.
The problem while I'm getting results when i say
> lapply(x,ets)
I am getting an error when I say
>> myprint
function(x)
{
for(i in 1:length(x))
{
ets(x[i],model="AZZ",opt.crit=c("amse"))
}
}
The error message is
2010 Jul 14
1
POSIXlt error for 1982-01-01
Hi, I am encountering a strange error in POSIXlt... anyone got a clue?
> as.POSIXlt("1982-01-01")
Error in as.POSIXlt.character("1982-01-01") :
character string is not in a standard unambiguous format
> as.POSIXlt("1992-01-01")
[1] "1992-01-01"
> as.POSIXlt("1972-01-01")
[1] "1972-01-01"
> as.POSIXlt("1962-01-01")
2010 Aug 06
1
R code for EGARCH
Hi,
Can we run EGARCH in R. If yes, I would be grateful if someone could tell me
the R codes for running EGARCH model.
Thanks.
[[alternative HTML version deleted]]