Displaying 20 results from an estimated 700 matches similar to: "R.dll"
2012 Oct 28
5
Re-sizing qcow2 images
Hello All,
I am using Centos 6.3 with libvirt 0.910 and qemu-kvm 0.12
I had to resize a qcow2 disk, and came across several issues;
I used this command to resize the image:
sudo -i /usr/bin/qemu-img /var/lib/libvirt/images/mydisk.img resize
+100G . The disk is attached using virtio.
I then tried to use parted from within the guest to resize the partition.
The first problem was that the
2018 Feb 02
2
command line fails
I don't think it's the path or the slashes. I run other files in this same manner, with the same path to the script itself, and they go off without a hitch. Although this is the first time I am using 3.4.3, and the only script I am using that version of R for at the moment.
Having said that, I did TRY reversing the slashes and got the same result. :-)
Michael Ashton, CFA
Managing
2018 Mar 01
3
RExcel issues
Hi -
For a while I've used RExcel without problems to run a repeating portfolio optimization problem where I solve for a portfolio allocation targeting a particular risk, then solve for a different risk, etc. I call the commands with (e.g.) rinterface.Rrun "(R command)"
Recently that macro started blowing up, returning #RErrors, and when I try to trace the error I find that it is
2018 Feb 02
2
command line fails
Fascinating. The script runs fine in 3.2.5, but won't run in 3.4.3 even with ALL lines commented out.
I have no idea what that means. I can't imagine I found a 3.4.3 bug no one knows about.
Michael Ashton, CFA
Managing Principal
Enduring Investments LLC
W: 973.457.4602
C: 551.655.8006
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
Sent: Friday,
2018 May 03
4
adding overall constraint in optim()
Hi ?
This is giving me a headache. I?m trying to do a relatively simple optimization ? actually trying to approximate the output from the Excel Solver function but at roughly 1000x the speed. ?
The optimization parameters look like this. The only trouble is that I want to add a constraint that sum(wgt.vect)=1, and I can?t figure out how to do that in optim.
Mo.vect <-
2018 May 03
2
adding overall constraint in optim()
Thanks Bert. But everyone on that forum wants to use finance tools rather than general optimization stuff! And I am not optimizing a traditional Markowitz mean-variance problem. Plus, smarter people here. :-)
> On May 3, 2018, at 3:01 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
>
> You can't -- at least as I read the docs for ?optim (but I'm pretty
> ignorant
2018 Feb 02
4
command line fails
Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
There's probably a way to find out why rscript is failing, but I don't know it and can't seem to find it
2018 Mar 01
0
RExcel issues
> On Mar 1, 2018, at 2:02 PM, Michael Ashton <m.ashton at enduringinvestments.com> wrote:
>
> Hi -
>
> For a while I've used RExcel without problems to run a repeating portfolio optimization problem where I solve for a portfolio allocation targeting a particular risk, then solve for a different risk, etc. I call the commands with (e.g.) rinterface.Rrun "(R
2018 Feb 02
0
command line fails
On 02/02/2018 8:20 AM, Michael Ashton wrote:
> I don't think it's the path or the slashes. I run other files in this same manner, with the same path to the script itself, and they go off without a hitch. Although this is the first time I am using 3.4.3, and the only script I am using that version of R for at the moment.
>
> Having said that, I did TRY reversing the slashes and
2017 Jun 23
2
Simple control structure issue
I am having a hard time with 'next'. I come from the "sloppy" school that learned BASIC with Goto.
Conceptually next seems pretty straightforward. I just can't get it to work correctly in my code. Here's a stripped down version:
WhichRunNow<-"Daily"
Cnums=c(0,1,"2b3")
Cpers=c("Daily","Daily","Weekly")
for (j in
2017 Jun 23
0
Simple control structure issue
R is a case-sensitive language: 'if' (lowercase 'i') is a keyword and 'If'
(uppercase 'I') is not.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jun 23, 2017 at 1:00 PM, Michael Ashton <
m.ashton at enduringinvestments.com> wrote:
> I am having a hard time with 'next'. I come from the "sloppy" school that
> learned BASIC with
2018 May 04
0
adding overall constraint in optim()
On Thu, May 3, 2018 at 2:03 PM, Michael Ashton
<m.ashton at enduringinvestments.com> wrote:
> Thanks Bert. But everyone on that forum wants to use finance tools rather than general optimization stuff! And I am not optimizing a traditional Markowitz mean-variance problem. Plus, smarter people here. :-)
>
I'm very confused by these statements. Most of the "finance tools"
2018 Feb 02
0
command line fails
On 2/2/2018 4:52 AM, Michael Ashton wrote:
> Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
>
> There's probably a way to find out why rscript is failing,
2018 May 06
1
adding overall constraint in optim()
Hi Michael,
A few comments
1. To add the constraint sum(wgt.vect=1) you would use the method of
Lagrange multipliers.
What this means is that in addition to the w_i (the components of the
weight variables) you would add an additional variable, call it lambda.
Then you would modify your optim.fun() function to add the term
lambda * (sum(wgt.vect - 1)
2. Are you sure that you have defined
2010 Jul 07
1
SAM program and R mirror - which port to open?
To whom this may concern,
I am having issues installing a program called "SAM" (Statistical Analysis of Microarrays) which is an excel add in and requires the use of R. Due to the firewall at my hospital, R cannot connect to a mirror and therefore cannot install necessary files for the complete installation of SAM. The IT department has asked me which "port" needs to be opened
2018 May 03
0
adding overall constraint in optim()
You can't -- at least as I read the docs for ?optim (but I'm pretty
ignorant about this, so maybe there's a way to tweak it so you can).
See here: https://cran.r-project.org/web/views/Optimization.html
for other R optimization capabilities.
Also, given your credentials, the r-sig-finance list might be a
better place for you to post your query.
Cheers,
Bert
Bert Gunter
2018 Feb 02
0
command line fails
On 02/02/2018 7:52 AM, Michael Ashton wrote:
> Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
>
> There's probably a way to find out why rscript is
2004 Sep 10
1
[Flac-users] Winamp 3 plugin
Hi all,
I've installed the Winamp 2 plugin and it seems to work fine. However
I wish to install the Winamp 3 plugin on another machine but can't find it
anywhere. Where is it?
Thanks
Ashton
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
2008 Apr 22
1
Comparing kendall's tau values?
I have 3 variables relating to the successful introductions of species
to 95 different areas: introduction frequency; number of successes pre
1906; number of successes post 1906
The data are not normal, nor homo-skedatic, so I am using non-parametric
statistics.
I have calculated Kendall's tau between both introduction & successes
pre 1906 (tau=0.3903) and introduction & successes
2012 Apr 13
4
Help with stemDocument
Hi, All:
I am new to R and tm package. I'm trying to do the stemming using tm_map()
and it doesn't seem to work:
*I used:*
> stemDocument(t_cmts[[100]])
*Where t_cmts is the corpus object, the results is:*
bottle loose box abt airpak sections top plastic bottle squashed nearly
flush neck previous shipments bottle wrapped securely bubble wrap wno
bottle damage packaging poor