Re: [Rd] Use GPU in R with .Call

2012-07-22 Thread Norm Matloff
[Sorry, originally sent to wrong list.] I'm not exactly sure what you are asking, Raymond, but this may answer your question. Say you have a file x.cu. After compiling with nvcc -c as you did, then do something like this: setenv PKG_LIBS "-L/usr/local/cuda/lib -lcudart" R CMD SHLIB x.o -o x.so

Re: [Rd] Reading many large files causes R to crash - Possible Bug in R 2.15.1 64-bit Ubuntu

2012-07-22 Thread Duncan Murdoch
On 12-07-22 3:54 PM, David Terk wrote: I am reading several hundred files. Anywhere from 50k-400k in size. It appears that when I read these files with R 2.15.1 the process will hang or seg fault on the scan() call. This does not happen on R 2.14.1. The code below doesn't do anything other t

Re: [Rd] Reading many large files causes R to crash - Possible Bug in R 2.15.1 64-bit Ubuntu

2012-07-22 Thread Joshua Ulrich
Cross-posted on Stack Overflow: http://stackoverflow.com/q/11596747/271616 -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com On Sun, Jul 22, 2012 at 2:54 PM, David Terk wrote: > I am reading several hundred files. Anywhere from 50k-400k in size. It > appears that

[Rd] Reading many large files causes R to crash - Possible Bug in R 2.15.1 64-bit Ubuntu

2012-07-22 Thread David Terk
I am reading several hundred files. Anywhere from 50k-400k in size. It appears that when I read these files with R 2.15.1 the process will hang or seg fault on the scan() call. This does not happen on R 2.14.1. This is happening on the precise build of Ubuntu. I have included everythin

Re: [Rd] Use GPU in R with .Call

2012-07-22 Thread Raymond
Thank you--Brian for your reponse. I am really curious about how to compile GPU with R. I know it can be hard to learn, but still I want to program it by myself. -- View this message in context: http://r.789695.n4.nabble.com/Use-GPU-in-R-with-Call-tp4637333p4637356.html Sent fr

[Rd] Announce Jenkins R Plug-in

2012-07-22 Thread Bruno P. Kinoshita
Hi all, I would like to announce that Jenkins continuous integration server has now an R plug-in [1]. Thanks for all your work on this great programming language. Keep up with the good work :-)  All the best, [1] https://wiki.jenkins-ci.org/display/JENKINS/R+Plugin Bruno P. Kinoshita http:/

Re: [Rd] Use GPU in R with .Call

2012-07-22 Thread Brian G. Peterson
On 07/21/2012 06:35 PM, Raymond wrote: Hi All, I am a newbie to GPU programming. I wonder if anyone can help me with using GPU in .Call in R. Basically, I want to write a function that calcuates the sum of two double type vectors and implement this using GPU. My final goal is to m

[Rd] callGeneric(...) and lazy evaluation

2012-07-22 Thread Michael Lawrence
There seems to be an issue with passing "..." to callGeneric(), because it assumes that the call can be evaluated in the parent frame. Due to lazy evaluation, that is often not going to work for arguments that are simply passed down via "...". Here is an example: setClass("A", contains = "charact