Displaying 20 results from an estimated 5000 matches similar to: "The default position of plot title"
2011 Apr 04
0
[R-sig-ME] Documentation for the glm module in jags/rjags?
It turns out that when I use GUI (file-change dir) to set the working
directory, R will crash.
If I use setwd() instead, the example runs well.
Regards,
On 4 April 2011 00:17, Wincent <ronggui.huang@gmail.com> wrote:
> OK, I dig into the problem and found that Chinese character in the path
> should be blamed.
> Once the path rename to English only, it works.
>
> Regards,
2011 Jan 12
1
how to change strip text of effect plot
Dear r heper,
How can I change the strip text, for example (16,23] in the following
example, to other more informative text such as "high level" on the
fly?
library(effects)
Cowles$ex2 <- cut(Cowles$extraversion,3)
mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial)
eff.cowles <- allEffects(mod.cowles)
plot(eff.cowles,
2011 Apr 26
1
rJava Help
I believe this posting is placed, and I take the liberty to re-direct
to the r-help mailing list.
Regards,
Ronggui
On 26 April 2011 12:33, <gopala at mail.gvsu.edu> wrote:
> ?I am trying to create a web user interface using RApache. I need to install rJava packge but I am getting the following error message
>
> RApache Warning/Error!!!
>
> Error : .onLoad failed in
2009 May 23
1
Draw a rectangle on top of an image using RGtk2?
Dear all,
I use gtkImageFromFile to display an image. Then I want to do some
gsignal to handle mouse event. I click the mouse and move a another
position and release. I can get the position of the firs click and the
release position, then I would to draw a rectangle to display the
region I have selected. I need some hints on what functions should I
look for. I tried to google but don't know
2009 Oct 20
1
RGtk2:::gdkColorToString throws an error
Dear all,
I try to use RGtk2:::gdkColorToString, but it throws an error:
Error in .RGtkCall("S_gdk_color_to_string", object, PACKAGE = "RGtk2") :
gdk_color_to_string exists only in Gdk >= 2.12.0
I know what it means, but don't know to solve this problem because I
don't know where I can download the referred gdk library. Any
information? Thank you.
--
HUANG
2009 May 29
1
GTK Tooltips under Linux
Dear all,
I want to set tool-tips for a gtkButton. I use the following code
which works under Windows. However, it doesn't work under Linux. Any
hints? Thanks.
library(RGtk2)
b<-gtkButtonNewWithLabel("OK")
gtkTooltips()$setTip(b,"Memo for a Button.")
gw <- gtkWindow(show=F)
gw$Add(b)
gw$Show()
> sessionInfo()
R version 2.8.0 Patched (2008-12-10 r47137)
2010 Nov 02
2
can not built a package
Dear all, I tried to build a package from source, and ran into a problem.
>R CMD build RQDA
* checking for file 'RQDA/DESCRIPTION' ... OK
* preparing 'RQDA':
* checking DESCRIPTION meta-information ... OK
ERROR
copying to build directory failed
I searched and found this
http://r.789695.n4.nabble.com/tar-problem-when-using-R-CMD-build-on-Windows-td2734636.html
> SET
2010 Jul 02
4
Visualization of coefficients
Dear all,
I try to show a subset of coefficients in my presentation. It seems
that a "standard" table is not a good way to go. I found figure 9
(page 9) in this file (
http://www.destatis.de/jetspeed/portal/cms/Sites/destatis/Internet/DE/Content/Wissenschaftsforum/Kolloquien/VisualisierungModellierung__Beitrag,property=file.pdf
) looks pretty good. I wonder if there is any function for
2009 Oct 06
2
Help file doesn't display correctly
Dear R Developer,
It seems to be a problem with help file. Not sure if it is related to
the new format of Rd parser. Multiple lines are joined together
without proper line break.
> ?mean
There were 14 warnings (use warnings() to see them)
## All lines are joined together and not easy to read.
> warnings()
Warning messages:
1: In grepl("^[[:blank:]]*$", buffer[length(buffer)]) :
2009 Aug 04
0
status of boolean package
FYI
---------- Forwarded message ----------
From: Bear Braumoeller <braumoeller.1 at polisci.osu.edu>
Date: 2009/8/4
Subject: Re: Package boolean on CRAN
To: "cgb at datanalytics.com" <cgb at datanalytics.com>
Cc: Ronggui Huang <ronggui.huang at gmail.com>, Ben Goodrich
<goodrich at fas.harvard.edu>
Gentlemen,
Thanks for your enquiries. ?Boolean is under
2010 Apr 27
1
suggestion on method dispatch
Dear all, I have define a function and its methods as follows:
######## beginning of code
fn <- function(x,...){
UseMethod("fn")
}
fn.foo1 <- function(x, commonA=1, ...){
print("fn.foo1 is called.")
}
fn.foo2 <- function(x, uniqueFoo2, common=1, ...){
## uniqueFoo2 is a unique argument in fn.foo2
x <- uniqueFoo2; class(x) <- "foo1"
## use uniqueFoo2
2010 May 05
1
help with restart
Dear all, I want to download webpage from a large number of webpage.
For example,
########
link <- c("http://gzbbs.soufun.com/board/2811006802/",
"http://gzbbs.soufun.com/board/2811328226/",
"http://gzbbs.soufun.com/board/2811720258/",
"http://gzbbs.soufun.com/board/2811495702/",
"http://gzbbs.soufun.com/board/2811176022/",
2012 May 09
2
file path
Dear all, is there any function to assert whether a file path is
legitimate, and to convert any potential file path to a legitimate
file path?
I automate a batch of files and write them to plain text files with
cat(). The file argument of cat() is generated automatically which may
contain characters such as ? < >, unacceptable in Windows OS. What I
do at this moment is to strip such
2009 Jun 14
0
How to capture output from a subprocess?
## open a pipe
a <- pipe("mplayer -slave -quiet /media/wind/Music/a.mp3","w")
write("get_file_name",a) ## send get_file_name command to player.
## ANS_FILENAME='a.mp3'
write("quit",a) ## exit mplayer
Can I capture the output from mplayer into a R object? In this case,
it is "ANS_FILENAME='a.mp3'". I try sink(), but it
2010 Mar 01
0
RQDA 0.1-9 is on CRAN now
Dear all,
RQDA is a R package for computer-aided qualitative data analysis
(CAQDA). It is an easy-to-use tool to assist in the analysis of
textual data.
RQDA 0.1-9 is a major upgrade with the following changes:
* widgets are enabled only if they are usable.
* Better code categories management system and various improvements of GUI.
* Click-handler for second half of code-mark.
* Better default
2010 Mar 01
0
RQDA 0.1-9 is on CRAN now
Dear all,
RQDA is a R package for computer-aided qualitative data analysis
(CAQDA). It is an easy-to-use tool to assist in the analysis of
textual data.
RQDA 0.1-9 is a major upgrade with the following changes:
* widgets are enabled only if they are usable.
* Better code categories management system and various improvements of GUI.
* Click-handler for second half of code-mark.
* Better default
2010 Apr 09
2
How to enable core dump?
Dear all, I encountered a core dump like this,
(R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion
`GDK_IS_DRAWABLE (drawable)' failed
*** caught segfault ***
address 0x78, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 1
aborting ...
Segmentation
2010 Apr 30
3
replace elements in a list
Dear all, I have a list like this: l <- list(list(a=1,b=NULL), list(a=2,b=2))
I want to find out the elements with value of NULL and replace them with NA.
The actual case has a very long list, so manually find out and replace
them is not an option.
I can use for loop to do this, but I want to know if there is
vectorized way (or other ways) to do it?
Thanks
--
Wincent Rong-gui HUANG
Doctoral
2008 Jun 07
1
Problem of installing Matrix
[wincent at PC-BSD]export MAKE=gmake
[wincent at PC-BSD]sudo R
.....
> install.packages("Matrix")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://bibs.snu.ac.kr/R/src/contrib/Matrix_0.999375-9.tar.gz'
Content type 'application/x-gzip' length 1483674 bytes (1.4 Mb)
opened URL
2009 Aug 10
5
Example scripts for R Manual
Hi,
I am wondering if some experienced users would help put the
ready-to-run code of the examples in the manuals. It would help new
users learn R faster by putting all the examples in an ready-to-run R
script file. Can somebody help do so sometime and post the code along
with the pdf manuals?
http://cran.r-project.org/manuals.html
Regards,
Peng