similar to: Fwd: Re: Calling C code from R

Displaying 20 results from an estimated 500 matches similar to: "Fwd: Re: Calling C code from R"

2007 Feb 01
2
Calling C code from R
Hi! Thanks in advance. I am using R-2.4.0 on Windows XP. I am trying to create dll file. My C code: /* useC1.c */ void useC(int *i) { i[6] = 100; } I have tried to create useC1.dll. C:\R-2.4.0\bin>R CMD SHLIB useC1.c 'perl' is not recognized as an internal or external command, operable program or batch file. Then I have tried:
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:
2009 Mar 29
1
Subscription request
Hello, I would like to subscribe to the mailing list. I already receive the daily digest, but for some reason I am not subscribed to the list, meaning any posts I make by replying to the e-mail digest have to be placed on the list by a moderator - incurring significant delay. Thanks, Michael [[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 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
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
2003 Apr 04
1
hypatia problems?
Dear all Off topic to some extent but Ted Harding has just called me to say he is (a) seeing large delays in the list messages when it is sent internally from hypatia.math.ethz.ch. I get only a delay of an hour which is reasonable in the scrap below but Ted reports delays of the order 24 hours, (b) messages he has sent to the list don't appear on it for a long time. Is anyone else
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=
2024 Apr 19
2
passing a modified argument to an S3 method
Is there a way to pass a modified argument from an S3 generic to a method? Here's a non-working example that I want to return "abcd". test <- function(x, y = NULL){ y <- "abcd" UseMethod("test") } test.default <- function(x, y = NULL) y test(x = 3) Is that possible? I've looked around a lot, but can't find any examples or
2005 Feb 08
2
Data manipulation
Content-Type: text/plain; charset="iso-8859-1" Received-SPF: none (hypatia: domain of hellik at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hypatia.math.ethz.ch id j186djX0017423 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
2004 Oct 08
2
Number of characters per line
Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received-SPF: none (hypatia: domain of tofesi at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch X-Spam-Level: * X-Spam-Status: No, hits=1.9 required=5.0
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 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
2007 Aug 15
4
Possible to "import" histograms in R?
Hi, I have a large amount of data that I would like to create a histogram of and plot and do things with in R. It is pretty much impossible to read the data into R, so I have written a program to bin the data and now have a list of counts in each bin. Is it possible to somehow import this into R and use hist(), so I can, for instance, plot the probability density? I have looked at the help page
2017 Sep 27
1
logic ops with zero-extent raw vectors
Hi, there was a change concerning logical operations about a year ago: https://github.com/wch/r-source/commit/9e19d3e3dd5f657b5cfefe562bdd7ede2e2b8786 It's related to a discussion on this list: https://hypatia.math.ethz.ch/pipermail/r-devel/2016-September/073068.html <https://hypatia.math.ethz.ch/pipermail/r-devel/2016-September/073068.html> A change in logic.c:134 influences the
2007 Oct 16
3
Updating R-Software without complete new installation
Hallo, as I see there is a new version for R available. Can anyone tell me how I can update my version 2.5.0 under Windows? The last times I just uninstalled the old version and installed the new one. Afterwards I had to install also all needed packages again. All in all it cost me half a day until my system works fine again. Is there a quicker option? If yes please tell me the commands. Thanks,
2004 Nov 23
1
Batch
Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received-SPF: none (hypatia: domain of claudiapaladini at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on hypatia.math.ethz.ch X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0
2007 Apr 26
3
adding a column to a matrix
i would like to add a variable to an existing matrix by manipulating 2 previous variables eg for the data m treat strata censti survTime [1,] 1 2 284.684074 690.4961005 [2,] 1 1 172.764515 32.3990335 [3,] 1 1 2393.195400 24.6145279 [4,] 2 1 30.364771 8.0272267 [5,] 1 1 523.182282 554.7659501 l
2007 Aug 21
2
Stacked Bar
Hi R Users! Thanks in advance. I am using R-2.5.1 on Windows XP. I am trying to do a stacked bar plot, but could not get through the following problem. The code is given below. 1. How can I provide 15 different colors for each method with 15 Rows? 2. How can I put the legend in a particular position (eg., in the top or bottom or right or left)? How can I put legend using a number