similar to: library(fields) world shift function not working anymore

Displaying 20 results from an estimated 4000 matches similar to: "library(fields) world shift function not working anymore"

2004 Dec 02
0
image() or plotting functions or something else broken in 2.0.1 on OS X?
Hello. I just upgraded to 2.01 on Mac OS 10.3.6. I used to use the image() function in 1.9.x. Now, running the example code from the image() help page gives me the following error: > x <- y <- seq(-4*pi, 4*pi, len=27) > r <- sqrt(outer(x^2, y^2, "+")) > image(z = z <- cos(r^2)*exp(-r/6), col=gray((0:32)/32)) 2004-12-02 10:35:27.815 R[2649] *** Assertion
2005 Jun 09
1
Subassignments involving NAs in data frames
I'm seeing some inconsistent behavior when re-assigning values in a data frame. The first assignment turns all of the 0s in my data frame to 2s, the second fails to do so. > df1 <- data.frame(a = c(NA, 0, 3, 4)) > df2 <- data.frame(a = c(NA, 0, 0, 4)) > df1[df1 == 0] <- 2 ## Works > df2[df2 == 0] <- 2 Error: NAs are not allowed in subscripted assignments Checking an
2005 Apr 03
1
Error: NAs are not allowed in subscripted assignments: change from R.1.9
Hi, There seems to be a change in 2.0.1 in the workings of subscript assignments with missing values. # This is R.2.0.1 # assignment w/ missing index doesn't work when right-hand-side is a matrix. It did work in 1.9.1 > x = matrix(1, 2, 2); x[c(1,NA),] = x Error: NAs are not allowed in subscripted assignments # it does work for a vector > x = matrix(1, 2, 2); x[c(1,NA),] = 1 Is this
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
## Hello.. I have asked a similar question, but this is not fixed as before. ## I am running the following using Ubuntu OS: R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) ## when I do this: > install.packages("mapproj", dependencies=T) ## I get this: Installing package(s)
2003 Nov 05
3
map does not display maps, MacOSX
Hi, I installed the maps and mapdata libraries on my R-1.8.0 on MacOSX 10.2.8 (jaguar on a powerbook G4), and failed to make the map function work properly: R : Copyright 2003, The R Development Core Team Version 1.8.0 (2003-10-08) [...] > library(maps) > map() Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file
2002 Oct 08
2
tru64 unix openssh-3.4p1 problems
Hi, I'm attempting to get openssh-3.4p1 up and running on our DEC/Compaq Alpa workstations. They are running Tru64 Unix 5.1A. I compile the package myself. Openssh-3.1 worked perfectly, with the default sshd_config file. Openssh-3.4p1 works, if I set UsePrivilegeSeparation to "no" in the sshd_config file. NOTE: I have a secondary issue with the ListenAddress default setting
2020 Aug 06
2
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
I understand how to control the first local channel, but an having trouble getting the second local channel to enter stasis. I setup have the following extensions.conf to handle 1000 (basically had it setup so if first stasis not there try second, but believe second channel never processes the dial plan so even if second line was hello-world2 it would not matter. [mycontext] exten =>
2007 May 13
1
factanal
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070513/f07553e9/attachment.pl
2009 Jan 08
1
NAs are not allowed in subscripted assignments
Browse[1]> j <- c(1,2,NA) Browse[1]> j[j==1][-1] [1] NA Browse[1]> j[j==1][-2] [1] 1 Browse[1]> j[j==1][-2] <- 2 Error during wrapup: NAs are not allowed in subscripted assignments As far as I can see, I have no NA in the lhs (not after the second subscript anyway). Besides, I have a single value on the rhs, so it should be allowed to have NAs in the lhs, according to
2004 Sep 04
1
Inconsistencies in subassignment (PR#7210)
I have made the 3-d case do the same as the vector case, which is what the C code clearly intended (a goto label was in the wrong place). This leaves the bigger question of the right thing to do. I note that data frames give an error when any indices are NA. -thomas On Fri, 3 Sep 2004 ripley@stats.ox.ac.uk wrote: > Apart from the inconsistencies, there are two clear bugs here: > > 1)
2004 Nov 18
4
adjusting the map of France to 1830
I'm doing some analyses of historical data from France in 1830 on 'moral statistics' that I'd like to show on a map. I've done most of my analyses in SAS, but a few things would work better in R. To do this, I have to adjust the modern map, library(maps) map('france') to adjust for changes in departments (86 in 1830, to 97 now). I've read the documentation
2017 Jun 25
2
Writing my 3D plot function
Hi all,I had a question last week on asking for a function that will help me draw three different circles on x,y,z axis based on polar coordinates (Each X,Y,Z circle are coming from three independent measurements of 1-360 polar coordinates). It turned out that there ?is no such function in R and thus I am trying to write my own piece of code that hopefully I will be able to share. I have spent
2017 Jun 25
0
Writing my 3D plot function
Please look at what I see in your code below (run-on code mush) to understand part of why it is important for you to send your email as plain text as the Posting Guide indicates. You might find [1] helpful. [1] https://wiki.openstack.org/wiki/MailingListEtiquette -- Sent from my phone. Please excuse my brevity. On June 25, 2017 2:42:26 PM EDT, Alaios via R-help <r-help at r-project.org>
2004 Dec 16
1
Problem with postscript graphics device driver
I recently installed R version 2.01 for OS X (version 10.3.6). I now get the following error message when I try to use the postscript function: Error in get(name.opt, envir = envir) : Object ".PSenv" not found This did not happen in previous versions of R (i.e. 1.9). I do not get this error message when using the pdf graphics device driver. Thanks, Jeff Freedman
2004 Nov 09
2
3.0.8 build failure OS X 10.3.6
I am trying to build 3.0.8 Release on OS X Server 10.3.6 as the latest version of samba installed with the 10.3.6 update (3.0.5) has broken our backup strategy which has a Windows server backing up SAMBA/SMB volumes ( this issue is noted in Dantz Retrospect KB and the solution is to upgrade to SAMBA 3.0.6+). We use the OS X server as a PDC. After a ./configure; make Using FLAGS = -O
2012 Nov 30
3
(no subject)
Hello R usuer, The code given below superimposes a pie diagram on another plot containing some points. However, I would like to center the pie diagram on the xy location on the plot, but not on the center. is there any way to re-center pic diagram. Any suggestion or better alternative are highly appreciated. Thank you in advance for your help. Regards, Bibke library(visualFields) library(car)
2007 Mar 18
2
ticks labels and R
Hi, I have plot a graphics by next way: par(mar=c(5,5,1,1), font.axis=3, ps=14, xaxs="i", yaxs="i", lab=c(18,18,7), font .lab=3); plot(l, b, type="n", xlim=c(0,360), ylim=c(-90,90), xlab="l, deg", ylab="b, deg"); points(l, b, cex=vel/60, col=1, pch=21); On this plot I have axis x (denoted by l) ranged in [0,360] with labeling step 20. But I
2005 Jul 25
2
alaska map?
Hello, I've installed the Becker and Wilks maps, mapdata, and mapproj packages so I can begin to try these out for some work I need to do on a map of Alaska but I don't know where to find a map of Alaska. Has anyone solved this already and could help? Thanks very much in advance, Caitlin
2008 Nov 07
1
help with maps : center on the dateline
Hi, I'm trying to plot a map of the pacific ocean, centered on the dateline, using the maps package. library(maps) # Basic library to draw maps library(mapdata)# Library with specialized maps library(mapproj) map(database = "world", fill = TRUE, col = 1, plot = TRUE,add=F, xlim = c(120,300), ylim = c(-20,40)) I tried several different combinations of coordinates, but whatever
2004 Nov 07
2
Symlink file syncing issue
Hi! I've been attempting to use rsync to sync a set of files between my laptop and my desktop. I've tried using google to search the archives, but didn't find anything that addressed this issue exactly... First of all, here are the details of how I have things set up. Server acting as the intermediary: OS: Mac OS X Server 10.3 rsync: 2.6.2 Laptop: OS: Mac OS X 10.3.6 rsync: 2.6.2