Displaying 20 results from an estimated 1000 matches similar to: "R 2.1.0 for Windows installation error? atanh not in R.dll?"
2005 Apr 21
0
DOH! RE: R 2.1.0 for Windows installation error? atanh not in R.dll?
I'm sorry to waste bandwidth. I re-read the console message for the tenth time and finally noticed R was looking in rw2001pat for libraries. Looking at my Env vars I see I set R_LIBS to look there. Changed R_LIBS, fixed problem.
DOH!
So now if I want to use several versions of R simultaneously, what do I do.
I set R_LIBS so it would look also in C:/R/extra for some added packages.
Thanks and
2005 Apr 25
2
Installing packages, again
Hi again,
I've just uninstalled R2.01 and installed the new R2.10 on my WindowsXP
machine. I then attempted to install the vegan package from source
files, as I learned to do last week, with the help of some of you. I
have updated my path variable to the new R directory (R/rw2010/bin
instead of R/rw2001pat/bin), and I've still got the HTMLHelpWorkshop
files installed, as well as Perl
2005 Nov 16
1
COM dates (was origin and "origin<-" in chron)
I was just looking for an easy way to convert between COM datetime and
chron datetime (both ways.)
I found examples on the list, but they involved origin.
Does anyone have functions for converting COM datetime <-> chron
datetimethat work "safely"?
David L. Reiner
> -----Original Message-----
> From: Gabor Grothendieck [mailto:ggrothendieck@gmail.com]
>
2005 May 06
4
Choices from a matrix
Could someone please suggest a more clever solution to the following problem than my loop below?
Given X a 2xN matrix X, and I a k-subset of N,
Generate the (2^k)xN matrix Y with columns not in I all zero and the other columns with all choices of an entry from the first or second row of X.
For example, with
X <- matrix(1:8, nrow=2)
I <- c(1,3)
X is
1 3 5 7
2 4 6 8
and Y should be
1 0 5
2004 Nov 08
1
can one evaluate an expression in a comment? (or insert resultsinto history?)
But that doesn't put the result into the history buffer, to be written
to a file only later when I savehistory(filename).
Bert Gunter also suggested ?capture.output and ?textConnection,
but I cannot see how to get text into the history buffer as comments,
but with evaluated expressions (values).
I know how to use paste, sink, write, etc. but nothing that I can see
inserts into the history
2004 Sep 13
2
Can I find the datetime an object was last assigned to/saved?
I'm using v 1.9.1 under Windoz XP.
Can I do the equivalent of "ls -l" on my R objects? R's "ls()" lists
only the names.
Thanks!
David L. Reiner
Rho Trading
440 S. LaSalle St -- Suite 620
Chicago IL 60605
312-362-4963 (voice)
312-362-4941 (fax)
[[alternative HTML version deleted]]
2004 Sep 29
2
How to print landscape from script in Windows: dev.print(win.print, printer="local printer name", ...) does not accept horizontal=TRUE
This is a windows-specific question.
After generating a plot, I can print from scripts or the command line
with
> dev.print(win.print,printer="local windows printer name")
I would like to print in landscape mode. From the menus, I can
accomplish this by changing the properties of the printer before
clicking "print".
However, I tried adding
2005 Apr 28
1
standard errors for orthogonal linear regression
Could someone please help me by giving me a reference to how one computes standard errors for the coefficients in an orthogonal linear regression, or perhaps someone has some R code? (I would accept a derivation or formula, but as a former teacher, I know how that can rankle.) I tried to imitate what's done in the code for lm() but went astray somewhere and got nonsense.
(This type of
2004 Nov 08
1
can one evaluate an expression in a comment? (or insert results into history?)
I'd like to insert (for example) the current datetime into a comment so
it goes into the history.
I can of course cut and paste the results of date() into a comment line,
but it would be easier and more powerful to be able to type something
like
> hstamp()
and have it go into the history.
More generally, I would like to put any expression to be evaluated into
this function.
For
2005 Nov 15
1
origin and "origin<-" functions on chron
I'm trying to use/modify some code I found (at Omegahat, but I've seem similar usage elsewhere.)
It contains the lines:
if(any(origin(chronDate)!=orig))
origin(chronDate) <- orig
Let's say:
> require("chron")
[1] TRUE
> chronDate <- chron("11/15/2005", format="m/d/y", origin.=c(12,31,1899))
> orig <- c(month=12, day=31,
2005 Jun 19
1
Creating a R package for Windows XP
Hi:
I'm trying to create a package to pass to someone else to use a group of
functions with help files. I'm working on Windows XP.
Step One: I use the example
> ## two functions and two "data sets" :
> f <- function(x,y) x+y
> g <- function(x,y) x-y
> d <- data.frame(a=1, b=2)
> e <- rnorm(1000)
>
>
2005 Aug 29
2
FW: RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve
that appear to suite my requirements but I'm facing some configuration
problems.
I' following the web page tutorial
(http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above
problem:
C:\Program Files\R\rw2010\bin>R CMD RSERVE
Can't open perl script "C:\PROGRA~1\R\rw2010/bin/RSERVE":
2005 Apr 21
1
Installing packages from source code
Hi everybody,
I have trouble in installing packages from source code by following Section
5.1 in manual R-admin.pdf . I am using R 2.1.0 and Win NT.
Following the Windows toolset section in the manual, I download the tool
set package from: http://www.murdoch-sutherland.com/Rtools/tools.zip
and unzip under C:\tools
I also downloaded Perl (Windows Port) and installed it.
2005 Jul 06
1
pretty for date-time?
pretty() works well for numbers and axTicks() can help for potting log axes,
but has anyone written a pretty for chron objects (or other date or date-time classes)?
It would have natural units of years, months, .., days, hours, (minutes?), and
it would choose the appropriate unit based on the date(time) range.
I have searched the archives and documentation to no avail.
(I wrote one of these back
2005 Aug 29
1
RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve
that appear to suite my requirements but I'm facing some configuration
problems.
I' following the web page tutorial
(http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above
problem:
C:\Program Files\R\rw2010\bin>R CMD RSERVE
Can't open perl script
2005 Apr 23
1
RCMD check error windows
Dear Lister,
I am working with Windows XP and R 2.1.0 and can check and build
home-made packages easily (just *.r, *.rmd, *.rda files, no compiled
code). However for some reasons, I cannot check or build the package
'foreign' from the source (I took it as an exercise...). After some
lines of sentences OK (here omitted and replaced by ...), I get a
message like this:
RCMD check
2005 Jun 07
1
update.packages keeps trying to update gregmisc
If I issue the command
> update.packages()
it wants to update 'gregmisc' but then if I do it again right afterwards it
still wants to update 'gregmisc'. It should have updated everything
the first time and should not be trying to update anything the second
time. Any comments?
Here is the transcript of a session (R version at end):
> update.packages()
gregmisc :
2006 Jan 10
1
R CMD not recognized at command-line
Hi,
I am trying to run a batch command on Windows XP and R CMD is not
recognized. I get the error,
"'R' is not recognized as an internal or external command, operable program
or batch file."
I have "C:\Program Files\R\rw2010\bin" in my $PATH variable and Rcmd.exe
has been installed in that folder. I have restarted the computer to make
sure any changes in the $PATH
2006 Jul 24
3
unique, but keep LAST occurence
?unique says
Value:
An object of the same type of 'x'. but if an element is equal to
one with a smaller index, it is removed.
However, I need to keep the one with the LARGEST index.
Can someone please show me the light?
I thought about reversing the row order twice, but I couldn't get it to work right
(My data frame has 125000 rows and 7 columns,
and I'm
2005 Jun 08
3
install package "snow"
Hi,
I have difficulty in installing package "snow" from
CRAN. Somehow, this package is not shown up in the
available package list when I tried to use the GUI
interface. So I have to go to CRAN to download the
source file: snow_0.2-1.tar.gz. Then I tried to
install it using the following command:
> install.packages(repos=NULL, pkgs='C:\Documents and