similar to: par() in .Rprofile

Displaying 20 results from an estimated 3000 matches similar to: "par() in .Rprofile"

2004 Feb 14
1
How to configure ess-5.2.0beta3-1.i586.rpm, Xemacs and SuSE 9.0?
I'm trying to get R and ESS to work with Xemacs on a newly installed SuSE 9.0 system. Is some setup required beyond installing the rpms? I've installed the Xemacs packages from SuSE xemacs-info-21.4.13-35 xemacs-packages-el-20030629-37 xemacs-21.4.13-35 xemacs-el-21.4.13-35 xemacs-packages-info-20030629-37 xemacs-packages-20030629-37 ess-5.2.0beta3-1.i586.rpm
2004 Apr 26
2
Looking for help in calculating percentiles
Hi All: I am working with a dataset on Arsenic toxicity, and I am trying to calculate the 20th, 40th, 60th, 80th, and highest percentiles for a variable, dietary Moisture (variable name dMoist). The inbuilt function quantile(dMoist) would print 0, 25th, 50th, 75th, and 100th percentile. Does there exist a function that can calculate xth percentile (where x = 10th, 20th, ... etc) values?
2003 Dec 07
5
A hint to start ESS-xemacs
I'm trying to use ESS & xemacs under debian linux testing and KDE. My problem is that I didn't find any document in the internet explaining a **step by step** session with R and xemacs. The (wrong) procedure I follow (to no avail!) is: 1) I start R in a terminal window; 2) I start xemacs and open a file with the extension .R (test.R); 3) I issue M-x R RET and I can see an Rd new
2006 Jan 05
0
.Rprofile files (was R newbie configuration)
Thanks a lot. setHook is Currently not in my knowledge set But it's great to save these Thing so I can look them up When I feel more comfortable. Just to add to that Stata versus R discussion : I believe, anyone who uses any other package than R, is probably missing out in the long run. It's truly unbelievable what has been done here. I feel like I fell asleep for 5 years ( by not using
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes: > > Since the virtue and reliability of Wikis was brought up, I created a R > Wiki page for this at > http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs > > > Anyone: please correct errors and improve it! > > Tony Plate > OK, now I have another question: I see a wiki at
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes: > > Since the virtue and reliability of Wikis was brought up, I created a R > Wiki page for this at > http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs > > > Anyone: please correct errors and improve it! > > Tony Plate > OK, now I have another question: I see a wiki at
2002 Jan 31
2
Add item to scale?
Hi, many thanks for all suggestions as to shading of areas. Now to another small detail: how do I add items to the x-axis? Given a plot of "dnorm", I'd like to add some text to the x-axis, preferably with a corresponding tick mark. Imagine the typical \lambda demarcating a tail area. So far, I've only been able to add text in the plot region, not in the one of the axes.
2001 Mar 27
2
How do I change the editor in R command window?
Dear R-help, I have started using R on my Linux box (Debian), and I have some problems with setting the editor/keyboard for R. The For instance, arrow-up gives "^[[A", and delete gives "^H". I have a Norwegian keyboard, but that doesn't cause any problems for editors like emacs. Could you advice me on how I can set the editor for R right? I have tried
2004 Oct 20
2
par() defaults in Rprofile
Dear List, I've tried to set default par() in .Rprofile by putting the following in the .First function: setHook(packageEvent("graphics", "onLoad"), function(...) {graphics::par(cex.axis=1.5, cex.lab=2, las=1)} ) My goal was to set par() defaults without opening a device everytime at startup. However, the next plot I create doesn't show these
2006 Dec 18
0
.Rprofile not executed completely in 2.5.0
Dear all I do not usually post to R-devel, but I started to test R-2.5.0dev and encountered strange difference from 2.4.0 when loading Rgui under WXP. Both R builds are from CRAN executables and part of .Rprofile file is not executed in R-2.5.0. Here is my .Rprofile file contents --------------------------- options(chmhelp=TRUE) require(graphics) require(utils)
2003 May 06
3
how to read a web page and extract an html table?
Hello all, I want to read a table from a given web page. If I do something like > str="http://www...." # this is the web address > aux1 <- url(str,open="rt")# open connection > aux2 <- readLines(aux1) # read web page aux2 contains the html file. I want to extract the table from the html file. Is there a function html2R, the opposite of R2html?
2002 Jun 06
4
R and mysql on debian
Hello, I have been using RODBC on Windows with version 1.41 of R successfully, connecting to a mysql database using MyODBC. Now I would like to do so with R under Debian/GNU Linux. I just tried RMySQL (install failed, since mysql libraries were not found), DBI (no MySQL driver available) and I can't find the RODBC package any more on CRAN. Any suggestions? Johannes Ranke P.S.: Thanks for
2002 Oct 28
4
arima() in for loop
hi all, In a simulation context I'm running in a for loop the arima() function for( i in 1:1000){ y<-arima.sim(....) out<-arima(y,....) ........ } Everything works, but after some cycle (10, say) I get error due to the particular y-values simulated. (E.g., a *frequent* error is "Error in svd(na.omit(xreg)) : 0 extent dimensions") As a
2002 Oct 17
4
Multiple colors in plots/lookup function
Hello, I'd like to do something like: n<-100 zz<-cbind(rnorm(n),rnorm(n),floor(runif(n)*3+1)) colors<-c("red","green","blue") plot(zz,col=colors(zz[3])) and have a matrix of scatterplots colored by class. The above does not work, of course, but I'm not sure exactly what function I'm looking for. Thank you for your time, Dave, -- Dave
2002 Oct 21
3
Combinatorial Optimisation
Hi I am looking to perform a discrete mean-variance optimisation, specifically to maximise the ratio of portfolio mean over portfolio standard deviation for a portfolio of several hundred stocks through discrete position size holdings in each stock, where all position sizes must be elements of a small finite set of integer amounts which include zero. I don't think any of the standard R
2002 Oct 21
3
Combinatorial Optimisation
Hi I am looking to perform a discrete mean-variance optimisation, specifically to maximise the ratio of portfolio mean over portfolio standard deviation for a portfolio of several hundred stocks through discrete position size holdings in each stock, where all position sizes must be elements of a small finite set of integer amounts which include zero. I don't think any of the standard R
2004 May 03
2
Build problems on Linux SuSE 9.1
Hi, did anybody succeed in building R on SuSE Linux 9.1? My compilation failed with the following error messages: make[4]: Entering directory `/home/lederer/Source/R-1.9.0/src/modules/X11' gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include -I/us r/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c d ataentry.c -o dataentry.lo In file
2003 Oct 12
7
Integration between R & latex
As an R absolute beginner and an expert (very old) statistician and latex user, I'm interested in using R to produce AUTOMAGICALLY tables in latex format. I mean I would like to have the means to build an R procedure generating **FROM INSIDE** a table or a graph to be inserted directly into latex. I've read http://hesweb1.med.virginia.edu/biostat/s/doc/summary.pdf where the author speaks
2002 Oct 14
4
log10(), floor() combo issue?
Hi all, in my search for a nice binary2decimal method, I received this nice code (thanx to Uwe Ligges): bindec <- function(b) sum(as.integer(unlist(strsplit(b, ""))) * 2^(floor(log10(b)):0)) It fails, however, with: > bindec(1000) [1] 4 Warning message: longer object length is not a multiple of shorter object length in: as.integer(unlist(strsplit(b, "")))
2002 Oct 29
5
unix environment variables under R
hi, i am working on a little R-project with a couple od other guys.we use CVS, but everyone keeps the R-source files in different locations in his home-directory. of course this causes trouble when sourcing R-files. i thought a UNIX environment variable could be the solution, but R doesn't seem to know about the environment variables. e.g. >> source("$PROJECT/xxx.R")