Displaying 20 results from an estimated 1000 matches similar to: "strsplit does not conform to documentation (PR#379)"
2009 May 13
2
Input to variables - help please
Dear list
I have managed to write a short program to evaluate data which is inputted
from a csv file using the following
x = read.csv("wms_results.csv", header=TRUE)
All works fine but since I have a number of similar data files which have
different names, I would like the program to allow me to input the file
name, rather than having to edit the program.
>From the documentation I
2004 Aug 06
1
solaris 2.7 libshout error
Has anyone seen this issue before on solaris 2.7. I keep getting this error
for libshout when trying to compile the example.
root#[/usr/local/src/libshout-1.0.9/example]#gcc -lshout -o test example.c
Undefined first referenced
symbol in file
socket
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
recv
2004 Aug 06
1
solaris 2.7 libshout error
thanks Karl,
that got me almost there. I think i am still missing one other library
apparently. ANy ideas ?
#gcc -lshout -lsocket -lnsl -o test example.c
Undefined first referenced
symbol in file
inet_pton
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
ld: fatal: Symbol referencing errors. No output written to test
2003 Feb 12
2
rl_callback_read_char error on Solaris 7
This question is about compiling R-1.6.2 from source on a
Sparcstation-20 machine running Solaris 7, gcc-2.95.3 and
readline-4.2 (both gcc and readline from sunfreeware.com).
I searched the r-help archive and the FAQ. The errors seem to be
related to the binary readline libraries, and I have
/usr/local/lib/libreadline.a,libreadline.so@, and
libreadline.so.4.
The attached errors are from
2003 Oct 29
1
restarting split.screen
Is there a way of `restarting' split.screen?
This is what I am getting:
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
> graphics.off()
> x11()
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
As
2012 May 04
1
Broadvoice Got SIP response 503 Service Unavailable
Hi,
I'm running Asterisk 1.8.11.1 @office.
The Broadvoice service work fine with all 1.6 version and early 1.8
behind a NAT but about 2 months ago stop working.
No made changes in the firewall NAT rules. Right now I'm @home via my
Xlite softphone working fine without problems
Any suggestions or thoughts?
Alex Celi
This is the info
central*CLI> sip show peers
Name/username
2001 Apr 30
1
Segmentation fault linked to memory? (PR#929)
Hi Everyone,
The following rather extreme claim on memory causes a
segmentation fault on my installation:
fred <- matrix(1:1200, 20, 60)
littleOP <- function(x, y)
{
z <- as.vector(x) %*% t(as.vector(y))
dim(z) <- c(dim(x), dim(y))
z
}
littleOP(fred, fred) # this is OK
littleOP(littleOP(fred, fred), fred) # whoops! Segmentation fault
What's a bit strange
2002 Nov 01
1
recordPlot in 1.5.x, replayPlot in 1.6.0 problem
I have plots that were stored using recordPlot() in a fairly recent
but pre-1.6.0 version of R that will not replayPlot() in R 1.6.0. The
error message is
Error in replayPlot(x) : invalid hex digit in color or lty
The plots were stored in June (2002-6-14), each as an element of a
list named 'rpl'. The version of R that was current then is what I
used. At that time I was able to
2001 Apr 10
1
Segmentation fault in subscripting array of lists (PR#904)
I get a segmentation fault as follows:
> tmp <- array(list(), c(3, 4))
> tmp[[1, 2]]
NULL # as expected
> tmp[[1, 2]]$fred <- 1:10
> tmp # as expected
[,1] [,2] [,3] [,4]
[1,] "NULL" "List,1" "NULL" "NULL"
[2,] "NULL" "NULL"
2001 Aug 30
2
update.packages
I seem to have something wrong in my installation when trying to
update packages. Thanks for any assistance...
> update.packages()
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain' length 53385 bytes
opened URL
.......... .......... .......... .......... ..........
..
downloaded 52Kb
Error in if (a[k] > b[k]) return(TRUE) else if (a[k] <
2001 Feb 02
2
History
Hi,
I upgraded to version 1.2.1 and now the up/down arrows for recalling commands no
longer works. Is there a work around for this?
> version
_
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
major 1
minor 2.1
year
2000 Mar 22
3
segmentation fault with 1D array (PR#500)
Here's a nasty one. The following has caused a segmentation
fault and possibly also a bus error.
fred <- 1:6
dim(fred) <- 6
dimnames(fred) <- list(LETTERS[1:6])
mm <- matrix(1:12, 2, 6)
mm %*% fred # segmentation fault here
In the case without the dimnames assignment the result is OK.
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform =
2000 Mar 12
1
make check fails after base-Ex.R
Dear R-help,
I tried to build the R-release version of R-1.0.0.
./configure and make seemed to go just fine.
When I ran 'make check' from $RHOME, it dumped core apparently in the
quit('no')
on the last line of base-Ex.R
I had been having some problems with a package I am building in that R
would report with "Process R segmentation violation (core dumped)" upon
2000 Oct 16
2
print problem with data frames (PR#698)
Another one from the student computer practicals: it is possible
to create a dataframe that cannot be printed. Thus
> fred <- data.frame(happy=c(TRUE, FALSE, TRUE), sad=7:9)
> tmp <- fred[c(FALSE, FALSE, TRUE, TRUE)] # no error message!
> tmp
Error in as.matrix.data.frame(x) : dim<- length of dims do not match the length of object
> print.default(tmp)
$"NA"
NULL
1999 Nov 24
1
rbind invisible return value (PR#343)
An assignment in an argument sometimes makes rbind return invisibly
> rbind(diag(3),a<-1:3)
> print(rbind(diag(3),a<-1:3))
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 1 0
[3,] 0 0 1
[4,] 1 2 3
> version
_
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
1999 Dec 10
1
split nukes names() (PR#371)
> split(c(a=1,b=2),c(1,2))
$"1"
[1] 1
$"2"
[1] 2
The documentation does not *promise* that names will survive, but in
Splus3.4, they do. This broke a function that worked under S+ that used
the names attribute of elements in the components returned by split.
Chuck Berry
--please do not edit the information below--
Version:
platform = sparc-sun-solaris2.7
arch = sparc
2000 Jun 20
1
exists() and the mode argument (PR#576)
The following seems to be odd behaviour:
fred <- 1:10
mode(fred) # "numeric"
exists("fred") # TRUE
exists("fred", mode="numeric") # FALSE
Unless I have misunderstood, the final evaluation should be TRUE,
as an object called "fred" exists and its mode is "numeric". In
the same category, I have just noticed that
get("fred")
2001 Mar 23
1
eigen segfaults on 0-diml matrices (PR#882)
>From one of my students' simulations:
m <- matrix(1, 0, 0) # 1 to force numeric not logical
eigen(m)
and segfault in TRED2 in src/appl/eigen.f
Easy to fix, but I wonder what else might have been overlooked?
(svd is protected).
--please do not edit the information below--
Version:
platform = sparc-sun-solaris2.7
arch = sparc
os = solaris2.7
system = sparc, solaris2.7
status =
2001 Mar 23
0
cor(x,y) when is.null(y) (PR#883)
Problem:
> names(my.dat)
[1] "x" "y"
> cor(my.dat$x,my.dat$y) # desired result
[1] 0.8660254
> cor(my.dat$x,my.dat$y.NOT) # typo
[1] 1
>
I'd prefer a warning() or stop() in that case.
Solution (??) :
*** 1,5 ****
--- 1,7 ----
cor <- function (x, y=NULL, use="all.obs")
{
+ if (is.null(y) && !is.null( match.call()$y ) )
+
2001 Apr 25
0
Managed to confuse match.arg (PR#921)
This one may not strictly be a bug, and it was certainly my
fault, but it took me a while to track it down and it is rather
strange:
funOne <- function(x)
{
funTwo <- 1:10
funTwo(x)
}
funTwo <- function(v) 2*v
funOne(5) # answer is 10 as expected
# now a different definition for funTwo with a match.arg
funTwo <- function(v, foo=c("small", "large"))
{
foo