Displaying 20 results from an estimated 2000 matches similar to: "R-beta: matrix multiplication not Fortran"
1998 May 14
1
R-beta: ctrl-c
A non-text attachment was scrubbed...
Name: not available
Type: text
Size: 668 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980514/af07cf17/attachment.pl
2007 Jul 04
2
problem with findFun call from embedded R
I was debugging a problem reported to me regarding PL/R, and found that
I can duplicate it using only R sources. It might be characterized as
possibly a misuse of the findFun() function, but I leave that for the R
devel experts to decide.
The below results are all with R-2.5.1 (I can't seem to download
r-patched at the moment, but didn't see anything in the 2.5.1-patched
release
2015 Aug 21
0
Problems with embedded R, ReplDLL
Along with getting pqR to work on Windows, I've also been testing it
in the context of embedded R, and in the process have found some
problems with the examples given of embedded R use.
One problem can be seen in R_ReplDLLinit, in src/main/main.c:
void R_ReplDLLinit(void)
{
SETJMP(R_Toplevel.cjmpbuf);
R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
2006 May 25
1
compiling tests/Embedding
I am compiling the Embedding examples in the tests directory and get an
undefined reference. I include the make output as well as grep'd output
of nm on libR.so and compiler and arch information. Do I have an
improperly built R shared library or is there a problem with the
Embedding tests or something else I am not seeing?
Thanks for any help!
George
ost at
2016 Oct 26
3
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
Thank you for the feedback and confirmations. Interesting to see that
it's also reproducible on macOS expect for Spencer; that might
indicate a difference in builds.
BTW, my original post suggested that timeout error was for sure
detected while running Sys.sleep(10). However, it could of course
also be that it is only detected after it finishes.
For troubleshooting, the
2006 Apr 01
1
Sys.sleep() burns up CPU on Solaris 8
I noticed that R was burning up 100% of a CPU when a call to Sys.sleep()
was made. Upon investigation, I discovered that R_checkActivityEx() in
src/unix/sys-std.c was putting the entire timeout (in usec) into the
struct timeval tv_usec member, leaving tv_sec set to 0.
I don't know about other unix variants, but Solaris requires that the
timeout value be normalized (i.e. 0 <= tv_usec
2009 Jan 16
1
interrupting R from a GUI
list(...),
I am looking for a way to interrupt R from a callback: specifically,
to interrupt plotting (typically on a cairoDevice, but would be good
if it worked with other devices too). Of course, one can interrupt R
nicely from the console with Ctrl-C (or Esc in Rgui), but I need to do
it from a GUI. Callbacks run in a new thread, so obviously stop() etc
will not work. I tried to look into how
2016 Oct 27
2
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
On unix, unless event polling is enabled Sys.sleep just waits in a
select() call (with a SIGINT handler in place) so the elapsed time
isn't checked until after the select call is complete. Rstudio uses
event polling, and in particular sets R_wait_usec to 10000, which
means event and interrupt checks happen during a Sys.seep call. The R
GUI on macOS doesn't seem to do this (but my lldb
2000 Nov 07
0
error handling
Hello R developers,
Platform: Windows 2000.
Compiler: GNU GCC - 2.95.2 (CRTDLL)
I have a C function for evaluating commands using eval(SEXP,SEXP) which is
included in a personal make of R.dll. (Similiar to R_Proxy_evaluate() in
rproxy_impl.c) Using SETJMP to catch errors works but there is a problem.
For example, the following code:
if (SETJMP(R_ToplevelContext->cjmpbuf)) //
2009 Apr 14
0
top level condition handlers
Hello,
I would like to establish top level condition handlers and restarts, so
that I don't explicit calls to withCallingHandlers and withRestarts in
many places:
For example :
> customError
function( message ){
err <- simpleError( message )
class( err ) <- c( "customError", class( err) )
err
}
> withCallingHandlers( { signalCondition(customError(
2016 Oct 31
1
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
On Mon, 31 Oct 2016, Henrik Bengtsson wrote:
> Thank you for looking into this Luke.
>
> On Thu, Oct 27, 2016 at 9:26 AM, <luke-tierney at uiowa.edu> wrote:
>> On unix, unless event polling is enabled Sys.sleep just waits in a
>> select() call (with a SIGINT handler in place) so the elapsed time
>> isn't checked until after the select call is complete.
1998 May 11
1
R-beta: C/Fortran function not in load table
I have gotten this sort of problem some weeks ago and have solved it
with the mailing list archive. But now I have this problem again with
the class library.
What should I put in library/class/R/zzz.R? Everything I put in that
file leads to the same error message. I'm running 0.61.3 on Linux.
> knn1(train, test, cl)
Error in .C("VR_knn1", as.integer(ntr), as.integer(nte),
2016 Oct 26
5
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
setTimeLimit(elapsed=1) causes a timeout error whenever a call takes
more than one second. For instance, this is how it works on Windows
(R 3.3.1):
> setTimeLimit(elapsed=1)
> Sys.sleep(10); message("done")
Error in Sys.sleep(10) : reached elapsed time limit
Also, the error propagates immediately and causes an interrupt after ~1 second;
> system.time({ Sys.sleep(10);
2015 Feb 15
0
freenas USB connection error
On Feb 14, 2015, at 2:43 PM, J Neethling <jneethling at webmail.co.za> wrote:
> 67611 blazer_usb CALL write(0x2,0x7fffffffd2a0,0xc)
> 67611 blazer_usb GIO fd 2 wrote 12 bytes
> " 0.280697 "
> 67611 blazer_usb RET write 12/0xc
> 67611 blazer_usb CALL write(0x2,0x7fffffffd2a0,0x35)
> 67611 blazer_usb GIO fd 2 wrote 53 bytes
>
2009 Sep 30
6
new variable
Dear Arnaud,
Now I started to write a driver that simulates continous power breaks.
(E.g. in every 30 minutes.)
This could be used for testing of setup of client upsmons.
I have to simulate a behaviour of a real UPS. The physical model
contains an extra attribute: the charging current that needed to compute
recharge time and actual battery charge during the recharge process.
Can we call this
2009 Sep 30
6
new variable
Dear Arnaud,
Now I started to write a driver that simulates continous power breaks.
(E.g. in every 30 minutes.)
This could be used for testing of setup of client upsmons.
I have to simulate a behaviour of a real UPS. The physical model
contains an extra attribute: the charging current that needed to compute
recharge time and actual battery charge during the recharge process.
Can we call this
1998 Jul 26
1
R-beta: building libraries on Win95
I am using rw0613b with djtools on Win95.
No problem with makefiles building fortran and C dll's, plus can build
R.exe with the supplied libraries (including mva).
Why then do I get the following error when I try to building an existing
library separately, eg...
(/R-0.61.3/src/gnuwin32)$ make -f MakePkg -C ../library/mva PKG=mva
make.exe: Entering directory `c:/R-0.61.3/src/library/mva'
2007 Mar 15
2
flock problems with index files and passwd-file
While experimenting a bit, I found that for some reason, locking indexes
with flock is problematic, but only if user is taken from passwd-file.
The host system is openbsd 3.9, dovecot's configuration is added at the
bottom.
Authentication is from two places - first from mentioned passwd-file,
then from passwd file using bsdauth (in this case, there're no problems
with flock). So, if
1998 Jun 09
1
R-beta: R-beta makefile
>This mean that the specs file of Cygnus gcc is different from the
>mingw32 one.
OK thanks
(I added main() {} as per FAQ and I got the dynload to build a dll ok)
I am also interested in building the R sources as per your descriptions.
To simplify things, I have removed b18 cygwin and have now installed
egcs-mingw32 with your djtools as recommended.
Everything seems to work OK; tools that
2011 Feb 06
2
Fortran and long integers
Hi all,
I'm hoping someone more knowledgeable in Fortran than I can chime in
with opinion.
I'm the maintainer of the flashClust package that implements fast
hierarchical clustering. The fortran code fails when the number of
clustered objects is larger than about 46300. My guess is that this is
because the code uses the following construct:
IOFFSET=J+(I-1)*N-(I*(I+1))/2
where N is the