Displaying 20 results from an estimated 1000 matches similar to: "Error handling with frozen RCurl function calls + Identification of frozen R processes"
2011 Jan 06
8
Accessing data via url
# Can anyone suggest why this works
datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data"
person.data <- read.table(datafilename,header=TRUE)
# but this does not?
dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/trees.txt"
treedata <- read.table(dd, header=TRUE)
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
Martin,
Well, thanks for jumping in! We need all the help we can get ;)
I changed the execute bit as you suggested and recompiled, no luck, still
the same error message.
Below is the output you wanted me to look at, its a bit beyond me so I
include both a brief grep summary and then the whole enchilada. I do note
that my output is different from yours, but I'm not sure how to interpret.
I
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
Martin,
Well, thanks for jumping in! We need all the help we can get ;)
I changed the execute bit as you suggested and recompiled, no luck, still
the same error message.
Below is the output you wanted me to look at, its a bit beyond me so I
include both a brief grep summary and then the whole enchilada. I do note
that my output is different from yours, but I'm not sure how to interpret.
I
2012 Jan 04
0
RCurl : Problem with submitting using postForm()
Hi,
I am having trouble submitting a form using the RCurl package. My code runs
without errors but doesn't return the table I am after. I have a feeling it
is because there are 2 submit buttons on the page and I'm not hitting the
right one. I have tried everything I can think of to submit the form
correctly but with no luck.
My current code is as follows.
library(RCurl)
library(XML)
2009 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
Dear developers,
I have come across a (somewhat strange) change in the encoding of Sweave
output from R-2.9.2pat to R-2.10.0beta (apparently specific to Rgui) on
Windows installations. Of course, the NEWS file contains quite a few
changes concerning encoding, but I was not able to locate an entry which
explains the observed behaviour. I am not very familiar with
encodings/locales/codepages,
2009 Nov 16
3
R crash with intToUtf8 on huge vectors (PR#14068)
Full_Name: George Russell
Version: 2.10.0
OS: Windows XP Professional Version 2002 Service Pack 2
Submission from: (NULL) (217.111.3.131)
Typing the following command into R --vanilla causes R to crash:
k <- intToUtf8(rep(1e3,1e7))
This is the output of sessionInfo():
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
2009 Dec 29
1
problem reading from serial connection since 2.10.0
Dear list,
I have a balance connected to the serial port of a windows machine ("COM1") and I read the text
output of the balance with
scan("COM1", what="character", sep="\n", n=1)
after calling the previous line I press the print key on the balance which triggers sending one line
of text to the serial connection and with R 2.9.2 I get something like
Read
2009 Jan 30
1
Methods not loaded in R-Devel vs 2.8.1
Dear list-member,
I am currently developing a package with S4 classes. The NAMESPACE and DESCRIPTION is printed below. Within this package I have set a method "residuals" for two classes. In version 2.8.1 these two are reported whereas in R-Devel (2009-01-28 r47766). What have I missed? What has changed and how can I rectify the issue? Your help and pointers are welcome.
For 2.8.1:
2010 Feb 09
3
Confusing error message for [[.factor (PR#14209)
Full_Name: George Russell
Version: 2.10.0 and 2.11.0 Under development (unstable) (2010-02-08 r51108)
OS: Windows
Submission from: (NULL) (217.111.3.131)
> c("a","b")[[c(TRUE,FALSE)]]
Error in `[[.default`(factor(c("a", "b")), c(TRUE, FALSE)) :
recursive indexing failed at level 1
I find this error message confusing, though after reading the HELP
2011 Apr 21
3
R CMD Sweave versus Sweave() on Windows
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R session, i.e.
Sweave("foo.Rnw") versus R CMD Sweave foo.Rnw
In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT = TRUE' is obeyed (this is set in etc/Renviron.site as well as under the users home directory in .Renviron). That is the hard-coded path to Sweave.sty is
2006 Oct 27
2
all.names() and all.vars(): sorting order of functions' return vector
Dear list-subscriber,
in the process of writing a general code snippet to extract coefficients
in an expression (in the example below: 0.5 and -0.7), I stumbled over
the following peculiar (at least peculiar to me:-) ) sorting behaviour
of the function all.names():
> expr1 <- expression(x3 = 0.5 * x1 - 0.7 * x2)
> all.names(expr1)
[1] "-" "*" "x1"
2007 Jul 13
1
R and HTTP get 'has file changed'
Is there a way, maybe using Duncan TL's RCurl, to efficiently test whether
an URL such as
http://$CRAN/src/contrib/
has changed? I.e. one way is via a test of a page in that directory as per
(sorry about the long line, and this would be on Linux with links and awk
installed)
> strptime(system("links -width 160 -dump http://cran.r-project.org/src/contrib/ | awk
2010 Feb 19
3
Rubbish values written with zero-length vectors (PR#14217)
Full_Name: George Russell
Version: 2.10.0, 2.11.0 (2009-12-13 r50716)
OS: Windows
Submission from: (NULL) (217.111.3.131)
R trace:
-- cut here --
> v <- integer(0)
> v[[1]] <- v
> v
[1] 20522144
> v <- numeric(0)
> v[[1]] <- v
> v
[1] 4.254131e-314
> sessionInfo()
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=German_Germany.1252
2008 Dec 18
2
lme4 error after Matrix update
Dear all,
after recently updating my R-packages I am unable to work with lme4,
since it does not load. What I get is this:
Error in inDL(x, as.logical(local), as.logical(now), ...) :
function 'cholmod_l_start' not provided by package 'Matrix'
In addition: Warning messages:
1: package 'lme4' was built under R version 2.8.1
2: package 'lattice' was built under R
2009 Dec 07
3
Crash with Unicode and sub (PR#14114)
Full_Name: George Russell
Version: 2.10.0
OS: Windows XP Version 2002 SP 2
Submission from: (NULL) (217.111.3.131)
The following typed into R --vanilla induces a crash:
-- cut here --
gctorture()
u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e3,1e2))))
v <- rep(u,1e2)
v <- sub(" ","",v)
v %in% ""
-- cut here --
sessionInfo() says:
-- cut here --
R version
2017 Sep 02
6
Strange lazy evaluation of default arguments
Dear R developers,
sessionInfo() below
Please have a look at the following two versions of the same function:
1. Intended behavior:
> Su1 = function(u=100, l=u, mu=0.53, sigma2=4.3^2)
+ {
+ print(c(u, l, mu)) # here, l is set to u?s value
+ u = u/sqrt(sigma2)
+ l = l/sqrt(sigma2)
+ mu = mu/sqrt(sigma2)
+ print(c(u, l, mu))
+ }
>
> Su1()
[1] 100.00 100.00 0.53
[1]
2007 Jun 15
2
Problem with workspace loading after languageR use
Hello R,
To analyze multi-level data, I started learning and using lmer. So far
so wonderful. I then found some useful functions in package languageR.
But then the following problem ocurred: Whenever I load and use the
languageR package, then save the workspace - or quit R with saving the
workspace - I am unable to reload that workspace in a later session.
That is, R doesn't start at all
2007 May 01
1
integer constants given by hexadecimal notation
Hi,
> 0x10L
returns: int 0
I would expect: int 16?
This happens with all integer constants given by hexadecimal notation.
It's a bug?
> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32
locale:
LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252
attached base packages:
[1] "stats"
2008 May 09
1
comparison (PR#11421)
In R-2.7.0 release as well as patched (from yesterday) under Windows XP,
R crashes when typing, e.g.:
repeat{
rep(1, 10000) == "?"
}
Note that I cannot reproduce the error in R-2.6.2 nor R-devel.
Uwe Ligges
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 2
minor =
2009 Jan 27
1
small bug in base::formatC (PR#13474)
Full_Name: Bernd Bischl
Version: 2.8.1
OS: Windows XP Professional
Submission from: (NULL) (129.217.207.95)
Hi,
there seems to be a small bug in formatC:
formatC("foo", format="s", mode="charcacter")
Error in formatC("foo", format = "s", mode = "charcacter") :
'mode' must be "double" ("real") or