Displaying 20 results from an estimated 11000 matches similar to: "How can I use R-function in My C++ project ?"
2014 Oct 22
0
How can I use R-function in My C++ project ? (using optim)
As the author of 3 of the 5 methods in optim, I think you may be wasting
your time if this is for performance. My reasons are given in
http://www.jstatsoft.org/v60/i02
Note that most of the speed benefits of compilation are found in the
objective and gradient function, with generally more minor improvements
in the method.
JN
On 14-10-22 06:00 AM, r-devel-request at r-project.org wrote:
>
2007 Nov 05
1
deploy ruby on rails application by mongrel
1.download ruby-one click for windows from www.ruby-lang.org? set up.
2.run command:
gem install rails --include-dependencies (success)
3.set up mongrel:
gem install win32-service(pick the most recent one)
gem install mongrel (pick the win32 pre-built)
gem install mongrel_service
all of the above were successful.
then i creat an empty folder "d:\myapp",run the command:
2010 May 12
2
How to extract sum of particular months in a monthly data series
Dear Users,
I have a monthly data for a number of years(1960-2007) for a number of
stations and i wish to extract sesonal time-series for the months of
March-May and October-November for very station. I have read this data with
read.table in R with stations as columns and time (months) as rows. My
attempt to aggregate with the zoo package using the function as.yearqtr
failed since this sums
2010 Apr 21
4
Converting daily data series to monthly series
Hi Users,
I have daily series of data from 1962 - 2000, with the data for February
29th in leap years excluded, leaving 365 daily values for each year. I
wish to convert the daily series to monthly series. How can I do this using
the zoo package or any other package?
Thanks
ZABLONE OWITI
GRADUATE STUDENT
Nanjing University of Information, Science and Technology
College of International
2018 Jul 20
2
[cfe-dev] LLVM Social in China - Hangzhou: July 28, 2018
FYI they organize this kind of stuff throughout the years in different cities. Not sure about Nanjing but I did see one in Shanghai
Zhang
> 在 2018年7月20日,10:40,Shi, Steven via llvm-dev <llvm-dev at lists.llvm.org> 写道:
>
> Is there similar social party in other Chinese cities? Like Shanghai, Nanjing?
>
> Thanks
> Steven Shi
>
>> -----Original Message-----
2010 May 07
2
How to re-arrange data in R
Dear users,
I have monthly station data (44) stations data for 45 years which I have
read in R using read.table. the data is in the format:
Year Month Station1 Station2 ......................................
Station 44 (i.e the column names in the 1st row), I also have the
latitude and longitude of the stations in a separate file in R (in the
format : Station LAT LON).
I wish to
2004 Aug 03
4
How to select a whole column? Thanks!
Dear all,
I hope to remove a whole column from a data frame or matrix (> 2000
columns). All value in the column are same. The first thing is to
select those columns.
For instance, I hope to remove the V3~6 column, for all the value in
those colume is zero.
V3 V4 V5 V6 V7 V8 V9 V10
1 0 0 0 0 0.000 0.000 0.000 0.000
2 0 0 0 0 0.000 0.000 0.000 0.000
3 0 0 0
2004 Aug 04
1
What's ``impres''?
Dear all,
In one S+ program, I found the following code.
if (impres) cat("blah blah blah \n")
Would someone here like to tell me what's the counterpart in R to
impres in S+?
Thanks in advance!
Best wishes,
Jinsong
=====
(Mr.) Jinsong Zhao
Ph.D. Candidate
School of the Environment
Nanjing University
22 Hankou Road, Nanjing 210093
P.R. China
E-mail: jinsong_zh at yahoo.com
2010 Apr 11
1
Adding country boundaries on field map plots
Hi R users,
What is the command for adding (or how do we add) country boundaries on
r-spatial plots.
Thanks
ZABLONE OWITI
GRADUATE STUDENT
Nanjing University of Information, Science and Technology
College of International Education
Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China
Website: www.nuist.edu.cn
====================================================
[[alternative
2010 May 27
3
How to combine data columns to a single column
Dear users,
I have several columns of data (each column containing monthly data for a
particular year from january - december) . I would wish to combine the
columns to get a Single column of continuous data as shown in (b) below. I
have read this data as table in R
(a) Data example
Year 1903 1904 1905 1906 Jan 125.0 30.0 113.0 5.0 Feb
128.0 100.0 70.0 388.0
2004 May 26
3
Using R in C++
Hello,
Is it possible to use R functions (in my case: ks.test()) from C++
-applications? That is, I get the impression R can execute C/C++ code, but
is there any possibility to do the opposite? Where can I find help?
-------------------------------------------
Ph. D. J??rgen Wallerman
Swedish University of Agricultural Sciences
Remote Sensing Laboratory
S901 83 UME??
2001 Dec 17
2
Indole
Dear Manager:
Thanks in advance for your interest,
We mainly produces are Indole series (indole, 3,3'-Methylenebisindole ,
5-methoxy indole)
Indole >99%
POWDER loss on drying: 1%
white slight yellow crystalline powder
CRYSTAL melting point: 51-53
loss on drying: 0.5%
white sheetform crystal
2007 Jul 20
3
binned column in a data.frame
Dear all,
I would like to know how can I create a binned column in a data.frame. The output that I would like is something like this:
Start Binned_Start
1 0-5
2 0-5
6 5-10
8 5-10
13 10-15
...
Best regards
João Fadista
Ph.d. student
UNIVERSITY OF AARHUS
Faculty of Agricultural Sciences
Dept. of Genetics and Biotechnology
Blichers
2007 Mar 23
2
concatenate 2 data.frames
Dear all,
I would like to know how can I concatenate 2 data.frames into a single one. Both data frames have the same number of columns and the same class type in each correspondent column. So what I want is to have a new data.frame where I have first the values from one data.frame and then the values from a second data.frame would came after in this new data.frame.
Thanks in advance.
Med
2007 Jul 18
2
remove columns having a partial match name
Dear all,
I would like to know how can I retrieve a data.frame without the columns that have a partial match name. Let´s say that I have a data.frame with 200 columns and 100 of them have the name "StartX", with X being the unique part for each column name. I want to delete all columns that have the name starting with "Start". I´ve tried to do this but it doesn´t work:
>
2008 May 04
1
(no subject)
Dear R users,
I have a question about R installation under Cygwin. Which versionof R should I download ,linux or windows? If linux ,which release should I download? Thanks a lot!
Jiansheng Wu
PhD Candidate of State Key Laboratory of Bioelectronics Southeast University,
Nanjing, 210096, China
Tel 86-25-83790881
Email: js_wu@seu.edu.cn
[[alternative HTML version deleted]]
2010 Dec 09
1
problem on Matrix package~~
Hi,all!
I encountered a problem "not-yet-implemented method for <list> %*%
<dgCMatrix>" when I tried "diagr %*% design_mat", where
"diagr<-diag(vr,100)", vr is a vector with 100 elements, and design_mat is a
sparse matrix with dimension 100*677000 constructed by calling
sparseMatrix().
I am new to the Matrix package, so I am confused with this, and I
2010 Jan 16
1
Hierarchical Linear Model using lme4's lmer
Hi,
I was wondering: I've got a dataset where I've got student 'project's
nested within 'school's, and 'division' (elementary, junior, or
senior) at the student project level. (Division is at the student
level and not nested within schools because some students are
registered as juniors & others as seniors within the same school.)
So schools are random,
2008 Apr 08
4
permutation test assumption?
Dear all,
Can I do a permutation test if the number of individuals in one group is much bigger than in the other group? I searched the literature but I didin´t find any assumption that refers to this subject for permutation tests.
Best regards
João Fadista
Ph.d. student
UNIVERSITY OF AARHUS
Faculty of Agricultural Sciences
Dept. of Genetics and Biotechnology
Blichers Allé 20, P.O.
2010 Jul 26
1
Optimization problem with nonlinear constraint
Dear all,
I'm looking for a way to solve a simple optimization problem with a
nonlinear constraint. An example would be
max x s.t. y = x * T ^(x-1)
where y and T are known values.
optim() and constrOptim() do only allow for box or linear constraints,
so I did not succedd here. I also found hints to donlp2 but this does
not seem to be available anymore.
Any hints are welcome,