Displaying 20 results from an estimated 20000 matches similar to: "Generate a sequence of random integer values"
2005 Aug 09
5
RGUI crash when opening script in XP Home enviroment
If there is a helpfile open (f.e ?glm) and it is the top window, then
an exception error occurs (closing RGUI)
when I hit the open file button.
If the helpfile is not the top window (of the RGUI) I am able to open a
new script without any error.
The RGUI is not closing complete there is a blank screen left which I
have to close with the X Button or Taskmanager
Windows XP Home - German Version
2005 Aug 09
8
Digest reading is tedious
Like many, I am sure, I get R-Help in digest form. Its easy enough to
browse the
subject lines, but then if an entry interests you, you have to embark
on this tedious search or scroll to find it.
It would be great to have a "clickable" digest, where the topics list
is a set of pointers, and clicking on a topic
takes you to that entry. I can think of at least one way to do this via
2005 Jan 24
1
package dependency error on loading lme4
Hi all,
I recently (today) updated the Matrix package and installed the latticeExtra
package, but then when I tried to load the lme4 package, I got the following
error message:-
> library(lme4)
Loading required package: Matrix
Loading required package: latticeExtra
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object(s) '.__C__lmeRep' are not exported by
2005 Nov 08
4
bug in windows GUI/script editor (PR#8288)
Full_Name: Roberto Ugoccioni
Version: 2.2.0
OS: Windows 2000
Submission from: (NULL) (193.203.232.5)
Running Windows 2000 Professional, all patches up to nov 8, 2005.
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 2.0
year 2005
2005 Nov 08
4
bug in windows GUI/script editor (PR#8288)
Full_Name: Roberto Ugoccioni
Version: 2.2.0
OS: Windows 2000
Submission from: (NULL) (193.203.232.5)
Running Windows 2000 Professional, all patches up to nov 8, 2005.
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 2.0
year 2005
2005 Mar 04
1
Rconsole wishlist
Hi all,
Wouldn't it be nice (??!!) if R automatically issued a warning message when
the R console buffer was about to fill so that you could save all your
output into a text file? (I know about sink(), but I think it would be good
to have an easier mechanism to save a complete record of messages and
function output). And on a similar vein, wouldn't it also be nice if R
automatically
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to
"true"? I want something like windows(record = TRUE) but not just for
the window that opens then, but for all windows I will open ever.
b) Scrolling up in RGui (windows 2000) to see past commands is nice,
but: Is it possible to type eg "wi" and the "arrow up" and see the
last command that started with
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to
"true"? I want something like windows(record = TRUE) but not just for
the window that opens then, but for all windows I will open ever.
b) Scrolling up in RGui (windows 2000) to see past commands is nice,
but: Is it possible to type eg "wi" and the "arrow up" and see the
last command that started with
2001 Sep 14
1
converting numeric to ordered
Hello all,
would someone please tell me why the following code doesn't "work" (i.e. do
what i expected!).
I wanted to convert numeric variables in a matrix to ordered (for input as
nominal variables into the 'daisy' program).
Why does the following code seem to work, but the "is.ordered" command
reports that the variables are not ordered (factors)??
> xxx <-
2003 Nov 25
3
plot mean + S.E. over time
Hi, there!
I finally became a disciple of 'R', after having lost years of my life
handling data with a popular, rather wide-spread spreadsheet-software.
Now I want to plot the results of many runs of my simulation over time,
so that the means +/- Standard error are on the y-axis, and time on the
x-axis.
I have tried 'boxplot', with timesteps as the grouping variable, but did
2001 Aug 27
4
plotting dendrograms from cluster analyses
Hi all,
I have a bit of a newbie question here that I hope y'all can help with. I've
run a cluster analysis using hclust on about 500 objects (using R1.3 under
Win 2000). The problem is that the tips of the dendrogram are so close
together on the plot that the labels overlap and are unreadable. I've used
"cex" to reduce the label sizes but this isn't sufficient with so
2006 Jun 25
2
Error in model.frame: invalid variable type
I'm getting the following error when trying to execute a glm() procedure:
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
invalid variable type for 'response'
The commands I'm using to import the *.csv files, construct the data frame,
and run the glm procedure are below:
response <- read.csv("Response.csv",
2003 Jun 13
5
covariate data errors
Greetings,
I would like to fit a multiple linear regression model in
which the residuals are expected to follow a multivariate normal
distribution, using weighted least squares. I know that the data in
question have biases that would result in correlated residuals, and I
have a means for quantifying those biases as a covariance matrix. I
cannot, unfortunately, correct the data for these biases.
2003 Jan 08
1
update.packages through proxy failing
Hi all,
my uni has recently switched to using a proxy (with password) for accessing
Web pages outside the uni. I have since found that "update packages" etc no
longer seem to work from R.
I have tried to fix this problem in two ways:-
1) renaming internet2.dll to internet.dll in the "Modeules" folder and
proceeding as usual. When I tried "update packages" from the
2004 Jun 03
2
Simulating a landscape (matrix) in R
I'm trying to figure out how one might go about simulating a landscape
(matrix) in R. For example if one wanted to generate a simulated landscape
of precipitation values for some area (say a 100 X 100 matrix) they could
generate 10,000 numbers using a random normal distribution with a mean and
std. dev. and randomly allocate these generated numbers to the grid cells.
However, this is too
2006 Jan 27
1
Justification of dendrogram labels
Hi all,
Can someone tell me how to justify (right or left) the labels on the
branches of a dendrogram tree? I have produced a dendrogram via agnes and
plotted it with pltree. The dendrogram terminal branch labels seem to be
centre-justified by default and I was hoping to change this to left
justification. Thanks,
Duncan
*****************************************
Dr. Duncan Mackay
School of
2006 Jan 17
5
Hash.new{|h,k| h[k] = ""} ... but for views?
I sometimes buy myself a default value for a hash using something like
this: h = Hash.new{|h,k| h[k] = ""}. I can now pass ''h'' any key and if a
value has not yet been associated with that key I receive an empty
string.
I would love to do something similar in my partials so that I wouldn''t
have to worry about passing in every variable that is referenced.
2004 Oct 12
1
(PR#7277) Re: strange windows behaviour after changing
I can reproduce this in MDI. Another clue is that as the pager for
?merge is opened, the font in the console changes.
The console is still working: commands you type in it are accepted.
So the issue appears to be that the font in use has been changed
incorrectly (and it seems that the C code thinks it has been changed in
the preferences dialog).
On Tue, 12 Oct 2004, Duncan Mackay wrote:
2005 Mar 20
2
Using locator() to digitise
Hi Folks,
I'm contemplating using locator() to digitise external
graphics. To set context, I would be using X11 display
on Linux.
To pre-empt the obvious comment: I've found on the R site
the suggestion to use the 'pixmap' package. I've tried
this, and it works; but it involves building a big R
object (the internal pixmap representation), and this
chokes my somewhat puny
2010 Sep 13
2
How to generate a particular sequence ?
Dear R,
I have a vector, say a = c(1,2,4,5,6,8). Can I generate a vector or array
(2-by-3-by-3) of this form c(1,2,1,2,1,2,4,5,4,5,4,5,6,8,6,8,6,8), in which
every two elements in "a" have been repeated twice?
I am to stupid today and could not figure this simple question out... Many
many thanks!
Feng
--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm,