Displaying 20 results from an estimated 3000 matches similar to: "Opening previous workspace in Windows (PR#2890) (fwd)"
1999 May 19
1
Compilation help!
Help!
I'm running successfully R_0.64.1 under windows95 with bother and
thoroughly enjoying using it, but I would prefer to run under UNIX, I
downloaded the various files but I'm coming across the following
problem. Can anybody suggest anything to help me.
Executing
./configure --prefix=/myworkspace/R
leads me to
R is now configured for mips-sgo-irix6.4
Source directory: .
2003 May 01
1
Opening previous workspace in Windows (PR#2890)
Full_Name: Heather Turner
Version: 1.7.0
OS: Windows 98
Submission from: (NULL) (144.173.6.80)
I have just upgraded to 1.7.0 from 1.4.1. Unlike 1.4.1, version 1.7.0 will not
open .RData files from Windows Explorer. This appears to be because there are
spaces in the path name as I get the error messages:
ARGUMENT `C:\My'__ignored____
followed by
ARGUMENT
2001 Sep 07
1
chron is.weekend() function
Hello,
I have a dataset which has fields giving both calendar date and weekday. I
know better functions are now available, but I am still using chron because
of the is.holiday() function and a homemade (even Heath Robinson would be
ashamed) is.daylight() function.
As a check for typos in the data input, I checked that the dates matched the
weekdays. I'm getting some confusing results
2004 Feb 13
1
Windows dll compilation (mingw32): how to find R.h and other head er files when sketching short functions
Sorry, this seems like a particularly stupid question, but here goes. It
relates to some "sketching" work I'm doing under Windoze.
I can only get my C code to find R.h and friends if I shift these header
files files and folders into the analogous mingw32 folders. This seems a
rather clumsy way of doing things, and I wondered what I've missed? (I'm
using the gcc -02
2004 Feb 13
0
Windows dll compilation (mingw32): how to find R.h and ot her head er files when sketching short functions
I thought Rcmd SHLIB mycode.c should take care of that, no?
Andy
> From: Paul Hewson
>
> Sorry, this seems like a particularly stupid question, but
> here goes. It
> relates to some "sketching" work I'm doing under Windoze.
>
> I can only get my C code to find R.h and friends if I shift
> these header
> files files and folders into the analogous
2001 Oct 19
2
Cross-compilers versus windows compilers (was optimal win dows R machine)
Good morning,
May I ask a naive follow up to this? Having now been granted limited
rights to use R-windows on a work PC, I wish to set up my home PC to support
compiling packages and so on. I currently have a working Linux set-up at
home, is there any general advice as to whether it would be better to add in
the cross-compilers there or is it better to persuade my home PC to dual
boot windows
2008 Apr 12
1
lm() of one matrix against another
Hello R list,
I have two matrices of identical dimensions, and I want to fit a
straight line for each pair of columns and plot the resulting lines.
I got it to work with a for loop, but there must be a better way,
> n<-5
> N<-10
>
> data.x<-matrix(1:(n*N),ncol=n)
> data.y<-matrix(1:(n*N) + rnorm(n*N,sd=1),ncol=n)
>
>
2008 Jul 03
1
ggplot2 legend for vertical lines
Dear all,
The following example code produces a graph with ggplot2, to which I
add several vertical lines of arbitrary colors. I am not satisfied
with the legend: it automatically adds some vertical lines which I'd
rather not see (they confuse the reader rather than add information
in this case).
> library(ggplot2)
> dfr <- data.frame(values = sin(1:50/10),
> fact =
2002 Jul 15
0
Incompleteness in Lattice documentation (was Re: lattice question: adding slopes to bwplot)
On Mon, 15 Jul 2002 08:39:05 +0100, Paul Hewson <PHewson at devon.gov.uk> wrote regarding "RE: [R]
lattice question: adding slopes to bwplot"
Hi,
Thanks. It made sense indeed: enough to discover the panel.linejoin function which does what I was looking for.
<error here>
I also understand now why I didn't find this, and associated, routine:
2008 Feb 14
1
write output in a custom format
Hi,
I need to create a text file in the following format,
> 1 100.0 0
> 0 0
> 1 1
> 0 0
> 1 1
> #
> 1 100.0 0
> 0 0
> 0 1
> 1 0
> 1 1
...
where # is part of the format and not a R comment.
Each block (delimited by #) consists of a first line with three
values, call it dose, and a list of (x,y) coordinates which are a
matrix or data.frame,
>
2008 Aug 09
2
levels values of cut()
Dear list,
I have the following example, from which I am hoping to retrieve
numeric values of the factor levels (that is, without the brackets):
>
> x <- seq(1, 15, length=100)
> y <- sin(x)
>
> my.cuts <- cut(which(abs(y) < 1e-1), 3)
> levels(my.cuts)
hist() does not suit me for this, as it does not necessarily respect
the number of breaks.
getAnywhere
2008 Nov 09
1
[Rd] Re Bessel functions of complex argument
Dear all,
I'm writing a code that requires Bessel functions with complex argument.
Searching the list, I found the continuation of a thread I initiated a few
months ago:
http://tolstoy.newcastle.edu.au/R/e4/devel/08/03/0746.html
As I understand, the most promising option would be to use the fortran or C
implementation of Amos,
2007 Dec 28
1
unit attribute to list elements
Hi,
I've started my own (first) package, part of which consists in
listing common physical constants (Planck's constant, the speed of
light in vacuum, etc). I'm wondering what would be a good way of
dealing with pairs of value/unit.
> constants <- list( cel = 2.99792458e8 , #m/s
> Z0 = 376.730313461, #ohm
> eps0 = 8.854187817e-12,#F/m
> mu0 = 4*pi*1e-7,#N/A^2
2009 May 21
1
size of point symbols
Dear list,
This might be a topic for r-devel but i may be missing something
obvious.
I don't understand the rationale in the absolute sizes of the point
symbols, and I couldn't find it documented. The example below uses
Grid to check the size of the symbols against a square of 10mm x 10mm.
> checkOneSymbol <- function(pch=0){
> gTree(children=gList(
>
2009 May 21
1
size of point symbols
Dear list,
This might be a topic for r-devel but i may be missing something
obvious.
I don't understand the rationale in the absolute sizes of the point
symbols, and I couldn't find it documented. The example below uses
Grid to check the size of the symbols against a square of 10mm x 10mm.
> checkOneSymbol <- function(pch=0){
> gTree(children=gList(
>
2008 Jul 25
3
melting a list: basic question
Dear list,
I'm trying to use the reshape package to perform a merging operation
on a list of data.frames as illustrated below,
> a <- 1:10
> example <- list( data.frame(a=a, b=sin(a)), data.frame(a=a,
> b=cos(a)) )
>
> melt(example, id = a)
this produces the desired result, where the data.frames have been
coerced into one with a common identifier variable
2008 Apr 03
1
data.frame or list
Dear R list,
I'm having difficulties in choosing between a list or a data.frame,
or an array for the storage and manipulation of my data (example
follows). I've been using the three for different purposes but I
would rather like to know which is more adapted to what task.
Here is the data I'm currently working on: 200 observations, each
observation being a vector of length
2008 Dec 02
1
legend idea for latticeExtra
Dear list,
I've written a small utility function to add arbitrary legend(s) to a
lattice graph (or a combination of them), much like the legend
function of base graphics. I though perhaps it could be useful to
someone else, or improved by suggestions. I understand this goes
against the lattice paradigm somewhat, in that you short-cut the link
between group variables and the
2009 Mar 25
2
"[.data.frame" and lapply
Dear all,
Trying to extract a few rows for each element of a list of
data.frames, I'm puzzled by the following behaviour,
> d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5)))
> str(d)
>
> lapply(d, "[", i= c(1)) # fine, this extracts the first columns
> lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?!
>
> library(plyr)
2009 Mar 25
2
"[.data.frame" and lapply
Dear all,
Trying to extract a few rows for each element of a list of
data.frames, I'm puzzled by the following behaviour,
> d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5)))
> str(d)
>
> lapply(d, "[", i= c(1)) # fine, this extracts the first columns
> lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?!
>
> library(plyr)