Displaying 20 results from an estimated 3000 matches similar to: "Calling C code from R"
2007 Feb 04
1
Fwd: Re: Calling C code from R
Hi!
Thanks in advance.
Thanks to all of you who have responded to me on above. This is one of the responses I received on above.
I have installed perl (with path C:\Perl\bin\;) an MinGW (with path C:\MinGW\bin; C:\MinGW;).
At the Command Prompt (C:\R-2.4.0\bin) I have typed:
C:\R-2.4.0\bin>Rcmd SHLIB useC1.c
(No error and useC1.dll file has not been created)
2009 Jun 02
1
C++ to R : 64bit to 32bit problem.
Hi,
I'm new to calling C++/C programs from R and am having some trouble getting
started. Following Sigal Blay (Simon Fraser University)'s instructions, I
have a .c file called "useC1.c":
/* useC1.c */
void useC(int *i) {
i[0] = 11;
}
This produces a .o file : "useC1.o" in a specified directory. I then open
R, set the proper directory and:
2011 Nov 03
3
Extract Data from Yahoo Finance
Hi R ?users,
?
I am using R-2.14.0 on Windows XP.
?
May I request you to assist me for the following please.
?
I like to extract all the fields (example: a : Ask, b : Bid, ??, w : 52-week Range, x: Stock Exchange) ?for certain period of time, say, 1 October 2011 to 31 October 2011.
?
Is there any R-Package(s) & any R- script please?
?
Once again, thank you very much for the time you have
2010 Nov 07
1
High Frequency Trading
Hi R users,
Thanks in advance.
I am using R 2.12.0 on Windows XP.
My objective is to construct algorithms for High Frequency Trading.
May I request you to provide me information such as packages or tools please.
Thank you very much for the time you have given.
Regards,
Deb
[[alternative HTML version deleted]]
2010 Sep 20
3
Composing Music - R Package
Hi R Users,
Thanks in advance.
I am using R-2.11.1 on Windows XP.
May I request you to assist me for the following please.
1. Is there any R-package or if any to compose music?
2. Is there any R-package or if any to analyse music?
Once again, thank you very much for the time you have given.
Regards,
Deb
[[alternative HTML version deleted]]
2009 Mar 12
4
Windows binary version of DPpackage
Dear R users,
Thanks in advance.
I am Deb, Statistician at NSW Department of Commerce, Sydney.
I am using R 2.8.1 on Windows XP.
This has reference to the package “DPpackage”. The binary version is
available on Mac OS, but I am using Windows XP.
May I request you to assist me in the followings:
How can I prepare Windows binary of DPpackage from source?
2. Is there any possibility
2011 Feb 10
2
Installing R on cygwin
Hi R users,
Thanks in advance.
Is it possible to install R on cygwin? If yes, can anyone assist me how can I install R on cygwin?
Currently, I am using R on Windows XP. I have found that binary version of some packages such as RCurl is not available.
Once again, thank you very much for the time you have given.
Regards,
Deb
[[alternative HTML version deleted]]
2010 Dec 02
1
Downloading quote data from yahoo finance
Hi R users,
Thanks in advance.
I am using R 2.12.0 on Windows XP.
May I request you to assist me in the following please.
1. I am getting error while downloading quote data from yahoo finance.
The example code is below (taken from tseries help):
library(tseries)
con <- url("http://quote.yahoo.com")
if(!inherits(try(open(con), silent = TRUE), "try-error")) {
2009 Sep 30
1
How to change e-mail address
Hi!
Thanks in advance.
I know this is not the right place to send this message. But I have tried to do so by sending e-mail to the addresses r-help-request@r-project.org and r-announce-request@stat.math.ethz.ch. But no success. I am getting messages such as "Your message to R-help awaits moderator approval".
I need your assistance on above.
I am an user of r-help. My e-mail
2009 Mar 31
2
To save Trellis Plots on A3 size paper (Portrait and Landscape)
Dear R users,
Thanks in advance.
I am Deb, Statistician at NSW Department of Commerce, Sydney.
I am using R 2.8.1 on Windows XP.
I like to save Trellis Plots on A3 size paper (Portrait and
Landscape).
Currently, I am using the following command to save a Trellis Plot in
pdf [This is an example code]:
pdf("D:/Analysis/test.pdf")
dataFile <- expand.grid(xo=
2006 Aug 07
3
Omega is fast, but not THAT fast
>Search took -125.376129 seconds
I double checked with a handheld stopwatch, and at no
point did the hands spin backwards.
Known problem?
2004 Jan 04
8
Grandstream Handytone 286 RTP Problems
I am trying to get the handytone 286 to make a very simple call to * and
having problems. It registers with * just fine, but when I place a call
(to echo test, for example), the RTP stream seems to have problems
opening. Here is there error I get in *:
WARNING[98311]: File chan_sip.c, Line 464 (retrans_pkt): Maximum retries
exceeded on call 20d1c411-e210-5f3d-3f88-19035c8fcb26@192.168.2.6 for
2012 Jun 01
4
[PATCH v3] virtio_blk: unlock vblk->lock during kick
Holding the vblk->lock across kick causes poor scalability in SMP
guests. If one CPU is doing virtqueue kick and another CPU touches the
vblk->lock it will have to spin until virtqueue kick completes.
This patch reduces system% CPU utilization in SMP guests that are
running multithreaded I/O-bound workloads. The improvements are small
but show as iops and SMP are increased.
Khoa Huynh
2012 Jun 01
4
[PATCH v3] virtio_blk: unlock vblk->lock during kick
Holding the vblk->lock across kick causes poor scalability in SMP
guests. If one CPU is doing virtqueue kick and another CPU touches the
vblk->lock it will have to spin until virtqueue kick completes.
This patch reduces system% CPU utilization in SMP guests that are
running multithreaded I/O-bound workloads. The improvements are small
but show as iops and SMP are increased.
Khoa Huynh
2017 Oct 10
2
small files performance
2017-10-10 8:25 GMT+02:00 Karan Sandha <ksandha at redhat.com>:
> Hi Gandalf,
>
> We have multiple tuning to do for small-files which decrease the time for
> negative lookups , meta-data caching, parallel readdir. Bumping the server
> and client event threads will help you out in increasing the small file
> performance.
>
> gluster v set <vol-name> group
2019 Nov 30
5
[PATCH nbdkit 0/3] filters: stats: More useful, more friendly
- Use more friendly output with GiB and MiB/s.
- Measure time per operation, providing finer grain stats
- Add missing stats for flush
I hope that these changes will help to understand and imporve virt-v2v
performance.
Nir Soffer (3):
filters: stats: Show size in GiB, rate in MiB/s
filters: stats: Measure time per operation
filters: stats: Add flush stats
filters/stats/stats.c | 117
2009 Sep 14
1
64-bit binary for Windows
Dear R Users,
Thanks in advance.
I am currently using R-2.9.1-win32.exe on Windows XP.
Is there any 64 bit binary on Windows XP?
Once again, thank you very much for the time you have given.
Regards,
Deb
******************************************************************************
This email message, including any attached files, is confidential and
intended solely for the use of
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
2012 Jul 28
1
[PATCH V4 0/3] Improve virtio-blk performance
Hi, Jens & Rusty
This version is rebased against linux-next which resolves the conflict with
Paolo Bonzini's 'virtio-blk: allow toggling host cache between writeback and
writethrough' patch.
Patch 1/3 and 2/3 applies on linus's master as well. Since Rusty will pick up
patch 3/3 so the changes to block core (adding blk_bio_map_sg()) will have a
user.
Jens, could you please
2012 Jul 28
1
[PATCH V4 0/3] Improve virtio-blk performance
Hi, Jens & Rusty
This version is rebased against linux-next which resolves the conflict with
Paolo Bonzini's 'virtio-blk: allow toggling host cache between writeback and
writethrough' patch.
Patch 1/3 and 2/3 applies on linus's master as well. Since Rusty will pick up
patch 3/3 so the changes to block core (adding blk_bio_map_sg()) will have a
user.
Jens, could you please