search for: 01c

Displaying 17 results from an estimated 17 matches for "01c".

Did you mean: 01
2010 Feb 17
2
multi-argument returns
Dear R users, I have multi-argument returns in a function and I am warned by the program they are deprecated. I have found this in the R-help archives : http://tolstoy.newcastle.edu.au/R/help/01c/0319.html http://tolstoy.newcastle.edu.au/R/help/01c/0356.html Since I am not too good at programming, the list solution seems the better one for me. It is also the one advocated by Kevin Murphy. So rather than writing return(x,y,z), I should write at the end of my function : g=function() {...
2004 Dec 23
3
tcltk problem
Hi all, I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2. When I try: library() it shows the package tcltk. But if I try: library(tcltk) I get the same error message like in this thread: http://tolstoy.newcastle.edu.au/R/help/01c/3418.html The same, tcl and tk are installed in /usr/lib; if I try: capabilities("tcltk") I get: tcltk FALSE I cant' find tcltk.so Any suggestions please? Thx in advance and Merry Xmas! Liviu
2004 Dec 23
3
tcltk problem
Hi all, I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2. When I try: library() it shows the package tcltk. But if I try: library(tcltk) I get the same error message like in this thread: http://tolstoy.newcastle.edu.au/R/help/01c/3418.html The same, tcl and tk are installed in /usr/lib; if I try: capabilities("tcltk") I get: tcltk FALSE I cant' find tcltk.so Any suggestions please? Thx in advance and Merry Xmas! Liviu
2005 Jun 14
0
Plotting quiver vector tensor arrows 2d field data
...nd a function to plot a 2d field on a matrix. I did find mention of a quiver function in the archives. Is this the best solution or are there other tools I missed? quiver<- function(u,v,scale=1,length=0.05) # first stab at matlab's quiver in R # from http://tolstoy.newcastle.edu.au/R/help/01c/2711.html # Robin Hankin Tue 20 Nov 2001 - 13:10:28 EST { xpos <- col(u) ypos <- max(row(u))-row(u) speed <- sqrt(u*u+v*v) maxspeed <- max(speed) u <- u*scale/maxspeed v <- v*scale/maxspeed matplot(xpos,ypos,type="p",cex=0) arrows(xpo...
2007 May 31
1
RMySQL DBI question
...into the database without any problem. But the other one refused to go to the database with the following error message: "Error in mysqlExecStatement ... RS-DBI driver: (could not run statement: Table ... already exists) I have checked on line and find http://tolstoy.newcastle.edu.au/R/help/01c/0652.html talks about the same problem I have en counted. But the problem is that I have two data frame, one works and the other does not. Also if I don't run under perl and run directly R under shell, both works. Can someone help? I am running R-2.5.0 with RMySQL-0.5-11 and DBI0.2.3. I am...
2023 Dec 23
1
ssh-keygen generator 3 broken
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command: ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c It does not produce any errors, only the following: ebug2: ???1467763: (4) Sophie-Germain debug2: ???1467763: generator 0 != 3 debug2: ???1467764: (4) Sophie-Germain debug2: ???1467764: generator 2 != 3 debug2: ???1467765: (4) Sophie-Germain debug2: ???1467765: generator 5 != 3 debug2: ???1...
2002 Sep 23
2
R crash with internet2.dll
...r in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), : cannot open URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES' This error is already described in the R-help archive. One of several threads: http://maths.newcastle.edu.au/~rking/R/help/01c/0950.html Having a well working Internet Explorer 5 on my NT and it sounds as the perfect solution for my problem to rename internet2.dll to internet.dll, to avoid the entire proxy configuration. Doing so, R crashes! What is wrong with internet2.dll? Kind regards, Dominik Dominik Grathwohl...
2008 Apr 28
1
tips to speed up sqlSave with MS SQL Server?
...> memory.size(max = F) #reports amount of memory currently in use [1] 131.8365 > str(idxdata) 'data.frame': 4474553 obs. of 5 variables: $ idkey : int 1003 1003 1003 1003 1003 1003 1003 1003 1003 1003 ... $ nnd : Factor w/ 25 levels "01","01C","02",..: 1 1 1 1 1 1 1 1 1 1 ... $ curcdd : Factor w/ 2 levels "CAD","USD": 2 2 2 2 2 2 2 2 2 2 ... $ ddates:Class 'Date' num [1:4474553] 6942 6943 6944 6945 6948 ... $ idx : num 100 100 100 100 100 100 100 100 100 100 ... > objec...
2023 Dec 23
1
ssh-keygen generator 3 broken.
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command: ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c It does not produce any errors, only the following: ebug2: ???1467763: (4) Sophie-Germain debug2: ???1467763: generator 0 != 3 debug2: ???1467764: (4) Sophie-Germain debug2: ???1467764: generator 2 != 3 debug2: ???1467765: (4) Sophie-Germain debug2: ???1467765: generator 5 != 3 debug2: ???1...
2009 Jan 19
2
plotting arrows with different colors and varying head size
...0.1:0.15='cyan'; 0.15:0.2='blue'; 0.2:0.25='red'") length=0.1 par.uin <- function() # determine scale of inches/userunits in x and y # from http://tolstoy.newcastle.edu.au/R/help/01c/2714.html # Brian Ripley Tue 20 Nov 2001 - 20:13:52 EST { u <- par("usr") p <- par("pin") c(p[1]/(u[2] - u[1]), p[2]/(u[4] - u[3])) } ## plot arrows plot(as.vector(xcoor), as.vector(ycoor), type="p", pch=".", xlim=c(-0.2, 1.3),...
2004 Feb 12
2
lattice: showing panels for factor levels with no values
How to show panels for factor levels of conditioning variables which do have no values? E.g. there are panels for "Grand Rapids" when they have values: data( barley ) with( barley, dotplot(variety ~ yield | year * site, layout=c(6,2) ) ) There are no panels for "Grand Rapids" when there are no values for "Grand Rapids": my.barley <- subset( barley, ! ( site ==
2008 Jan 23
0
R command to refresh graphical output?
.... It would appear there is no refresh because R is busy interpreting infinite loop. Is there a way of "manually" refreshing the display? Or is there another way to get around the refresh problem? Thanks in advance, PJ The R server: # based on http://tolstoy.newcastle.edu.au/R/help/01c/2886.html stream <- fifo("R_pipe", "r", blocking=FALSE,) repeat { a <- readLines(stream) if(length(a) != 0) { if (inherits(e, "try-error")) { # error handling code here cat("Error", "\n") } } } The R cli...
2002 Feb 28
1
How to turn off the beep made by locator()?
...ying) beep that occurs when one calls the > locator() command and clicks the mouse. Try > > plot(0) > locator(n=10) > > I am running Rterm on WindowsMe/Cygwin bash and I don't know if this is the > case on other platforms. (from http://maths.newcastle.edu.au/~rking/R/help/01c/0269.html) to which Brian Ripley replied: > It's a feature of the windows() device. Windows is fond of beeping, and I > just mute the sound. I get the same beep on my Linux machine even when I execute the shell command "xset b off" (this is enough to silence the beeps from Ema...
2003 Aug 13
1
stars graphs
...as not written for that purpose. But I couldn't find another way to try to do it. I would appreciate if you could point me to a more appropriate function. I looked at the archives and only found the link below, which pointed me to the stars function: http://maths.newcastle.edu.au/~rking/R/help/01c/2464.html My data frame (2 cols, 55 rows) has the activity index (range 0:1) in the first column. In the second column is the cumulated time (in minutes - range 0:1440) between successive measures of activity. I would like the radius length be the activity index and the angle between two successi...
2009 Sep 04
0
passing character vectors to FORTRAN
...ector from R to a FORTRAN subroutine. There have been several posts discussing this issue (e.g. http://tolstoy.newcastle.edu.au/R/help/98a/0547.html, http://tolstoy.newcastle.edu.au/R/help/05/10/13558.html, http://tolstoy.newcastle.edu.au/R/help/01a/2577.html, http://tolstoy.newcastle.edu.au/R/help/01c/1795.html, http://tolstoy.newcastle.edu.au/R/devel/03a/0620.html, http://tolstoy.newcastle.edu.au/R/devel/99b/0323.html). According to R-exts (section 5.2, Interface functions .C and .Fortran), there are severe limitations on this: "Only the first element of the character vector is passed in,...
2006 Sep 05
3
terms.inner
Question: I am trying to impliment a function in R that we use quite regularly in Splus, and it fails due to a lack of the "terms.inner" function in R. The substitute is? Part question and part soapbox: Why remove terms.inner from R? It's little used, but rather innocuous. Mostly soapbox: I figured it was no big deal, as I originally discovered the use of terms.inner from
2006 Oct 03
1
HP Toolbox kills Samba
...;@ <0:2 /1%K/1)H3TD&D(2AC<@8/P /P8(B%59<65CVI ML.I16(4<A!Q<EX-:&QP%C/ /&0`>@ ?@`3P[D <BK6\BS1GE(=(0E#$Y@P?@ M`7@P0,_.IYY=('EV`9X=Y"#DX+H<K 4A;H9 ^(<,``_ `_ `GAW(`Y'6,Y'F ME0\XP 1!&9,S> `>@ <0:2 /1%K[.8RY2:=U*M*D,\VG<F:C2+/!F42D?01C MD0MC^WQA;@W&&HM;AU&)9J34/S;"Z'34FV'\9RZ,HH51? EL=%%[L)'-1F^L M'RH;^P1C]!*#FCVH@XD1@YK-QBBDP*#FPV@%!C5_4,=H+08UEXU!&&' 1BX; M@P@>60R?C5(KBRF&#Z/W'H.:/:B5T@*#FLU&Y0*F&#X;M31JJ&SL$XPV.@QJ M]J"N92.F&#X;C94*;.2S,1I,,7PV6JT#V,A...