similar to: postscript image problem (PR#6763)

Displaying 20 results from an estimated 1000 matches similar to: "postscript image problem (PR#6763)"

2008 Apr 25
1
package compilation: including external libraries in windows compilation
Dear R package developers: I need help on getting a package compiled for windows. I am trying to use definitions and routines from a set of libraries in that are in LINUX under #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> but these are unavailable in windows. I found that we can get these by including, in windows these
2007 Feb 26
3
PLotting R graphics/symbols without user x-y scaling
Is it possible to add lines or other user defined graphics to a plot in R that does not depend on the user scale for the plot? For example I have a plot plot(x,y) and I want to add some graphic that is scaled in inches or cm but I do not want the graphic to change when the x-y scales are changed - like a thermometer, scale bar or other symbol - How does one do this? I want to build my own
2011 Mar 25
4
read.xls -> rotate data.frame
Hi to all, how could I to rotate automatically a data sheet which was imported by read.xls? x1 x2 x3 .... xn y1 1 4 7 ... xn/y1 y2 2 5 8 .... xn/y2 y3 3 6 9 ....xn/y2 yn ... ... ... Xn/Yn to y1 y2 y3 .... yn x1 1 2 3 ..... Yn/x1 x2 4 5 6 .... Yn/x2 x3 7 8 9 .... Yn/x2 xn ... ... ... ..... Yn/xn Kind regards Knut
2004 Aug 20
1
problem with R start up MASS and family?
Dear fellow R-users: Is this a BUG? R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.1 (2004-06-21), ISBN 3-900051-00-3 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors.
2010 Sep 26
1
compare a vector and a row of a matrix
From: xxgreat@hotmail.com To: r-help-bounces@r-project.org Subject: compare a vector and a row of a matrix Date: Sun, 26 Sep 2010 23:23:52 +0800 Hi Everyone: I am trying to compare a vector and rows of a matrix for example > xn <- c(1,2,4,4,5,5,5,6) >yn <- c(1,2,5,7,1,2,3,1) >mtrx <- cbind(xn, yn) when I tried, say, > c (1,4), the result was TRUE, TRUE.
2004 Sep 15
0
RWAVE axis notation
I am using Rwave wavelets and I need better axis notation. Does anyone have code similar to matlab's centfreq or scale2frq functions that turn a scale for a wavelet transform into a good looking scale to plot on my wavelet transfoms? I am using the rwave package to investigate seismic signals from an exploding volcano. Jonathan Lees -- ==========================================
2012 Feb 23
5
cor() on sets of vectors
suppose I have two sets of vectors: x1,x2,...,xN and y1,y2,...,yN. I want N correlations: cor(x1,y1), cor(x2,y2), ..., cor(xN,yN). my sets of vectors are arranged as data frames x & y (vector=column): x <- data.frame(a=rnorm(10),b=rnorm(10),c=rnorm(10)) y <- data.frame(d=rnorm(10),e=rnorm(10),f=rnorm(10)) cor(x,y) returns a _matrix_ of all pairwise correlations: cor(x,y)
2011 Mar 09
4
Extracting only odd columns from a matrix
Hi, This might seem like a simple question but at the moment I am stuck for ideas. The columns of my matrix in which some data is stored are of this form: X1 Y1 X2 Y2 X3 Y3 ... Xn Yn with n~100. I would like to look at just the X values (i.e. odd column numbers). Is there an easy way to loop round extracting only these columns? Any help would be appreciated.
2012 Oct 10
3
Generating random geographical coordinates
Dear all, I have two coordinates vectors, say X and Y of length n. I want to generate for each couple of coordinates X1,Y1 X2,Y2 X3,Y3....Xn,Yn a random coordinate which is located in a square define as X +/- dx and Y +/- dy. I saw the runif function which can generate for just one value at a time what I want : runif(1, X - dx, X + dx) for X and runif(1, Y - dy, Y + dy) for Y. I would like
2009 Dec 15
1
Help in R
Hello, Can anyone give me some suggestion in term of calculating the sum below. Is there a function in R that can help doing it faster? x1, x2, ...xn where xi can be 0 or 1. I want to calculate the following: sum{ beta[a+sum(xi), b+n-sum(xi) ]* [ (1-x1)dnorm(0,1)+x1dnorm(2,1) ]* [ (1-x2)dnorm(0,1)+x2dnorm(2,1) ]* ...* [ (1-xn)dnorm(0,1)+xndnorm(2,1) ] } The sum in the beginning is over all
2023 Feb 23
2
Possible NA Propagation Failure in RISC-V64 CPU?
Hi all, I am currently compiling R to RISC-V64 CPU and I think I have discovered a NA propagation failure. How R implements NA (not available) and NaN (not-a-number) is explained in detail here: https://stat.ethz.ch/pipermail/r-devel/2014-February/068380.html. In short, according to my understanding of R's convention, any calculation involving NA but no NaN should result in NA (called NA
2010 Dec 26
2
What is the best way to lag a time series?
Dear R-users, I've been using R for a while and I am very satisfied! Unfortunately, I still have not figured out an efficient and general way to construct and use lags of time series, especially when I need to work with different packages. Let me give an example. I have two time series x and y and I want to estimate a variaty of distributed lags models and run different tests
2010 Aug 20
5
paired samples, matching rows, merge()
Hi everyone! I'm matching two samples to create one sample that have pairs of observations equal for the k1 variable. Merge() doesn't work because I dont't want to recycle the values. x <- data.frame(k1=c(1,1,2,3,3,5), k2=c(20,21,22,23,24,25)) x y <- data.frame(k1=c(1,1,2,2,3,4,5,5), k2=c(10,11,12,13,14,15,16,17)) y merge(x,y,by="k1") k1 k2.x k2.y 1 1 20
2009 Aug 14
7
"sudo gem install rails" not able to install thin dependency
Hi folks, I''m having trouble getting gems to install rails. It just keeps asking me which version of thin I want to install. Until I choose skip or cancel, in which case I''m told that something has gone wrong. Any advice? Thanks kindly, Tommy PS: Gems is 0.94. --------------------------------------------------------------------- tommy@tommy-laptop:~/www/blog$ sudo gem
2011 Mar 04
2
Reading in and manipulating multiple data sets from the same input file
Hi, I am attempting to write code which will read in my data which is of this form: X1 Y1 X2 Y2 .... Xn Yn 0 0 0 0 0 0 1 0 1 255 1 0 2 255 2 0 2 255 3 0 3 0
2005 Mar 02
2
Problems installing gems using rails
Hello I''m trying to use rubyonrails, but had some troubles: First, there was an issue with gems (it did not finished the installation): # gem install rails Config file /root/.gemrc does not exist Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for:
2007 Dec 26
1
Can you recover default argument values of a function?
Hi. Maybe this is a stupid question. If so, I apologize, but here goes. Suppose I have a function f1(x,...) that calls a function f2(y1,y2,...,yn) in the following way: if x satisfies a certain condition, then I want to call f2(x,y2,...,yn); otherwise I want to use the default value of y1, if there is one. I could do something like the following: v <- ifelse ( is.null(x), f2( , y2,...,
2009 Jun 02
1
plot 4th variable contour lines on filled.contour
Hello, I have a dataset with 4 variables, each consisting of a vector, all with the same length. I start by interpolating the first three variables using the function "interp", and plot the interpolation successfully using "filled.contour". I then interpolate the first two variables and a fourth using "interp" again, but when I try to overlay the contour lines
2008 Dec 11
3
getting ISO week
Hi all, Is there a simple function already implemented for getting the ISO weeks of a Date object? I couldn't find one, and so wrote my own function to do it, but would appreciate a pointer to the "default" way. If a function is not yet implemented, could the code below be of interest to submit to CRAN? Best Regards, Gustaf --------------------
2019 May 08
3
[R] approx with NAs --> new argument 'na.rm=TRUE' ?!
>>>>> Robert Almgren >>>>> on Fri, 3 May 2019 15:45:44 -0400 writes [ __ to R-help __ -- here diverted to R-devel on purpose] > There is something I do not think is right in the approx() > function in base R, with method="constant" and in the > presence of NA values. I have 3.6.0, but the behavior > seems to be the same in