similar to: R: possibility for sth. like parameter passing by reference?

Displaying 20 results from an estimated 11000 matches similar to: "R: possibility for sth. like parameter passing by reference?"

2000 Aug 31
3
using browser() in complex programs - where am I?
Dear all, is there an easy way to know at which position in the source code browser() (or stop()) was called? This seems to be important for me when I try to debug a program (e.g. using options(error=quote(dump.frames()))) traceback() returns some information, but I miss something like a line number, e.g. "stopped at line 999 in foo.R". Marcus --
2002 Jun 05
6
mixing different modes of lty line type specification in legend() ?
Hi List, is sth. like the following possible: legend(x,y,c("A","B","C"), lty=list(1,"42","11")) ? Or: is there a possibility to define a solid line using the "string" mode for lty? Thanks Marcus -- +-------- ><> ------------------------------------------- | E-Mail: eger.m at gmx.de (NEW) | marcus.eger at
1999 Jul 15
1
R: history buffer
Hello, how can I change (enlarge) the history buffer? I use R.64.1 and ESS5.1, emacs. Thanks - Marcus Eger -- +------------------------------------------------------- | Marcus Eger | Philipps Universitaet Marburg | Fachbereich Physik AG Neurophysik | Renthof 7 | 35032 Marburg | Tel. +49 6421 284169 | Fax +49 6421 287034 +------------------------------------------------------- | E-Mail:
1999 Jul 15
2
R: UseMethod with primitives?
Hello, is the following somehow possible with Mod() being a primitive: "Mod" <- function(x) UseMethod("Mod") "Mod.default" <- function(x) { .Primitive("Mod") ### I know it?s wrong. How can I access the original Mod ? } Thanks for help M. Eger -- +------------------------------------------------------- | Marcus Eger | Philipps Universitaet
2001 May 23
2
POLYGON: fill pattern instead of colors?
Hello all, I'm using R1.2.2 and wonder whether there is already a new (unofficial) version that supports fill patterns for polygon(). thanks M.E. -- +------------------------------------------------------- | Marcus Eger +-------- ><> ------------------------------------------- | E-Mail: eger.m at gmx.de (NEW) | marcus.eger at physik.uni-marburg.de (OLD) | WWW:
2000 Sep 29
2
segmentation faults when unused argument
Dear Rs, quite often in I had segmentation faults of the following kind: Error in brf.infobase(nn, Pc, knams = knams, plot = plot, dev = dev, quiet = quiet, : unused argument(s) (df ...) Process R segmentation fault at Fri Sep 29 15:46:27 2000 This happened when I (wrongly) called a routine with an argument which the routine did not support. platform i386-pc-linux-gnu arch i386
2000 Sep 05
2
still problem with installation of locfit on DEC alphaev56-dec-osf4.0d
Dear all, after building the R-1.1.1 from source on our alpha everything seems to work, but locfit still hangs... I installed locfit with install.packages(...), the installation process went fine, but calling locfit() blocks the R environment. Has anybody got an idea howto get to the roots of this problem? Thanks M. Eger -- +------------------------------------------------------- | Marcus
2000 Nov 14
2
atlas for R1.1.1 and R1.2 different?
Dear R'ers, when I e.g. install the integrate2.2-2 package under R1.1.1 (debian2.2) atlas is linked into the library: Installing package `integrate' ... libs gcc -shared -lc -shared -o /usr/lib/R/library/integrate/libs/integrate.so adapt.o adapt_callback.o bsrl.o flfm.o nxprt.o symrl.o wht.o -L/usr/local/lib -lf77blas -lcblas -latlas -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.2
1999 Jul 15
1
R: ts - objects
Hello, I faced some difficulties using time series objects. ---------------------------------------------------------------------------- 1. Why is the time data changed, when I, e.g., apply sqrt(arrts), but not when arrts^0.5 ? This is my examples time series: ---------------------------------------------------------------------------- > arrts Time Series: Start = 3 End = 23 Frequency
2000 Aug 31
2
Problem with R INSTALL locfit on DEC alphaev56-dec-osf4.0d
Dear all, usually I work under linux, but I tried to install R-1.1.1 on our alpha's which worked well. However, installation of the locfit package produced the following warning: ---------%<---------------- Installing package `locfit' ... libs /vol/bin/gcc -I/vol/math/R/include -I/usr/local/include -mieee -g -O2 -c S_e nter.c -o S_enter.o S_enter.c: In function `basis':
1998 Dec 17
1
Scoping bug!?
Hello - any suggestions?! "fun" <- function (a1,a2,a3) { ... x<-rnorm(50) a<-locfit(~x) ... } does not work, (Error: Object "x" not found) but x<<-as.matrix(mm[Pc+1]) instead, does! When typing the two lines directly at the prompt - everything is ok. I?m using R 63.0 on i586 with Linux, SUSE 5.2. Thanks for any help - Marcus --
2000 Sep 02
1
poscrscript() call returns an error on alphaev56-dec-osf4.0
I have some slight problems getting R to run smoothly on our alpha... What might be the reason for the following error message? > postscript() Error in PS(file, old$paper, old$family, old$bg, old$fg, old$width, old$height, : unable to start device PostScript I have compiled R-1.1.1 and it starts without complaint. -- +------------------------------------------------------- |
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers, somehow it is not possible to increase nsize to more than 20000k. When I specify e.g. > R --vsize=10M --nsize=21000K the result is: free total (Mb) Ncells 99658 350000 6.7 Vcells 1219173 1310720 10.0 Maybe I have overlooked s.th.... Marcus -- +------------------------------------------------------- | Marcus Eger | E-Mail: eger.m at gmx.de (NEW) |
1999 Jul 15
1
[R] R: ts - objects (PR#228)
Marcus Eger <marcus.eger@physik.uni-marburg.de> writes: > > time(sqrt(arrts)) > Time Series: > Start = c(1, 1) > End = c(5, 1) > Frequency = 1 > [1] 1 2 3 4 5 Looks like a bug... > ---------------------------------------------------------------------------- > 2. (At least) boolean indexing with matrices does not seem to work > properly: >
1998 Dec 17
0
Problem using LOCFIT with 3d density & plot
I just copy parts of my correspondence with the author of Locfit: >>Dear Mr <...>, >>I have tried to apply locfit to a three dimensional data set for density >>estimation. >>The algorithm seems to work well but when I want to plot the result, the >>routine "levelplot" is missing. >>This is not the case in 2-dimensional fitting. >>I=B4d be
2001 Feb 15
1
Re: Question "kill-buffer"
I would be very thankfull for such a solution, too .... "R.E. Darnell" wrote: > > Would introducing a "Are you sure?" question after kill the *R* ( or > whatever) buffer with a hasty C-x k be a popular default > "feature". How can I include this for my own use? > > Thanks > > Ross Darnell --
2001 May 10
4
Passing a workspace file as argument
What is the best way (if possible) to pass the name of a workspace file to R when it starts so it is loaded instead of .RData ? I would like to know this for Linux and windows version. For windows I would like to associate the .RData extension so doubleclicking the file starts R and loads it. Thanks -- Victor Moreno V.Moreno at ico.scs.es Servei
2002 Jan 30
2
Shade area under curve?
Hi all, I've got this graphics question which really should be easy. I want to shade an area between bounds under a curve. A suitable beginning seems to be the following: > plot(dnorm,-4,4) > segments(-4,0,4,0) > segments(-2,0,-2,dnorm(-2)) > segments(2,0,2,dnorm(2)) It is the area between -2 and 2 which I want to shade (or something similar). Hints anyone? Robert
2015 Sep 20
2
Long vectors: Missing values and R_xlen_t?
Is there a missing value constant defined for R_xlen_t, cf. NA_INTEGER (== R_NaInt == INT_MIN) for int(eger)? If not, is it correct to assume that missing values should be taken care/tested for before coercing from int or double? Thank you, Henrik
2000 Oct 17
5
R for Debian 2.2
I've recently installed Debian/GNU Linux 2.2. The R package on the debian website and Official CD is 0.90.x, so I checked cran for a more recent deb package, with the following result. homebrew:~# apt-get install r-base Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you