On Mon, 3 Mar 2003, Till Baumgaertel wrote:
> org.omegahat.R.Java.REvaluator e = new
> org.omegahat.R.Java.REvaluator();
>
> Object val = e.eval("objects()");
>
> if(val != null) {
> String[] objects = (String[])val;
> for(int i = 0 ; i < objects.len
Suppose the R source file is at: /disk/R-1.6.2/
and R is installed at: /disk/R/
Which valud is $R_HOME?
1. /disk/
2. /disk/R-1.6.2
3. /disk/R/
I thought the answer is 3 but not sure. From the manual "R
installation and Administration", it says 'Choose a place to install
the R tree, let's call th
Hi,
I just figured out this problem by setting up the R_LIBS environment.
But a new question came up when I tried to install the REmbeddedPostgres
package. It seems this package must be installed in /usr/lib/R but cannot
be install into a user-specified library directory. Anybody here had such
exp
I am writing code in C and would like to call R's functions samin and
vmmin (optimization routines: simulated annealing and BFGS)
I do not understand how to create and pass in the function (as well as the
extra arguments it needs) I am optimizing.
I have read the R Extensions manual but it is sti
Hi all,
I'm trying to put together examples in an R package, and am having trouble
reading data from the package's data directory. The data are in
comma-separated variable files, so to read a file like gw.csv, I include
in the data directory both bailey.csv and a file bailey.R which contains:
b
Dear R users,
Does anyone notice that Rterm.exe does not work well with rxvt.exe,
an xterm emulator for Cygwin? It produces an error message window
with the following message:
This program has performed an illegal operation
and will be shut down.
If the problem persists, contact the p
org.omegahat.R.Java.REvaluator e = new
org.omegahat.R.Java.REvaluator();
Object val = e.eval("objects()");
if(val != null) {
String[] objects = (String[])val;
for(int i = 0 ; i < objects.length; i++)
System.err.prin
I installed SJava package at $R_HOME/lib/R/library/
When I conduct library(SJava), I always need to explicitly specify the
library path, how could I change the default library path?
I have included the SJava path in the LD_LIBRARY_PATH variable as:
%echo $LD_LIBRARY_PATH
R_HOME/lib/R/library:R_H
A new version of gss, version 0.8-2, is on CRAN now. Numerous new
functionalities have been added since my last r-announce post.
An ssanova1 suite has been added since version 0.7-4. It implements
low-dimensional approximations of the smoothing spline ANOVA models
of the ssanova suite. ssanova
> It's just by chance that this happened: the
> correlation you generated
> was not strong enough, or was far from an
> unstructured correlation and
> the algorithm did not converge (and you obtained
> this error message).
> Generate another sample might solve the problem.
>
I think that you he
Dear Tony and Damon,
I, too, have seen this problem (and other similar problems) occasionally. I
don't really understand the source of the problem, but I think that it
involves synchronization issues, and I find that inserting delays between
operations seems to help. Take a look, for example, a
It is not actually necessary to install R: see the R-admin manual.
It is a very bad idea to install to use the source tree. Just build in a
directory != srcdir, as the R-admin manual explains.
You have read _all_ the R-admin manual, haven't you? Just in case you
haven't, please do as you are
On Sun, 2 Mar 2003, Uwe Ligges wrote:
>
>
> Bai Yan wrote:
> >
> > It cannot work.
> >
> > %make uninstall
> > make: *** No rule to make target `uninstall'. Stop.
>
> Well, you did a make distclean before, hence you Makefile has been
> deleted.
> It's generally a bad idea to have identical sour
Bai Yan wrote:
>
> The thing is that even I didn't specify 'enable-shlib', I still get
> libR.so but not libR.a, I must missed something here.
> Please have a look at the logs below:
>
>
> %cd /disk/hopper/projects/class/cse514/R-1.6.2/
> %make distcle
Bai Yan wrote:
>
> It cannot work.
>
> %make uninstall
> make: *** No rule to make target `uninstall'. Stop.
Well, you did a make distclean before, hence you Makefile has been
deleted.
It's generally a bad idea to have identical source path and installation
path, whcih appoears to be the case
It cannot work.
%make uninstall
make: *** No rule to make target `uninstall'. Stop.
Yan
On Sun, 2 Mar 2003, Uwe Ligges wrote:
>
>
> Bai Yan wrote:
> >
> > After I used 'make distclean', I still can access R input 'R' command. How
> > could R be completely removed? must I delete all the direct
Bai Yan wrote:
>
> After I used 'make distclean', I still can access R input 'R' command. How
> could R be completely removed? must I delete all the directory?
>
> Thanks,
> Yan
make distclean
cleans the sources from previous configures and makes, instead try:
make uninstall
Uwe Ligges
__
After I used 'make distclean', I still can access R input 'R' command. How
could R be completely removed? must I delete all the directory?
Thanks,
Yan
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
The thing is that even I didn't specify 'enable-shlib', I still get
libR.so but not libR.a, I must missed something here.
Please have a look at the logs below:
%cd /disk/hopper/projects/class/cse514/R-1.6.2/
%make distclean
...
%./configure --prefix=/di
Damon Wischik <[EMAIL PROTECTED]> writes:
> I am having trouble with ESS+R. I don't know if it is an ESS
> problem or an R problem, so I'm posting to this mailing list in
> the first instance.
Actually, it might be an Emacs problem -- or an R problem. The fact
that R/ESS works under windows is
I am having trouble with ESS+R. I don't know if it is an ESS
problem or an R problem, so I'm posting to this mailing list in
the first instance.
I am using R 1.6.2, Windows XP (latest updates installed), XEmacs 21.4,
and ESS 5.1.21. I have experienced the same problem under Windows 2000 and
recen
Sunday, March 02, 2003, 9:48:26 PM, you wrote:
MK> [EMAIL PROTECTED] wrote:
>> You are not solving the same problem, which is more than a little `odd'.
MK> Why?
MK> >>> want to choose the three parameters so that
MK> these three integrals are as close to, resp., 2300, 4600 and 5800 as
MK> possi
This works in R-devel, for which NEWS says
o step(), add1.default() and drop1.default() now work somewhat
better if called from a function.
It's mainly a scoping problem, related to changes made way back in 1.2.x.
However, it is also an bad example, as z is really excluded in the f
Steve Wisdom <[EMAIL PROTECTED]> writes:
> A quirk in `transform'?
..
> > transform(df,x=x)
> Error in transform(df, x = x) : Object "x" not found
Yes (or in argument matching). "x" names the object and thus cannot be
used again as a tag.
--
O__ Peter Dalgaard Blegdamsvej
Could someone point me in the right direction for the following issue:
A function is defined as follows:
tfun <- function(dat)
{
fmla <- as.formula("y~x+z")
dat2 <- dat
mdl <- lm(fmla,dat2)
mdl <- step(mdl)
}
Then the fo
A quirk in `transform'?
> df <- data.frame(x=1:3, y=4:6, z=7:9); df
x y z
1 1 4 7
2 2 5 8
3 3 6 9
> transform(df,z=z)
x y z
1 1 4 7
2 2 5 8
3 3 6 9
> transform(df,y=y)
x y z
1 1 4 7
2 2 5 8
3 3 6 9
> transform(df,x=x)
Error in transform(df, x = x) : Object "x" not found
>
_
[EMAIL PROTECTED] wrote:
You are not solving the same problem, which is more than a little `odd'.
Why?
>>> want to choose the three parameters so that
these three integrals are as close to, resp., 2300, 4600 and 5800 as
possible. As I have three equations with three unknowns, I expect the
exact
Hello!
Although I agree that the functions used are a little tricky to deal
with, it seems to me to be an odd way to use optim(). Wouldn't it be
better just use uniroot?
What I have in mind is:
THETA[2] may be easily excluded from the equations. So we are left with
2 functions and 2 unknowns (TH
...does not work. Do
k<-grid.points(c(0.1,0.2,0.3),c(0.1,0.2,0.3),pch=3,vp=viewport())
(symbol - +). Try to change it grid.edit(k, pch=1) (symbol - open
circle). Get filled squares. pch from 0 to 25 produces the same output.
pch="x" - works OK. Device - x11(), gtk() (from GtkDevice). R -1.6.1
29 matches
Mail list logo