similar to: Giving a first good impression of R to Social Scientists

Displaying 20 results from an estimated 600 matches similar to: "Giving a first good impression of R to Social Scientists"

2004 Aug 12
4
truly object oriented programming in R
Good morning! I recently implemented a KD tree in JAVA for faster kernel density estimation (part of the code follows). It went well. To hook it with R, however, has proved more difficult. My question is: is it possible to implement the algorithm in R? My impression seems to indicate no as the code requires a complete class-object framework that R does not support. But is there an R package or
2013 Feb 21
2
error with bbox for k12hat (splancs) bivarite k-function
Hello, I am trying to conduct a bi-variate ripley's k using the k12hat function in the splancs package (found here http://rss.acs.unt.edu/Rdoc/library/splancs/html/k12hat.html). Although, I receive an error when getting to the bboxx part of the code: poly <- list(x=c(fire4$X, nar4$X), y=c(fire4$Y, nar4$Y)) plot(seq(5,80,5), sqrt(k12hat(fire4), as.points(nar4),
2011 Dec 07
2
How to scale arrows to approximately fill a plot region?
In a variety of graphic applications, I plot some data, together with arrows representing variables or linear transformations of variables as vectors in the same space, as in a biplot. In my applications, the scale of the arrows is arbitrary -- all that matters is relative length. I'd like to blow them up or shrink them to fit the available space in the plot. The origin is typically at
2003 Sep 18
2
Place a graphic into an R-plot
I have a graphic image in a file (say a *.jpeg or *.png file) and want to put it into a plot. I have segmented the plot area by means of the layout function and successfully plotted my data in the appropriate segments. I cannot find how to put my graphic image onto the same plot. Searching the archives has shed little light on my challenge. Many thanks in anticipation. Gordon > version
2012 Jul 12
2
trellis margin sizes in absolute units
Dear R users, I have a lot of experience with traditional R graphics, but I decided to turn to trellis as it was recommended for spatial graphs by the sp package. In traditional R graphics I always first set the size of the device region absolute units (e.g. mm) and then I firmly fix the inner margins with mai and the outer margins with oma also in absolute units. What is left from the device
2012 Mar 16
1
ggmap crash
Not sure if this is the right place to report this, but: Am using ggmap to generate a map of a bounding box from 161 latitude/longitude pairs and the code crashes R (in ess). Data is at http://analysis.d8u.us/~hdiwan/plotSource.csv and the code to read it is below. I'm not sure if ess, emacs, ggmap, R, or my laptop is to blame. Here's the code: > rmc <-
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck Version: R version 2.1.0, 2005-05-14 OS: Windows XP Submission from: (NULL) (216.59.254.207) This code: > plot(1:10) > text(5,5,lab=expression(italic(22*"33"))) has the effect of italicizing 33 (which is a character string) but not 22 (which is not). I would have thought that both, not just 33, would be italicized. I had previously posted about this
2006 Jun 12
2
Pdf::Witer question
Does anyone knows how to embed Type1 font with PDF::Writer? I read manual, tried everything but nothing seems to work (The font ''FontName'' contains a bad /BBox error on PDF). any help or hint would be really appreciated, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab:
2011 Apr 25
1
Defining origin for rotation in RGL device
Hi all, How can I tell RGL to set the center for the rotation to the origin of the coordinate system (0,0,0). It seems that the default is to use the center of the display not the origin of the coordinate system. open3d() lines3d(c(0, 1), c(0,0), c(0,0)) lines3d(c(0,0), c(0, 1), c(0,0)) lines3d(c(0,0), c(0,0), c(0, 1)) TIA Mark ??????????????????????????????????????? Mark Heckmann Blog:
2012 Jan 09
1
Open Street map problem
Dear all, I would like to use R to create a map , with some points with no copyright. I am trying to use the open street map interface of Rgooglemaps package. It seems that I am getting internal server error source('make2DaysMaps.R') [1] "http://tile.openstreetmap.org/cgi-bin/export?bbox=-74.02132,40.69983,-73.98622,4072595&scale=20&format=png" versuche URL
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
Hi, I would need some help with the splans package in R. I am using a Shapefile (downloadable at) http://rapidshare.com/files/215206891/Redlands_Crime.zip and the following execution code setwd("C:\\Documents and Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crime") library(foreign) library(splancs) auto_xy<-read.dbf("Auto_theft_98.dbf")
2011 Aug 02
2
SSO's availability
Hello all, I will introduce myself, I'm french, about 34 years old and works for a mechanic company. I've discovered linux in 2006 and I'm really enjoyed by all the things that can be done with. Now this is questions : Is it possible to configure a system of authentication based on SSO samba (and certainly ldap and lot of others things) ? Is it possible to do this without any
2007 Dec 22
1
Ajax.Updater and JavaScript functions
Hello all, I have a script that uses a Ajax.Updater call to update the contents of a DIV. The code being inserted includes a javascript function, which is "called" by onClick event elsewhere in the HTML. The page initially works fine in that the DIV gets the right content, the Javascript inserted works fine. The problem I have is that if I call the Ajax.Updater again then the
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
Hi, I ran into the following peculiarity involving S4 method dispatch and namespaces. I develop a package which have a namespace and which depends on 'pixmap' package, which itself does not have a namespace. Now, in my package I have a class which has a slot for objects from class "pixmap" and I want to have a "plot" method for this new class. Not to clutter the
2018 Jan 24
1
Split brain directory
Hello, I'm trying to fix an issue with a Directory Split on a gluster 3.10.3. The effect consist of a specific file in this splitted directory to randomly be unavailable on some clients. I have gathered all the informations on this gist: https://gist.githubusercontent.com/lucagervasi/534e0024d349933eef44615fa8a5c374/raw/52ff8dd6a9cc8ba09b7f258aa85743d2854f9acc/splitinfo.txt I discovered the
2011 Jun 07
1
RgoogleMaps Axes
R Help, I posted a question on StackOverflow yesterday regarding an issue I've been having with the RgoogleMaps packages' displaying of axes. ?Here is the text of that submission: http://stackoverflow.com/questions/6258408/rgooglemaps-axes "I can't find any documentation of the following problem I'm having with the axis labels in RGoogleMaps: library(RgoogleMaps) datas
2006 Oct 03
1
loaded or not?
Dear all, Sorry for such basic question, but. when R "says": library(Rcitrus) Loading required package: geoR Loading required package: sp ------------------------------------------------------------- Analysis of geostatistical data For an Introduction to geoR go to http://www.est.ufpr.br/geoR geoR version 1.6-8 (built on 2006/06/29) is now loaded
2023 Oct 13
1
rnrfa package problems
R help email Hello I?m trying to work my way through the rnrfa package RJ-2016-036.pdf (r-project.org) <https://journal.r-project.org/archive/2016/RJ-2016-036/RJ-2016-036.pdf> I?ve got it loaded OK and can access the data by the catalogue() command - gives me a tibble with names, grid refs etc allStations <- catalogue() allStations This works OK But when I try to run the example
2007 Jun 19
2
Microdowell (cpsups) driver segfault
Hello All I have a MicroDowell ups (BBox BP 1000) connected to a Gentoo box by serial cable. If I try to start the driver , I see the following : Network UPS Tools - CyberPower text protocol UPS driver .05 (2.0.5) Warning: This is an experimental driver. Some features may not function correctly. debug level is '13' ups_sync: send [\rP4\r] ups_sync: got ret 46 [#1000VA
2000 Aug 04
2
pattern on bars?
Colors are real nice, but the publication I'm preparing these barplots for permits only black and white. The Splus plot options ``dbangle'' (or plain ``angle'') and ``density'' (as on p. 65 of MASS 1st ed.) don't seem to be available in R. Is there another way to do this? I'm running R 1.1.0 on Linux (intel). Thanks.