Dear all
I have bumped into the dreaded 'segfault' error type when running some C++ code
using .Call().
I have already undertaken several attempts to debug the C++ code with gdb(),
but until now I have been unable to pinpoint the origin of the problem. There
are two elements that I think are p
> -Original Message-
> From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
> Sent: vrijdag 6 maart 2015 10:23
> To: Franckx Laurent; r-help@r-project.org
> Subject: Re: [R] error message: ReadItem: unknown type 64, perhaps written
> by later version of R
>
Dear all
I get the following error message when I try to load one specific RData object
in R:
Error: ReadItem: unknown type 64, perhaps written by later version of R
The error message is odd because (a) this RData object was created just one
hour berfore in a previous script (in a s
gham [mailto:aebingh...@gmail.com]
Sent: zaterdag 14 februari 2015 8:16
To: 'Martyn Byng'; r-help@r-project.org
Cc: Franckx Laurent
Subject: RE: [R] difference between max in summary table and max function
I thought I'd chime in ... submitting the following:
?summary
Provides the followin
Dear all
I have found out that the max in the summary of an integer vector is not always
equal to the actual maximum of that vector. For example:
> testrow <- c(1:131509)
> summary(testrow)
Min. 1st Qu. MedianMean 3rd Qu.Max.
1 32880 65760 65760 98630 131500
> max(tes
Dear all,
I am estimating a model with instrumental variables using ivreg() (from the
"AER" library). When the regressors and the instruments are limited to
continuous variables, things work fine.
However, I have some regressors, such as "income", for which I only have
categorical data (very l
ne of them equal to zero.
Cheers
Laurent
-Original Message-
From: Bert Gunter [mailto:gunter.ber...@gene.com]
Sent: woensdag 29 januari 2014 16:43
To: Franckx Laurent
Cc: r-help@r-project.org
Subject: Re: [R] error message "system is computationally singular" under mlogit
Advic
Dear all,
I am trying to estimate a multinomial logit model with mlogit.
The data I use for the estimation have the following format (in the full data
set, there are many more explanatory variables, but I omit them here for the
sake of simplicity):
> head(sample)
choice cl_vint_com
i/directions/json?",or_dest,"&sensor=false&mode=transit&departure_time=1372665319",sep="";
)
route <- url(url_to_google)
Problem solved, thus.
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: dinsdag 2 juli 2013 15:56
To
Dear all
I try to use Google Maps to calculate travel times per transit between an
origin an destination.
The guidelines for the search can be found at:
https://developers.google.com/maps/documentation/directions/#TravelModes
When I submit the latitude and the longitude of the origin and desti
Dear all
I want to call R repeatedly in batch mode from a bash script that is then
submitted to torque.
My calls to R depend on optional arguments.
When I introduce these arguments as literals, the calls work fine, for instance:
R CMD BATCH --no-save "--args PERIOD='08' YEAR='2008' SC='BAU' "
method dispatch.
Regards
Laurent
-Original Message-
From: Blaser Nello [mailto:nbla...@ispm.unibe.ch]
Sent: woensdag 29 mei 2013 15:56
To: Franckx Laurent; r-help@r-project.org
Subject: RE: [R] adding class attributes to strings: works in a loop, but not
directly
There are two separate
Dear all
I try to assign class attributes to strings. Depending on the approach I use,
it works (including method dispatch) or fails.
Let me clarify with an example.
Let:
> AONtptmodelist <- c("FOOT","BICY")
When I assign "class" attributes directly to these strings, it fails:
> class("BICY
Dear all,
I use R version 2.15.1 on x86_64-pc-linux-gnu (64-bit).
I run a simulation where I have to call a series of R scripts in batch mode.
When I run the following two lines, this works well for PERIOD='17' but not for
PERIOD='08':
R CMD BATCH --no-save "--args PERIOD='08' YEAR='203O' SC
\bin\i386 (I had copied an old batch file, and overlooked this).
The problem is solved now.
-Original Message-
From: Milan Bouchet-Valat [mailto:nalimi...@club.fr]
Sent: vrijdag 9 november 2012 14:34
To: Franckx Laurent
Cc: 'r-help@r-project.org'
Subject: Re: [R] Error in memory
Dear all
I use a 64 bit Windows7 system with 16 GB memory.
I have run an R script in batch mode with the following command:
R CMD BATCH masterassignment_2012_11_09.r --save
The execution was terminated with the following error message:
Error in memory.size(size) : don't be silly!:
Dear all
I have written a function in C++ , equil_distC, that I am calling from an R
script.
In the last few days, R has repeatedly crashed when calling this function, or
delivered obviously wrong outputs. However, when I restarted R after the crash,
the results turned out to be OK most of t
Problem solved, thank you.
-Original Message-
From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
Sent: maandag 17 september 2012 13:05
To: Franckx Laurent
Cc: 'r-help@r-project.org'
Subject: Re: [R] LoadLibrary failure: : %1 is not a valid Win32 application
although arch x6
Dear all,
I have problems loading a library in the 64 version of R.
The following happens:
· I have a file, equildistC.cpp, which contains a few lines of C++ code.
· I have compiled the file using the following commands:
PATH =
c:\Rtools\bin;C:\Rtools\gcc-4.6.3\bin;C:\Rtools\
Problem solved, thanks.
I've used this instead: COSTaux_AVCAR <-
ddply(CARaux,c("SC","YEAR"),.fun = function(xx){sum(xx[ ,costcarin])})
-Original Message-
From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us]
Sent: donderdag 6 september 2012 1
Dear all,
I am encountering problems with the application of ddply within the body of a
self-defined function.
The script is the following:
moncostcarmoto <- function(costtype){
costaux_result <- data.frame()
for (purp in PURPcount){for (per in PERcount){
ectures, I had lost sight of
this specific point.
I can only confirm that, under Windows, the Rtools directories really, really
need to be put in front.
Van: Uwe Ligges [lig...@statistik.tu-dortmund.de]
Verzonden: dinsdag 14 augustus 2012 16:43
Aan: Franc
I should add to the previous mail that the installation has worked correctly
under Cygwin after I had deleted the following files in the source directory:
firstccfile.o and
secondccfile.o
However, this does not solve the problem under Windows.
-Original Message-
From: Franckx Laurent
in the "R
installation and administration" manual very clear on this specific point.)
I hope this is sufficient information to clarify the problem.
-----Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
Sent: maandag 13 augustus 2012 19:29
To: Franckx
Dear all
I am trying to build a package, and get the error message: ""packaging into
.tar.gz failed"".
I have also installed the same package directly from a locally created zip
file. In this case, the package is put correctly under C:\R\R-2.15.0\library.
However, when I check the package, I ge
I am currently running an R program on a computer with 16 Gb memory (Windows7,
64 bit). When I look at the task manager, I see that only 4 out of the 8 CPUs
are being used. Is this due to some missing in the R code, or should I change
something to the settings of the computer?
Laurent Franckx,
Dear all,
I am reading C++ code that is called in an R package. It is not clear to me
what SET_STRING_ELT, getAttrib, etc exactly do.
I understand that these are macros that have been declared in Rinternals.h and
who are used for the correct "translation" of the R data structures, but I have
n
Dear all
I have written a function, "calibrateCES", in which a function is called,
"BPGC", which was written in the enclosure of "calibrateCES". Until the most
recent version of my program, "calibrateCES" always used "BPGC" as planned.
Following a modification which does not affect "BPGC" direc
28 matches
Mail list logo