Displaying 20 results from an estimated 9000 matches similar to: "how to use a script file for all the codes?"
2004 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error :
Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd"
I hadn't this problem with others R versions.
What Can I do now to avoid that?
I'm using R1.9.0 under Win98.
[[alternative HTML version deleted]]
2004 Apr 21
2
segfault in approx() (PR#6809)
This is R1.9.0, windows XP
I run across the following:
It is admittedly silly, but it shouldn't segfault:
test <- list(y=1:100, x=rep(NaN, 100))
approx(test, xout=rep(NaN, 10))
Bombs!
Kjetil Halvorsen
2004 Jun 05
2
'invalid HOMEDRIVE'
Dear all,
One of my students have installed R1.9.0 on windows, and gets the fatal error
'invalid HOMEDRIVE'
Can anyone help her/me out on that one?
Thanks in advance
Søren Højsgaard
[[alternative HTML version deleted]]
2004 Apr 29
5
Problems in plot
Hello,
I have R1.9.0 under Windows XP. My program plots several plots using
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is
Error in plot.new() : Figure margins too large
2004 Apr 28
2
Matrix efficiency in 1.9.0 vs 1.8.1
I'm seeking some advice on effectively using the new Matrix
library in R1.9.0 for operations with large dense matrices. I'm working on
integral operator models (implemented numerically via matrix operations)
and except for the way entries are generated, the examples below really are
representative of my problem sizes.
My main concern is speed of large dense matrix multiplication.
In R
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi!
>library(cluster)
In this lib a function called silhoutte.default is defined
than on the R prompt it type
>silhouette.default
Error: Object "silhouette.default" not found
R1.9.0
The same error are at R1.8.1
And I knew that a function silhoutte.default are present.
But the same piece of code works in R1.6.2
???
Eryk
Dipl. bio-chem. Eryk Witold Wolski @
2004 May 21
1
search and missing library
I'm not sure what is going on with this one -- maybe it will make
sense to someone.
R1.9.0 under Windows 2000.
1) Start up R.
2) search() # works as expected
3) library(fBasics) # from Rmetrics
# but at least one of its required packages is not present on the machine
4) search() # nothing appears at all but the prompt
Once all of the required packages are present, then step 3 no longer
2004 Apr 20
1
Error while loading R2HTML in Rprofile
Hi List,
When loading library(R2HTML) in Rprofile I get the following error:
Error in firstlib(which.lib.loc, package) :
couldn't find function "ps.options"
Error in library(R2HTML) : .First.lib failed
[Previously saved workspace restored]
% ps.options is there
% Loading the library from the command prompt works fine, other libraries load fine through Rprofile.
% This
2004 Jun 07
1
Load a dll
Hi folks,
I have a question about how to load a dll.
First, I use the command
> dyn.load("lassofu.dll");
then, I got the message below
“NULL
Warning message:
DLL attempted to change FPU control word from 9001f to 90003”;
After I tried to use this dll in one of s functions, I got the message
below
“Error in .Fortran("lasso", as.double(x), as.double(y), as.double(b),
2004 Nov 18
1
ROracle connection problem
Hi,
I found the same question in the mailing list already a few months ago -
but there was no answer to it - so I'll try it again
Could somebody help me to solve this following problem? I just begin to
learn how to connect my Oracle database with R.
> library(DBI)
> library(ROracle)
Warning message:
DLL attempted to change FPU control word from 8001f to 9001f
>
2004 Sep 14
3
memory allocation questions
Dear R-devel
This one seems a bit arcane for R-help. I very often use R to call routines written in Delphi (son of Pascal), doing "persistent" memory allocation within Delphi. That is, I start R and load the Delphi DLL; then I use .C to call a Delphi routine which allocates a piece of memory X and returns to R a pointer to X; then I do some more stuff in R; then I call another Delphi
2004 Oct 04
2
call step inside a function
I am wondering why my function works fine in R1.7.1 and R1.8.1 but not in
R1.9.0. I thought it's an environment related problem but I can't solve it.
>data
weta jd
1 1 4
2 2 13
3 2 13
4 6 4
5 1 3
6 1 7
7 2 10
8 3 10
9 1 8
10 1 8
11 3 6
12 1 9
13 1 5
14 1 1
15 3 13
16 1 2
17 2 2
18 7 11
19 1 3
20 5 4
2004 May 12
1
Problem with plot (PR#6875)
Hi!
Pinned the problem with plot down a bit. I can reproduce it with only 2 lines of R on my Windows XP machine.
(today reinstalled R1.9.0) and Bioconductor packages updated.
Can anyone reproduce this behaviour?
(I am surely reproducing this error only if library(ROC) is loaded at the beginning of the session.)
z:\devel\Paper2004\patrick3>Rterm
R : Copyright 2004, The R Foundation for
2004 Jun 28
1
R client connection OLAP cube (SQL Analysis Services / PivotTable Service)
I have been doing data analysis/modeling in R, connecting to SQL databases
with RODBC (winXP client with R1.9.0 and win2k SQL server 2000).
I am now trying to leverage some of the OLAP features to keep the data
intensive tasks on the DB server side and only keep the analytical tasks
within R (optimize use of memory). Is there any package that would allow to
connect to OLAP cubes (as a client
2005 Jan 14
2
Porting from Linux to Windows
I intend to port an R project from Linux to Windows.
It involves C code that is loaded via dyn.load().
I could manage to produce a 'dll' File using cygwin which seems to be
o.k.
Now, using dyn.load("pcr.dll") i get:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"c:/cygwin/home/pingu/rt-pcr/pcr.dll":
LoadLibrary
2004 Apr 26
1
names attribute of data.frames after rbind
Hi,
If columns of a data.frame have a names attribute and we rbind two
similar data.frames together, the names of the column of the resulting
data.frame only has the correct values for the first component and
has "" in all other positions. Is this a documented "feature" or
a bug? If it is intentional, why? Here is a small example to
show what I mean. The same behaviour
2011 Mar 18
1
Installing rJava fails
Dear all,
Installing rJava fails. The message was listed below. I wonder why cpp flag
could not be detected, although I had installed. Thanks!!!
-Jiacheng
R CMD INSTALL rJava_0.9-0.tar.gz
* installing to library
‘/data1/mri_researchers/wexler_data/jiacheng/R-2.12.0/library’
* installing *source* package ‘rJava’ ...
checking for gcc... gcc -std=gnu99
checking for C compiler default output file
2004 Jun 09
1
About dll from c++ routine
Hi folks,
My system is Windows98 + R1.9.0.
The path for my system is c:\perl\bin; c:\mingw\bin; c:\rtools;
c:\windows; c:\windows\command; c:\rw1090\bin.
I created three files followed the examples in “Writing R extensions” in
the directory c:\temp:
// X.hh
class X {
public: X (); ~X ();
};
class Y {
public: Y (); ~Y ();
};
// X.cc
#include <iostream>
#include "X.hh"
static
2004 Nov 11
1
glm.fit warning message
I am feeling my way in the use of GLM's and have come across a warning whilst manually simplifying a model with interaction terms, removing terms one at a time from the maximum model (R1.9.0).
> model<-glm(midpnts~(AET+tempave+tempvar+MDE+sqrtarea)^2+Lat,family=poisson,weights=weightS)
> model2<-update(model,~.-tempave:tempvar)
Warning message:
fitted rates numerically 0
2006 Nov 07
1
plot questions?
Dear Rusers,
I want to know which function in R can perform the following tasks:
1.surface-data grid(x,y,z) #which could be done in splus, the name was from
splus's options of graph
2. contourplot(x,y,z) #which could be done in splus
By the way, where can i find some useful materials to learn to plot
3-dimensionel graphs?
Thanks!
--
With Kind Regards,
oooO:::::::::
(..):::::::::