Displaying 20 results from an estimated 7000 matches similar to: "Executable Expressions II"
2012 Jan 18
5
Executable expressions
Given
a<-"c(1,2,3,4,5)"
How can I evaluate the variable a to return a (numeric) vector comprising of 1,2,3,4,5? Thanks.
[[alternative HTML version deleted]]
2012 Jul 09
1
Issue with installing RExcel
Hi community. I'm fairly new to R and have a basic question. When I try to
install RExcel with the code:
install.packages("RExcelInstaller", "rcom", "rsproxy")
I get the message below:
Warning in install.packages("RExcelInstaller", "rcom", "rsproxy") :
'lib = "rcom"' is not writable
Error in
2009 Feb 10
1
need help with installRExcel()
Struggled a whole day, but still could not get DCOM working on my machine.
What I did is:
1. Installed R 2.8.1 under folder "../R/R-2.8.1"
2. Installed R_Scilab_DCOM3.0-1B5 under folder ".. \R\(D)COM Server"
3. Installed packages: rscproxy_1.0-12, RExcelInstaller_3.0-10,
rcom_2.0-4...
4. run the following commands:
library(rscproxy)
library(rcom)
2008 Oct 07
1
LinkingTo on Windows
Dear List,
R packages may specify a "LinkingTo" attribute to specify dependencies to
the source code (mainly the header files) of other packages.
Unfortunately, it is not possible to also have a reference to the generated
library (.dll on Windows) of the other package. So including a header file
from another package to call an (exported) function will just not help.
I've tried
2009 May 03
2
clear screen?
I?ve been using this routine for several years. I?m sorry, I don?t remember
where I got it. It works as it should, viz. it blanks the R console. But
it requires package rcom and now that requires rscproxy.
cls <-
function ()
{
require(rcom)
wsh <- comCreateObject("Wscript.Shell")
comInvoke(wsh, "SendKeys", "\f")
invisible(wsh)
}
> cls()
2011 Apr 01
4
Rexcel path problem
Hi,
I am running a test to call an R script with in excel using VBA. My VBA
code is shown bellow. The middle section of this mail also includes the
content of my Rscript. The bottom part shows the error message form the
R console.
It seems that Excel is opening the R console without any problems.
The problem I am seeing is that Rinterface.RRun instruction is
interpreting the "\T"
2008 Dec 18
4
rscproxy version conflict
After installing the package 'rscproxy' downloaded from the CRAN server, I
get the following error message from R 2.8.0 about a version conflict :
package 'rscproxy' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\John Meerman\Local
Settings\Temp\RtmpbK9mxN\downloaded_packages
updating HTML package
2010 Nov 09
0
Problem on installing statconnDCOM and RBloomberg
Installation of rcom, statconnDCOM and RBloomberg
Hi folks,
Win7 64bit
R version 2.11.1 (2010-05-31)
Perform following steps to install rcom, statconnDCOM and RBloomberg
1) rcom installation
login Win7 as administrator and start R
> install.packages("rcom")
--- Please select a CRAN mirror for use in this session ---
also installing the dependency ?rscproxy?
trying URL
2013 Jan 15
1
Removing an attached object
Dear All,
I am a bit confused, I attached my data frame using 'attach(DATA)'
Then I removed it using 'rm(DATA)'
But for some reason it is still at position 2 at the search path
search()
[1] ".GlobalEnv" "DATA" "package:foreign"
[4] "package:stats" "package:graphics" "package:grDevices"
[7]
2013 Mar 28
1
question about attaching data
Hi I just would like to know,
When I have a dataframe, like this one called 'dummy'
And I attach it.
Then I run my code.
I then update the dataframe by making changes and I still call it 'dummy'.
I run my code again.
Now dummy is at position 1 and position 2 of the search path and if I run the code again, with another version of 'dummy' it updates and eventually my search
2008 Dec 31
1
cannot load package "splines"
Greetings R-Helpers:
I am trying to help a Chinese colleague who is experiencing difficulty
loading my package. He is running WindowsXP and the Chinese version of
R2.8.1.
As you can see from his screen-copy (below), my package is successfully
unpacked but cannot be loaded because splines balks when attempted to be
loaded. Package mh1823 requires package survival, which in turn requires
2011 Dec 23
3
Problem with RCOM package
Hi,
I am using R version 2.14.0 on windows 7. Trying to use RCOM
package and followed example provided at
(http://cran.r-project.org/web/packages/rcom/rcom.pdf) .
I am able to load the com object as seen in screenshot
2.png. however I am unable to invoke/get/set property to the object.
Please guide me on the same,
Regards;
Kumar Anand
2013 Sep 01
0
cannot install RExcel
I have followed the instructions according to:
http://rcom.univie.ac.at/download.html#RExcel
-- "You will have to install
. a suitable version of R (I have installed R 3.0.1, CRAN Amsterdam)
. a matching version of rscproxy
. statconnDCOM or rcom with statconnDCOM
Download RExcel 3.2.13
2005 Nov 08
3
The problem with rcom pakage
I have the problem with rcom 1.2.2 package. It does't work with R 2.2.0.
Is there any opportunities to correct the work of this package?
Thanks for your help.
Yulia
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 Mar 09
2
rcom package
Hi,
I would like to make a program that reads excel files, and writes the cells of which contents is not a formula to another file. I don't think this is possible with RODBC, but it may be possible with rcom.
I read the documentation of the rcom package, but I was hoping somebody knows a good web resource for more eleborate info. I tried Googling, but alas (did you know rcom also is a
2012 Mar 31
3
clear console
hi,
I use R - 2.15(32bit), and want to make a code to clear a console.
Actually, I used to run following code to do that but after update the
version of R from 2.14 to 2.15, it doesn't work.
cls <- function (t) {
require(RDCOMClient)
wsh <- COMCreate("Wscript.Shell")
wsh$SendKeys("\f")
invisible(wsh)
}
cls()
or
cls <-
2012 Jan 19
2
What is a 'closure'?
The "R Language Definition" at http://cran.r-project.org/doc/manuals/R-lang.html states in the following section
4.3.2 Argument matching
This subsection applies to closures but not to primitive functions.
What are 'closures'?
[[alternative HTML version deleted]]
2012 Jan 29
2
Data Structure to Code
Given:
data(AirPassengers)
I get a ts data structure AirPassengers in the workspace.
How can I generate the code that can create that structure? That is, given an example of a data structure, is there a way to generate the code that can greate that structure?
Alternatively, is there a reference that provides a list of dta structures together with a full list of theor respective attributes?
2010 Oct 24
1
140 packages in R Commander!!
Dear List
I just downloaded and installed R 2.12.0 and then installed R Commander .
First it got RCmdr and Car, and then suggested for other packages for
utilizing the full functionality- I clicked yes!
I got 140 packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list