Displaying 20 results from an estimated 800 matches similar to: "R and microsoft"
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
2010 Nov 22
4
Rexcel
Hello I am new to RExcel and I would like to run a source code form the
excel worksheet. I would like to run the following code
source("C:\\Quantil Aplicativos\\Genercauca\\BackwardSelectionNC.r")
from the excel wroksheet. Does anybody know how to do this?
Thank you
Felipe Parra
[[alternative HTML version deleted]]
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
2003 May 15
2
Unable to load lapack.dll when using RExcel add-in
I am having trouble using R routines from the RExcel add-in, that use lapack.dll. As an example if I start the R kernel from within Excel and execute
"x<-rbind(c(1,2),c(1,-1))
z<-solve(x)",
I get the following error:
"Error in solve.default(x): lapack routines could not be loaded.
In addition: Warning message:
unable to load shared library "C:\Program
2009 Aug 31
1
RE xcel - two problems - Running RExcel & Working Directory error
Hi,
I am using RExcel both at work and at home and am facing a couple of
challenges. The one at home is that when using RExcel and trying to run any
code that involves changing the working directory, I get the following
error.
Error in command:
setwd("C:\\Raoul\\R\\R Maps_UK Maps_Test\\NUTS_03M_2006_SH\\shape\\data")\n
cannot change working directory
The one at office is more
2004 Nov 14
1
overflow in RExcel (PR#7368)
Full_Name: Isto Aho
Version: 2.0.0
OS: Windows XP
Submission from: (NULL) (80.186.9.143)
Hi,
The bug can be reproduced as follows. Install R 2.0.0 and RExcel.
Take an excel sheet having 65000 rows and 11 columns, integer values.
Give the 'context' command 'put R val' for the large enough selection
of rows. (I didn't check, how many are needed, but it seems that
10000 rows
2013 Aug 22
1
Rexcel
Hello,
I must tell you once again to address your questions to
r-help at r-project.org
And since there was no subject line, I've made up one.
Your question seems to be a question about excel, and I really can't
help you. Maybe someone else can.
But if you write.table(etszP) can't you read that file into excel?
Rui Barradas
Em 22-08-2013 15:57, siddhartha.geddam at eclerx.com
2011 Apr 27
2
Writing Macros for RExcel
I have columns of data in Excel 2007, A2:A196, B2:B196...ET2:ET196 that I
would like to place into arrays in R. I have been trying to write a macro
that would automatically create all of my arrays for me with a array names
coming from the cells A1, B1, etc.
I can manually create an array using RExcel<Put R Var< Array, but I don't
want to manually create all 150 arrays this way.
Thanks
2012 Nov 25
2
RExcel, ROOo and LibreOffice inquiry
Dear all
I'd like to give RExcel a decent spin, mainly to take advantage of
Excel's data management facilities and automatic recalculations.
However I cannot use this Windows-only solution on the platform of my
choice, Linux.
Alternatively I've been considering the cross-platform ROOo, the
OpenOffice equivalent of RExcel, but in this case the problem is that
the only release available
2011 Aug 10
1
RExcel
Hi list,
I used to work with RExcel in excel 2003. Now in 2007, I tried the same
RExcel, but it did not work. I got R version 12. I downloaded/installed the
latest version of RExcel 3.2.0 from http://sunsite.univie.ac.at/rcom/. It
has added the RExcel add-ins, but when I click on starting R in add-ins, I
get the following sequentional errors:
Errors:
SCtools not available
SCTools can not be
2009 Jan 30
1
run query using rexcel runrfile and rodbc sql query
Hi,
I'm using R-2.8.1 for windows. I wrote a script calls the RODBC
package to run sql queries against an oracle database. It runs fine
when run from the rconsole and returns a data.frame with a summary for
a set of experiments. I want to run this script using the
rinterface.RunRFile command in an excel plugin, using the rexcel
package. When I run the code from my excel plugin I
2012 Oct 27
1
help install RExcel
Hello,
I just installed RExcel but I have some problems. I am writing you the set
of commands that I used:
> install.packages("RExcelInstaller", "rcom", "rsproxy")
> library(rcom)
> comRegisterRegistry()
> library(RExcelInstaller)
> installstatconnDCOM()
> installRExcel()
But when I select RStart from add-ins I see this written "No R server
2011 Aug 11
1
Capture R-Console Output to Excel with RExcel
Hello All
I've just started to use RExcel instead of CMD Batches. But I don't get
the console output to an data.frame and push to Excel.
With the CMD batch you got the console out relatively easy with
C:\LocalData\R\bin\R CMD BATCH --slave %rscript% %logfile%
to a file. But how can I get it to Excel with RExcel an VBA?
Thanks,
Dario
[[alternative HTML version deleted]]
2010 Apr 18
2
how to use Excel VBA's Shell() to call and execute R file
I have an R file R_test.R saved in C:\R_test folder. The R_test.R looks like
this:
setwd("C:/R_test")
rnorm(100)
write(rnorm(100),"data.txt")
q(save="no", runLast = F)
Next I would like use an Excel VBA/macro Shell() function to call R and
execute R_test.R file. The syntax is *Shell(pathname*[*,windowstyle*]*)*
I wrote an Excel macro RunRcode like this:
Sub
2010 Oct 13
5
Regular expression to find value between brackets
Hi,
this should be an easy one, but I can't figure it out.
I have a vector of tests, with their units between brackets (if they have
units).
eg tests <- c("pH", "Assay (%)", "Impurity A(%)", "content (mg/ml)")
Now I would like to hava a function where I use a test as input, and which
returns the units
like:
f <- function (x) sub("\\)",
2012 May 21
16
Contactos en Madrid-ayuda con instalación
Hola a todos,
Mi nombre es Juanjo. Llevo un tiempo intentado hacer funcionar un programa
que necesita de la instalación de RPROJECT y REXCEL. He mirado varias guías
e instalado los programas pero obtengo varios errores.
El principal es que tras instalar RProject, Rexcel y statcon y al intentar
correr esta macro desde Visual Basic…
Sub Start()
RInterface.StartRServer
2008 Apr 19
7
Re ad From EXCEL
Hello!!!
I have been read a much about as read data from Excel File, but I haven?t
found the necesary information to read the data.
Now, I can create a channel : channel <- odbcConnectExcel("file.xls") but I
don?t know as read the data??
I hope that you could help me. Thank you very much.
--
View this message in context:
2007 Dec 07
4
Using R function in Excel
Does anyone know a way that an function written in R can be called within a cell of an Excel spreadsheet. I would like to use the R function much as I use the native Excel functions, e.g. instead of using the excel function sum, =sum(A2,A6), I would like to use the function mysum written in R, e.g. =mysum(A2,A6).
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
2010 Mar 14
1
R-Excel Macro Problem
Hi, I was trying to run your code in my VBA editor, however could not
succeed. The execution stumbled in the line "Call Rinterface.StartRServer"
itself. I have RCOM package installed into my R environment. Do I need to
install anything else to run that? Would guys here guide me?
Thanks
--
View this message in context: http://n4.nabble.com/R-Excel-Macro-Problem-tp858831p1592196.html
2010 Feb 22
1
RExcel + RCOM + Linux
Dear all,
does anyone know if it is possible to connect a Windows RExcel
instance to a linux R instance?
Within Rexcel, I find the option "Remote Server Address", but I
wonder what the installation procedure on my linux (ubuntu) R looks
like (if possible at all)?
Thanks
Philipp