Displaying 20 results from an estimated 30000 matches similar to: "R CMD check in Vista"
2011 Nov 15
5
Convert back to lower triangular matrix
Given a vector;> ab = seq(0.5,1, by=0.1)> ab[1] 0.5 0.6 0.7 0.8 0.9 1.0
The euclidean distance between the vector elements is given by the lower triangular matrix > dd1 = dist(ab,"euclidean")> dd1 1 2 3 4 52 0.1 3 0.2 0.1 4 0.3 0.2 0.1 5 0.4 0.3 0.2 0.1 6 0.5 0.4 0.3 0.2 0.1
Convert the lower triangular matrix to a full
2011 Oct 14
3
Split a list
I have a list of dataframes i.e. each list element is a dataframe with three columns and differing number of rows. The third column takes on only two values. I wish to split the list into two sublists based on the value of the third column of the list element.
Second issue with lists as well. I would like to reduce each of the sublist based on the range of the second column, i.e. if the range of
2010 Feb 28
4
Reducing a matrix
I wish to rearrange the matrix, df, such that all there are not repeated x values. Particularly, for each value of x that is reated, the corresponded y value should fall under the appropriate column. For example, the x value 3 appears 4 times under the different columns of y, i.e. y1,y2,y3,y4. The output should be such that for the lone value of 3 selected for x, the corresponding row entries
2008 Oct 19
2
R CMD build on Vista
Hello,
I have R 2.7.2 and RTools 2.8 on a vista pro computer. On my computer R CMD
build changes the file names : all capital letters are transformed into
lowercase letters (for instance the DESCRIPTION file is changed in
'description'). What can I do to correct this problem?
Tank you,
Ollivier TARAMASCO
[[alternative HTML version deleted]]
2010 Mar 12
2
Handling repeated values differently
mat is a matrix with X and Y values.
> mat
X Y
[1,] 56 20
[2,] 56 21
[3,] 2 50
[4,] 3 46
[5,] 18 77
[6,] 57 12
[7,] 57 36
[8,] 95 45
[9,] 65 23
[10,] 33 25
[11,] 33 98
[12,] 63 96
[13,] 66 75
[14,] 99 54
[15,] 78 65
[16,] 75 69
[17,] 54 68
[18,] 54 67
[19,] 0 22
[20,] 14 74
[21,] 15 52
[22,] 46 10
[23,] 6 20
[24,] 6 30
As you can see, some of the X values repeat. I wish
2010 Feb 25
2
Rearranging entries in a matrix
I have a matrix, called data. I used the code below to rearrange the data such that the first column remains the same, but the y value falls under either columns 2, 3 or 4, depending on the value of z. If z=1 for example, then the value of y will fall under column 2, if z=2, the value of y falls under column 3, and so on.
data
x y z
[1,] 50 13 1
[2,] 14 8 2
[3,] 3 7 3
[4,] 4 16 1
[5,] 6
2008 Dec 07
1
Compile Packages on vista
Hi
I''m trying to compile R packages on my vista (I''m very new on vista...). I
installed Rtools, RExcel on a specific folder: c:\Rtools and gave full
access. Unfortunately, I am still unable to compile any packages (may be
still because of the security properties of vista). I checked several
mailing list/forums/website but I did not found any solution. Does anybody
have the
2007 Sep 20
1
SHLIB problem under Vista
Hi all,
I'd like to distribute an R package that compiles some (small) C functions
every time it's sourced. The relevant code in the top level R script is as
follows:
system("R CMD SHLIB Selma_extensions.c")
if (.Platform$OS.type=="windows") {
slash = '\\'
dyn.load("Selma_extensions.dll")
}
if (.Platform$OS.type=="unix") {
2011 Dec 05
1
plot mixed variables
My data consists of a numeric (yy)
variable and a categorical (xx) variable, as shown below.
xx =
c(rep("C", 5), rep("D",5))
yy = rnorm(10, 0, 4)
xx1 =
as.integer(as.factor(xx))
plot(xx1, yy, ylim =
c(-13.5, 4), col="blue")
I
wish to generate a scatter plot of the data such that instead of 1 it prints C,
and instead of 2, it prints D on the x- axis.
2010 Mar 30
1
SHLIB not working (Win Vista)
Dear R-helpers,
I tried to build a DLL like I have done so many times, but this time
on my new machine, but it gives the erorr:
(from cmd window)
>R CMD SHLIB Boxcnt.f
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error c:/PROGRA~1/R/R-210~1.1/share/make/winshlib.mk 4: Command syntax error
*** 1 errors during make ***
The error is not in my Fortran file, because I also tried other files
2011 Nov 15
1
Convert full matrix back to lower triangular matrix
Given a vector;> ab = seq(0.5,1, by=0.1)> ab[1] 0.5 0.6 0.7 0.8 0.9 1.0
The euclidean distance between the vector elements is given by the lower triangular matrix > dd1 =
dist(ab,"euclidean")> dd1 1 2 3 4 52 0.1 3 0.2 0.1 4 0.3 0.2 0.1 5 0.4 0.3 0.2 0.1 6 0.5 0.4 0.3 0.2 0.1
Convert the lower triangular matrix to a full
2008 Mar 20
2
Cygwin and Rtools
I have just got a new machine and had a basic cygwin installed before it
was given to me. It didn't include make. Previously I have installed
Rtools to build packages and now I have got myself a bit confused as to
whether to just install make from the cygwin packages or to install
rtools. I would welcome any advice. I had a look at the rtools section in
the Administration Manual and the
2009 Sep 18
1
Package crashes R under Windows Vista
Dear all,
Please, please I really need your help, since I am not able to solve the
problem myself:
It seems that until now most Windows users of my Bioconductor package
"xps" use Windows XP, but recently a user tried to use it on Windows
Vista where it crashed R immediately. Since I assume that some users may
migrate to the upcoming Windows 7 where the problem will be the same, I
2007 Sep 07
1
Rcmd install on Vista
Has anyone successfully used Rcmd install or Rcmd check on
Windows Vista? I have been successfully been running R itself,
just not Rcmd install and Rcmd check.
Rcmd check fails, the Ryacas.Rcheck it creates is
read-only, I don't have permission to delete it and I have
to reset the permissions on it just to delete it.
With Rcmd install I am getting the following which looks like I
am running
2010 Mar 05
2
Selecting rows of a matrix based on some condition on the columns
The data set consists of two sets of matrices, as labelled by the columns, T's and C's.
> xy
x T1 T2 T3 T4 T5 C1 C2 C3 C4 C5
[1,] 50 0.00 0.00 33.75 0.00 0.00 0.00 36.76 0.00 35.26 0.00
[2,] 13 34.41 0.00 0.00 36.64 32.86 34.11 35.80 37.74 0.00 0.00
[3,] 14 35.85 0.00 33.88 36.68 34.88 34.58 0.00 32.75 37.45 0.00
[4,] 33 34.56
2009 Sep 04
1
Windows Check/Build Configuration
I recently submitted a package on CRAN. When I went to update the package, I tried to do the check/build procedures on a system with Windows XP, using the recommended R-tools available from Dr. Ripley (Rtools29).
Everything works fine in the check and build process except under Windows XP the pdf manual is not generated? The check procedure does, in fact, check the read files for correct syntax
2010 Jul 21
3
Problem with invoking R from the command line (Windows Vista)
Dear all
I am running in a problem when trying to run R from Windows command line.
I am runnning Windows Vista, R-2.10.1.
I have a script I would like to run remotely from another program. As it did
not work, I thought I would test the script from the Windows command line
which highlighted a problem.
When I open the command line and type R at the prompt (or any other variant
(R CMD BATCH,
2011 Jun 30
2
error building package: packaging into .tar.gz failed
I am trying to build a package using windows xp. Here is the error I am getting:
R CMD build myfunctions
* checking for file 'myfunctions/DESCRIPTION' ... OK
* preparing 'myfunctions':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'myfunctions_1.0.tar.gz'
2007 Sep 03
3
Windows Vista Issues
This is a repost of a simple question about Windows Vista and R (with
answer), along with a heads-up on other Windows Vista issues that people may
not be aware of and that may impact R development.
1. The standard package install process fails because the user does not
have permission to write to Program Files/R/R-version/library. Apparently
the install process has already been modified to give
2011 Nov 17
2
RV: Reporting a conflict between ADMB and Rtools on Windows systems
De: Rubén Roa
Enviado el: jueves, 17 de noviembre de 2011 9:53
Para: 'Users@admb-project.org'
Asunto: Reporting a conflict between ADMB and Rtools on Windows systems
Hi,
I have to work under Windows, it's a company policy.
I've just found that there is a conflict between tools used to build R packages (Rtools) and ADMB due to the need to put Rtools compiler's